bref_standings: *Basketball-Reference Standings*

View source: R/bref_standings.R

bref_standingsR Documentation

Basketball-Reference Standings

Description

Get end-of-season conference standings from Basketball-Reference.

No API key is required. Basketball-Reference rate-limits aggressive scraping (~20 requests/minute) – space repeated calls with Sys.sleep().

Usage

bref_standings(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 team:

col_name types description
conference character Conference (E or W).
team character Team name (with playoff-seed marker stripped).
wins integer Wins.
losses integer Losses.
win_loss_pct numeric Win-loss percentage.
gb character Games behind the conference leader.
pts_per_g numeric Points scored per game.
opp_pts_per_g numeric Opponent points per game.
srs numeric Simple Rating System (point margin + SOS).
playoffs logical TRUE if the team made the playoffs (* marker).
season integer Season (echoes the season argument).

See Also

Other Basketball-Reference Functions: bref_awards(), bref_draft(), bref_injuries(), bref_player_bios(), bref_player_game_log(), bref_players_stats(), bref_team_roster(), bref_teams_stats()

Examples


  try(bref_standings(season = 2024))


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