Get Simple Rating System (SRS) ratings from the CollegeBasketballData API.
Get adjusted efficiency ratings from the CollegeBasketballData API.
Get Elo ratings from the CollegeBasketballData API.
Usage
cbbd_ratings_srs(
season = most_recent_mbb_season(),
team = NULL,
conference = NULL
)
cbbd_ratings_adjusted(
season = most_recent_mbb_season(),
team = NULL,
conference = NULL
)
cbbd_ratings_elo(
season = most_recent_mbb_season(),
team = NULL,
conference = NULL
)Arguments
- season
(integer optional): Season, 4-digit ending-year (e.g.
2024). Defaults tomost_recent_mbb_season().- team
(character optional): Team name filter (e.g.
Duke).- conference
(character optional): Conference abbreviation filter.
Value
A hoopR_data tibble with one row per team-season.
Its columns are listed in return_columns
(subset(return_columns, fn == "cbbd_ratings_srs")) and in the searchable
return columns article.
A hoopR_data tibble with one row per team-season.
Its columns are listed in return_columns
(subset(return_columns, fn == "cbbd_ratings_adjusted")) and in the searchable
return columns article.
A hoopR_data tibble with one row per team-season.
Its columns are listed in return_columns
(subset(return_columns, fn == "cbbd_ratings_elo")) and in the searchable
return columns article.
Examples
# \donttest{
try(cbbd_ratings_srs(season = 2024))
#> ✖ 2026-11-13 21:11:17.892234: Invalid arguments or no SRS ratings available!
#> ✖ Args: season = 2024, team = NULL, conference = NULL
#> ✖ Error: api.collegebasketballdata.com requires an API key. See ?register_cbbd for details.
#> data frame with 0 columns and 0 rows
# }
# \donttest{
try(cbbd_ratings_adjusted(season = 2024))
#> ✖ 2026-11-13 21:11:17.902752: Invalid arguments or no adjusted ratings available!
#> ✖ Args: season = 2024, team = NULL, conference = NULL
#> ✖ Error: api.collegebasketballdata.com requires an API key. See ?register_cbbd for details.
#> data frame with 0 columns and 0 rows
# }
# \donttest{
try(cbbd_ratings_elo(season = 2024))
#> ✖ 2026-11-13 21:11:17.912405: Invalid arguments or no Elo ratings available!
#> ✖ Args: season = 2024, team = NULL, conference = NULL
#> ✖ Error: api.collegebasketballdata.com requires an API key. See ?register_cbbd for details.
#> data frame with 0 columns and 0 rows
# }
