load_nba_team_crosswalk: *Load hoopR NBA team crosswalk*

View source: R/load_crosswalk.R

load_nba_team_crosswalkR Documentation

Load hoopR NBA team crosswalk

Description

Loads a pre-built per-season NBA team crosswalk that maps ESPN team identifiers to NBA.com identifiers and canonical abbreviations. The files are versioned .rds snapshots stored in the nba_crosswalk release of the sportsdataverse-data repository.

Loads a pre-built per-season NBA schedule crosswalk that links ESPN game identifiers to NBA.com game identifiers. The files are versioned .rds snapshots stored in the nba_crosswalk release of the sportsdataverse-data repository.

Loads a pre-built per-season NBA player crosswalk that maps ESPN athlete identifiers to NBA.com player identifiers. The files are versioned .rds snapshots stored in the nba_crosswalk release of the sportsdataverse-data repository.

Loads a pre-built per-season MBB team crosswalk that maps ESPN team identifiers to Fox Sports (Bifrost), Bart Torvik, and KenPom identifiers and canonical abbreviations. The files are versioned .rds snapshots stored in the mbb_crosswalk release of the sportsdataverse-data repository.

Loads a pre-built per-season MBB schedule crosswalk that links ESPN game identifiers to Bart Torvik game identifiers. The files are versioned .rds snapshots stored in the mbb_crosswalk release of the sportsdataverse-data repository.

Loads a pre-built per-season MBB player crosswalk that maps ESPN athlete identifiers to Fox Sports (Bifrost) player identifiers. The files are versioned .rds snapshots stored in the mbb_crosswalk release of the sportsdataverse-data repository.

Usage

load_nba_team_crosswalk(seasons = most_recent_nba_season())

load_nba_schedule_crosswalk(seasons = most_recent_nba_season())

load_nba_player_crosswalk(seasons = most_recent_nba_season())

load_mbb_team_crosswalk(seasons = most_recent_mbb_season())

load_mbb_schedule_crosswalk(seasons = most_recent_mbb_season())

load_mbb_player_crosswalk(seasons = most_recent_mbb_season())

Arguments

seasons

A vector of 4-digit years associated with given NBA seasons. (Min: 2002; default: most_recent_nba_season())

Value

Returns a tibble of class hoopR_data with one row per NBA team per season. Columns include at minimum season, espn_team_id, and nba_team_id.

Returns a tibble of class hoopR_data with one row per NBA game per season. Columns include at minimum season, espn_game_id, and nba_game_id.

Returns a tibble of class hoopR_data with one row per NBA player per season. Columns include at minimum season, espn_athlete_id, and nba_player_id.

Returns a tibble of class hoopR_data with one row per MBB team per season. Columns include at minimum season and espn_team_id.

Returns a tibble of class hoopR_data with one row per MBB game per season. Columns include at minimum season and espn_game_id.

Returns a tibble of class hoopR_data with one row per MBB player per season. Columns include at minimum season and espn_athlete_id.

See Also

Other NBA Crosswalk Functions: nba_player_crosswalk(), nba_schedule_crosswalk(), nba_team_crosswalk()

Other MBB Crosswalk Functions: mbb_player_crosswalk(), mbb_schedule_crosswalk(), mbb_team_crosswalk()

Examples


load_nba_team_crosswalk(seasons = most_recent_nba_season())


load_nba_schedule_crosswalk(seasons = most_recent_nba_season())


load_nba_player_crosswalk(seasons = most_recent_nba_season())


load_mbb_team_crosswalk(seasons = most_recent_mbb_season())


load_mbb_schedule_crosswalk(seasons = most_recent_mbb_season())


load_mbb_player_crosswalk(seasons = most_recent_mbb_season())


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