cbbd_ratings_srs: *CBD SRS Ratings*

View source: R/cbbd_ratings.R

cbbd_ratings_srsR Documentation

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
)

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.

Value

A hoopR_data tibble with one row per team-season:

col_name types description
season integer Season (4-digit ending-year).
team_id integer CollegeBasketballData team id.
team character Team name.
conference character Conference name.
rating numeric Simple Rating System (SRS) value.

A hoopR_data tibble with one row per team-season. ⁠rankings_*⁠ columns are flattened from the nested rankings object:

col_name types description
season integer Season (4-digit ending-year).
team_id integer CollegeBasketballData team id.
team character Team name.
conference character Conference name.
offensive_rating numeric Adjusted offensive efficiency rating.
defensive_rating numeric Adjusted defensive efficiency rating.
net_rating numeric Adjusted net efficiency rating.

A hoopR_data tibble with one row per team-season:

col_name types description
season integer Season (4-digit ending-year).
team_id integer CollegeBasketballData team id.
team character Team name.
conference character Conference name.
elo integer End-of-season Elo rating.

Examples


  try(cbbd_ratings_srs(season = 2024))


  try(cbbd_ratings_adjusted(season = 2024))


  try(cbbd_ratings_elo(season = 2024))


hoopR documentation built on Aug. 25, 2026, 9:07 a.m.