Learn R Programming

cbbreadr (version 1.0.2)

load_player_stats: Load cbb player stats

Description

Pull in statistics aggregated by player for specified season(s)

This data includes both traditional box score stats (such as points, OREB, AST) as well as more advanced stats (such as USG%, ORTG). For more information on each stat, see the data dictionary dictionary_player_stats.

Usage

load_player_stats(seasons = most_recent_season())

Value

a dataframe of player statistics for college basketball players

Arguments

seasons

an integer or vector of integers of seasons to fetch data for. Defaults to the most recent season. Pass in TRUE to fetch all seasons.

See Also

https://john-b-edwards.github.io/cbbreadr/articles/dictionary_player_stats.html for a web version of the data dictionary

dictionary_player_stats for the data dictionary as bundled within the package

Issues with this data should be filed here: https://github.com/john-b-edwards/cbbd-data/issues

Examples

Run this code
# \donttest{
try({ # avoid cran errors
load_player_stats()
})
# }

Run the code above in your browser using DataLab