Learn R Programming

cbbreadr (version 1.0.2)

load_teams: Load cbb teams

Description

Pull in information on all teams that played in a given season.

Usage

load_teams(seasons = most_recent_season())

Value

a dataframe of all college basketball teams tracked by collegebasketballdata.com for a given season(s).

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_teams.html for a web version of the data dictionary

dictionary_teams 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_teams()
})
# }

Run the code above in your browser using DataLab