Skip to contents

Get end-of-season award voting from Basketball-Reference.

Returns the voting results for the major end-of-season awards (MVP, Rookie of the Year, Defensive Player of the Year, Sixth Man, Most Improved, Clutch Player, Coach of the Year) in one tidy tibble, one row per candidate per award. No API key is required. Basketball-Reference rate-limits aggressive scraping (~20 requests/minute) – space repeated calls with Sys.sleep().

Usage

bref_awards(season = most_recent_nba_season())

Arguments

season

(integer required): Season, in 4-digit ending-year format (e.g. 2024). Defaults to most_recent_nba_season().

Value

A hoopR_data tibble with one row per award candidate. Its columns are listed in return_columns (subset(return_columns, fn == "bref_awards")) and in the searchable return columns article.

Examples

if (FALSE) { # interactive() && !nzchar(Sys.getenv("CI"))
# \donttest{
  try(bref_awards(season = 2024))
# }
}