
Extract player statistics from a particular team and season
Source:R/player_season_stats.R
player_season_stats.Rd
The NCAA's main page for a team includes a tab called "Team Statistics". This function extracts the table of player statistics for the season, as well as team and opponent statistics (though these can be omitted).
Arguments
- team_id
Team ID determined by NCAA for season. To find ID, use
find_team_id()
.- team_stats
Logical indicating whether to include (TRUE) or exclude (FALSE) team statistics. Default includes team statistics with player statistics.
Value
Returns a data frame of player statistics. Note that hometown and high school were added in 2024.
Note
This function requires internet connectivity as it checks the NCAA website for information.
See also
Other functions that extract player statistics:
player_match_stats()