Skip to contents

Build a wide, one-row-per-team crosswalk linking ESPN, NBA Stats, and Fox team identities, keyed on espn_team_id. nba_teams() already supplies the ESPN<->Stats linkage; this reshapes it and attaches Fox. Yahoo columns are NA placeholders. NOTE: ESPN/Stats team endpoints are current-season snapshots, so season is a stamp; historical relocations are not back-modeled live.

Usage

nba_team_crosswalk(season = most_recent_nba_season())

Arguments

season

NBA season per hoopR convention (default most_recent_nba_season(); e.g. 2025 for 2024-25).

Value

A hoopR_data tibble, one row per team (ESPN / nba_* / Fox / Yahoo column groups + match_method / match_confidence).

Examples

if (FALSE) { # interactive() && !nzchar(Sys.getenv("CI"))
# \donttest{
  try(nba_team_crosswalk())
# }
}