Skip to contents

This function fetches and cleans NBA player stats for a specified season and all measure types.

Usage

fetch_player_stats(season, season_type, measure_type)

Arguments

season

A numeric value representing the season (e.g., 2024).

season_type

A character string specifying the type of season (e.g., "Regular Season").

measure_type

A character string specifying the measure type (e.g., "Base").

Value

A data frame with cleaned NBA player stats.