Learn R Programming

hoopR (version 3.1.0)

cbbd_ratings_srs: CBD SRS Ratings

Description

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 )

Value

A hoopR_data tibble with one row per team-season:

col_nametypesdescription
seasonintegerSeason (4-digit ending-year).
team_idintegerCollegeBasketballData team id.
teamcharacterTeam name.
conferencecharacterConference name.
ratingnumericSimple Rating System (SRS) value.

A hoopR_data tibble with one row per team-season. rankings_*

columns are flattened from the nested rankings object:

col_nametypesdescription
seasonintegerSeason (4-digit ending-year).
team_idintegerCollegeBasketballData team id.
teamcharacterTeam name.
conferencecharacterConference name.
offensive_ratingnumericAdjusted offensive efficiency rating.
defensive_ratingnumericAdjusted defensive efficiency rating.
net_ratingnumericAdjusted net efficiency rating.

A hoopR_data tibble with one row per team-season:

col_nametypesdescription
seasonintegerSeason (4-digit ending-year).
team_idintegerCollegeBasketballData team id.
teamcharacterTeam name.
conferencecharacterConference name.
elointegerEnd-of-season Elo rating.

Arguments

season

(integer optional): Season, 4-digit ending-year (e.g. 2024). Defaults to most_recent_mbb_season().

team

(character optional): Team name filter (e.g. Duke).

conference

(character optional): Conference abbreviation filter.

Examples

Run this code
# \donttest{
  try(cbbd_ratings_srs(season = 2024))
# }
# \donttest{
  try(cbbd_ratings_adjusted(season = 2024))
# }
# \donttest{
  try(cbbd_ratings_elo(season = 2024))
# }

Run the code above in your browser using DataLab