Skip to main content
Version: 0.1.5

NBA dataset loaders — Other

load_nba_pbp​

Release: espn_nba_pbp · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_nba_pbp/play_by_play_{season}.parquet

Returns​

col_nametypedescription
game_play_numberInt32Sequential play number within the game.
idInt64Id.
sequence_numberInt32Sequence number representing a shot-possession (V3 PBP).
type_idInt32Type identifier (numeric).
type_textStringDisplay text for the type field.
textStringText description of the play / record.
away_scoreInt32Away team score at the time of the play.
home_scoreInt32Home team score at the time of the play.
period_numberInt32Numeric period (1-4 for quarters; 5+ for OT).
period_display_valueStringPeriod display label (e.g. '1st Quarter', 'OT').
clock_display_valueStringGame clock display string (e.g. '8:32').
scoring_playBooleanTRUE if the play resulted in points scored.
score_valueInt32Point value of the play (2 / 3 / 1).
team_idInt32Unique team identifier.
athlete_id_1Int32Primary athlete identifier (e.g. shooter).
athlete_id_2Int32Secondary athlete identifier (e.g. assister / fouler).
athlete_id_3Int32Athlete id 3.
wallclockStringWallclock.
shooting_playBooleanTRUE if the play was a shooting attempt.
coordinate_x_rawFloat64X coordinate as returned by the API before any adjustment.
coordinate_y_rawFloat64Y coordinate as returned by the API before any adjustment.
points_attemptedInt32Point value attempted on the shot (2 or 3; 1 for a free throw).
short_descriptionStringShort text description of the play from ESPN.
game_idInt32Unique game identifier.
seasonInt32Season year.
season_typeInt32Season type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats).
home_team_idInt32Unique identifier for the home team.
home_team_nameStringHome team name.
home_team_mascotStringHome team mascot.
home_team_abbrevStringHome team three-letter abbreviation.
home_team_name_altStringAlternate home team name.
away_team_idInt32Unique identifier for the away team.
away_team_nameStringAway team name.
away_team_mascotStringAway team mascot.
away_team_abbrevStringAway team three-letter abbreviation.
away_team_name_altStringAlternate away team name.
game_spreadFloat64Game spread (signed; positive = home favored).
home_favoriteBooleanTRUE if the home team is the betting favorite.
game_spread_availableBooleanTRUE if a point spread was available.
home_team_spreadFloat64Home team's point spread.
qtrInt32Quarter (1-4) or OT period (5+).
timeStringTime / clock value.
clock_minutesInt32Clock minutes split out for convenience.
clock_secondsFloat64Clock seconds split out for convenience.
home_timeout_calledBooleanWhether the play is a timeout called by the home team.
away_timeout_calledBooleanWhether the play is a timeout called by the away team.
halfInt32Half of the game (1 or 2).
game_halfInt32Half of the game (1 or 2).
lag_qtrInt32Quarter lag (the previous-play's quarter).
lead_qtrInt32Quarter lead (the next-play's quarter).
lag_halfInt32A lag column on the half
lead_halfInt32A lead column on the half
start_quarter_seconds_remainingFloat64Seconds remaining in the period at the start of the play.
start_half_seconds_remainingFloat64Seconds remaining in the half at the start of the play.
start_game_seconds_remainingFloat64Seconds remaining in the game at the start of the play.
end_quarter_seconds_remainingFloat64Seconds remaining in the period at the end of the play.
end_half_seconds_remainingFloat64Seconds remaining in the half at the end of the play.
end_game_seconds_remainingFloat64Seconds remaining in the game at the end of the play.
periodInt32Period of the game (1-4 quarters; 5+ for OT).
coordinate_xFloat64X coordinate on the court (half-court layout).
coordinate_yFloat64Y coordinate on the court (half-court layout).
game_dateDateGame date (YYYY-MM-DD).
game_date_timeDatetime(time_unit='us', time_zone='America/New_York')Game start date/time (ISO 8601).
athlete_name_1StringName of the primary athlete involved in the play (pairs with athlete_id_1).
athlete_name_2StringName of the secondary athlete involved in the play (e.g. the assister or fouled player).
athlete_name_3StringName of the tertiary athlete involved in the play.
type_abbreviationStringType abbreviation.
load_nba_pbp(seasons=2024)

load_nba_schedule​

Release: espn_nba_schedules · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_nba_schedules/nba_schedule_{season}.parquet

Returns​

col_nametypedescription
idInt32Id.
uidStringESPN UID string.
dateStringDate in YYYY-MM-DD format.
attendanceFloat64Reported attendance.
time_validBooleanTime valid.
neutral_siteBooleanNeutral site.
conference_competitionBooleanConference competition.
play_by_play_availableBoolean
recentBooleanRecent.
start_dateStringStart date (YYYY-MM-DD).
broadcastStringBroadcast information string.
highlightsString
notes_typeStringNotes type.
notes_headlineStringNotes headline.
broadcast_marketStringBroadcast market label (e.g. 'national', 'home').
broadcast_nameStringBroadcast name.
type_idInt32Type identifier (numeric).
type_abbreviationStringType abbreviation.
venue_idInt32Unique venue identifier.
venue_full_nameStringVenue full name.
venue_address_cityStringVenue address city.
venue_indoorBooleanTRUE if the venue is indoors.
status_clockFloat64Status clock.
status_display_clockStringStatus display clock.
status_periodFloat64Status period.
status_type_idInt32Unique identifier for status type.
status_type_nameStringStatus type name.
status_type_stateStringStatus type state.
status_type_completedBooleanStatus type completed.
status_type_descriptionStringStatus type description.
status_type_detailStringStatus type detail.
status_type_short_detailStringStatus type short detail.
format_regulation_periodsFloat64Format regulation periods.
home_idInt32Unique identifier for home.
home_uidStringHome team's uid.
home_locationStringHome team's location.
home_nameStringHome name.
home_abbreviationStringHome team's abbreviation.
home_display_nameStringHome display name.
home_short_display_nameStringHome short display name.
home_colorStringColor code (hex) for home.
home_alternate_colorStringColor code (hex) for home alternate.
home_is_activeBooleanHome team's is active.
home_venue_idInt32Unique identifier for home venue.
home_logoStringHome team logo URL.
home_scoreInt32Home team score at the time of the play.
home_winnerBooleanHome team's winner.
home_linescoresStringPeriod-by-period points for the home team, stringified from ESPN's linescores array.
home_recordsStringHome team's records at game time (overall, home, away), stringified from ESPN.
away_idInt32Unique identifier for away.
away_uidStringAway team's uid.
away_locationStringAway team's location.
away_nameStringAway name.
away_abbreviationStringAway team's abbreviation.
away_display_nameStringAway display name.
away_short_display_nameStringAway short display name.
away_colorStringColor code (hex) for away.
away_alternate_colorStringColor code (hex) for away alternate.
away_is_activeBooleanAway team's is active.
away_venue_idInt32Unique identifier for away venue.
away_logoStringAway team logo URL.
away_scoreInt32Away team score at the time of the play.
away_winnerBooleanAway team's winner.
away_linescoresStringPeriod-by-period points for the away team, stringified from ESPN's linescores array.
away_recordsStringAway team's records at game time (overall, home, away), stringified from ESPN.
game_idInt32Unique game identifier.
seasonInt32Season year.
season_typeInt32Season type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats).
venue_address_stateStringVenue address state / region.
status_type_alt_detailStringStatus type alt detail.
game_jsonBoolean
game_json_urlString
game_date_timeDatetime(time_unit='us', time_zone='America/New_York')Game start date/time (ISO 8601).
game_dateDateGame date (YYYY-MM-DD).
PBPBoolean
team_boxBooleanTeam box.
player_boxBooleanPlayer box.
load_nba_schedule(seasons=2024)

load_nba_team_boxscore​

Release: espn_nba_team_boxscores · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_nba_team_boxscores/team_box_{season}.parquet

Returns​

col_nametypedescription
game_idInt32Unique game identifier.
seasonInt32Season year.
season_typeInt32Season type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats).
game_dateDateGame date (YYYY-MM-DD).
game_date_timeDatetime(time_unit='us', time_zone='America/New_York')Game start date/time (ISO 8601).
team_idInt32Unique team identifier.
team_uidStringESPN universal team identifier (UID format 's:40~l:...~t:...').
team_slugStringURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
team_locationStringTeam city or location string.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_display_nameStringFull team display name.
team_short_display_nameStringShort team display name (e.g. 'Aces').
team_colorStringTeam primary color (hex without leading '#').
team_alternate_colorStringTeam alternate color (hex without leading '#').
team_logoStringTeam logo image URL.
team_home_awayStringTeam home away.
team_scoreInt32Team's score / final score.
team_winnerBooleanTRUE if the team won this game.
assistsInt32Total assists.
blocksInt32Total blocks.
defensive_reboundsInt32Defensive rebounds.
fast_break_pointsStringFast-break points scored.
field_goal_pctFloat64Field goal percentage (0-1).
field_goals_madeInt32Field goals made (2-pt + 3-pt).
field_goals_attemptedInt32Field goal attempts (2-pt + 3-pt).
flagrant_foulsInt32Total flagrant fouls.
foulsInt32Personal fouls.
free_throw_pctFloat64Free throw percentage (0-1).
free_throws_madeInt32Free throws made.
free_throws_attemptedInt32Free throw attempts.
largest_leadStringLargest lead during the game.
offensive_reboundsInt32Offensive rebounds.
points_in_paintStringPoints scored in the paint.
stealsInt32Total steals.
team_turnoversInt32Team turnovers (turnovers credited to the team rather than a player).
technical_foulsInt32Total technical fouls.
three_point_field_goal_pctFloat64Three-point field goal percentage (0-1).
three_point_field_goals_madeInt32Three-point field goals made.
three_point_field_goals_attemptedInt32Three-point field goal attempts.
total_reboundsInt32Total rebounds.
total_technical_foulsInt32Total technical fouls (player + team).
total_turnoversInt32Total turnovers (player + team).
turnover_pointsStringTurnover points.
turnoversInt32Total turnovers.
opponent_team_idInt32Unique identifier for the opponent team.
opponent_team_uidStringOpponent team uid.
opponent_team_slugStringOpponent team slug.
opponent_team_locationStringOpponent team city / location.
opponent_team_nameStringOpponent team display name.
opponent_team_abbreviationStringOpponent team abbreviation.
opponent_team_display_nameStringOpponent team full display name.
opponent_team_short_display_nameStringOpponent team short display name.
opponent_team_colorStringOpponent team primary color (hex).
opponent_team_alternate_colorStringOpponent team alternate color (hex).
opponent_team_logoStringOpponent team logo URL.
opponent_team_scoreInt32Opponent team's score.
lead_changesStringLead changes.
lead_percentageStringPercentage of the game the team held the lead, from ESPN's team box score stats.
load_nba_team_boxscore(seasons=2024)

load_nba_game_rosters​

Release: espn_nba_game_rosters · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_nba_game_rosters/game_rosters_{season}.parquet

Returns​

col_nametypedescription
seasonInt32Season year.
game_idStringUnique game identifier.
team_idInt32Unique team identifier.
team_slugStringURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_display_nameStringFull team display name.
home_awayStringGame venue label ('home' or 'away').
athlete_idInt32Unique athlete identifier (ESPN).
athlete_uidStringESPN athlete UID (universal identifier).
athlete_guidStringESPN athlete GUID.
athlete_display_nameStringAthlete display name (full).
athlete_short_nameStringAthlete short display name.
athlete_first_nameString
athlete_last_nameString
athlete_jerseyStringAthlete jersey number.
athlete_positionStringAthlete position.
athlete_headshotStringURL of the player's headshot image.
starterBooleanTRUE if the player was in the starting lineup; FALSE otherwise.
did_not_playBooleanTRUE if the player did not appear in the game.
activeBooleanTRUE if the row represents an active record (player / team / season).
ejectedBooleanTRUE if the player was ejected from the game.
reasonStringReason.
load_nba_game_rosters(seasons=2002)

load_nba_officials​

Release: espn_nba_officials · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_nba_officials/officials_{season}.parquet

Returns​

col_nametypedescription
seasonInt32Season year.
game_idInt32Unique game identifier.
official_full_nameStringFull name of an on-court game official as ESPN publishes it in the summary gameInfo.officials array; it is identical to official_display_name in every released NBA row.
official_display_nameStringESPN's display-form name for the official, falling back to the full name when ESPN omits it; it never diverges from official_full_name in the released NBA data.
official_positionStringESPN's label for the official's assignment slot; the NBA summary feed only ever ships Referee, so this reads the same on every released row.
official_position_idInt32ESPN's numeric identifier for the official's assignment slot, constant at 40 (Referee) across every released NBA season.
official_orderInt32The official's listing index within the game's crew as ESPN orders them, normally 1 through 3 for a three-person crew; a fourth entry appears in a small share of recent-season games and the sequence is not guaranteed to be gap-free.
load_nba_officials(seasons=2002)

load_nba_shots​

Release: espn_nba_shots · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_nba_shots/shots_{season}.parquet

Returns​

col_nametypedescription
game_idInt32Unique game identifier.
seasonInt32Season year.
period_numberInt32Numeric period (1-4 for quarters; 5+ for OT).
clock_display_valueStringGame clock display string (e.g. '8:32').
team_idInt32Unique team identifier.
athlete_id_1Int32Primary athlete identifier (e.g. shooter).
athlete_id_2Int32Secondary athlete identifier (e.g. assister / fouler).
type_idInt32Type identifier (numeric).
type_textStringDisplay text for the type field.
scoring_playBooleanTRUE if the play resulted in points scored.
score_valueInt32Point value of the play (2 / 3 / 1).
coordinate_xFloat64X coordinate on the court (half-court layout).
coordinate_yFloat64Y coordinate on the court (half-court layout).
coordinate_x_rawFloat64X coordinate as returned by the API before any adjustment.
coordinate_y_rawFloat64Y coordinate as returned by the API before any adjustment.
athlete_name_1StringName of the shooter on the attempt.
athlete_name_2StringName of the secondary athlete on the attempt (e.g. the assister).
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_mascotStringMascot (nickname) portion of the shooting team's name.
team_abbrevStringAbbreviation for team.
load_nba_shots(seasons=2002)

load_nba_standings​

Release: espn_nba_standings · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_nba_standings/standings_{season}.parquet

Returns​

col_nametypedescription
seasonInt32Season year.
group_idStringESPN group id.
group_nameString
group_abbreviationString
group_short_nameStringESPN's short name for the standings grouping the team sits in, read from the group node's shortName; the NBA standings payload supplies only the group name and abbreviation, so this is null throughout.
team_idInt32Unique team identifier.
team_uidStringESPN universal team identifier (UID format 's:40~l:...~t:...').
team_slugStringURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
team_locationStringTeam city or location string.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_display_nameStringFull team display name.
team_short_display_nameStringShort team display name (e.g. 'Aces').
team_colorStringTeam primary color (hex without leading '#').
team_alternate_colorStringTeam alternate color (hex without leading '#').
team_logoStringTeam logo image URL.
stat_nameStringStat key.
stat_display_nameStringStat display name.
stat_short_display_nameString
stat_descriptionStringESPN's prose gloss for the standings statistic on this row; for the clincher stat it is not a fixed label but the team's actual status text, such as Clinched Playoff Berth or Eliminated From Playoff.
stat_abbreviationStringESPN's short code for the standings statistic, such as PCT, GB or OPP PPG; it is null for the four record-style splits (Home, Road, vs. Conf., vs. Div.), which ship no abbreviation.
stat_typeStringStat type code (e.g. "win", "loss").
display_valueStringDisplay-formatted value.
valueFloat64Numeric or string value field.
load_nba_standings(seasons=2002)

load_nba_team_season_stats​

Release: espn_nba_team_season_stats · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_nba_team_season_stats/team_season_stats_{season}.parquet

Returns​

col_nametypedescription
seasonInt32Season year.
team_idInt32Unique team identifier.
team_slugStringURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_display_nameStringFull team display name.
team_short_display_nameStringShort team display name (e.g. 'Aces').
team_colorStringTeam primary color (hex without leading '#').
team_alternate_colorStringTeam alternate color (hex without leading '#').
team_logoStringTeam logo image URL.
categoryStringCategory label.
stat_labelString
stat_nameStringStat key.
stat_display_nameStringStat display name.
stat_descriptionStringESPN's prose definition of the team statistic on this row, for example the average number of assists a team records per turnover.
display_valueStringDisplay-formatted value.
valueFloat64Numeric or string value field.
load_nba_team_season_stats(seasons=2025)

load_nba_draft​

Release: espn_nba_draft · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_nba_draft/draft_{season}.parquet

Returns​

col_nametypedescription
seasonInt32Season year.
roundInt32Tournament / playoff round.
round_display_nameStringESPN's display label for the draft round a pick belongs to, read from the round object's displayName; the NBA payload supplies no round metadata, so this is null for every released season 2003 through 2025.
pickInt32Pick number within the round.
overall_pickInt32Overall pick.
pick_tradedStringESPN's traded flag for the pick, carried through as a string rather than a boolean; every released NBA row reads FALSE, so it does not currently identify traded picks.
pick_notesStringFree-text note ESPN can attach to a pick, read from the pick's notes or note field; the NBA draft payload never populates it, so it is null across all released seasons.
athlete_idInt32Unique athlete identifier (ESPN).
athlete_uidStringESPN athlete UID (universal identifier).
athlete_guidStringESPN athlete GUID.
athlete_first_nameString
athlete_last_nameString
athlete_full_nameString
athlete_display_nameStringAthlete display name (full).
athlete_short_nameStringAthlete short display name.
athlete_heightString
athlete_weightString
athlete_position_abbreviationStringAthlete position abbreviation (G / F / C).
athlete_position_nameStringAthlete position ('Guard', 'Forward', 'Center').
athlete_headshot_hrefStringAthlete headshot image URL.
college_idInt32Unique identifier for college.
college_nameStringCollege / pre-draft team.
college_short_nameString
college_abbreviationStringAbbreviation of the drafted player's college taken from the pick's nested college block; the ESPN NBA draft feed omits that block entirely, so this and the other college columns are null throughout.
team_idInt32Unique team identifier.
team_uidStringESPN universal team identifier (UID format 's:40~l:...~t:...').
team_slugStringURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
team_locationStringTeam city or location string.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_display_nameStringFull team display name.
team_short_display_nameStringShort team display name (e.g. 'Aces').
team_colorStringTeam primary color (hex without leading '#').
team_alternate_colorStringTeam alternate color (hex without leading '#').
team_logoStringTeam logo image URL.
load_nba_draft(seasons=2025)

load_nba_rosters​

Release: espn_nba_rosters · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_nba_rosters/rosters_{season}.parquet

Returns​

col_nametypedescription
seasonInt32Season year.
team_idInt32Unique team identifier.
team_slugStringURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_display_nameStringFull team display name.
team_short_display_nameStringShort team display name (e.g. 'Aces').
team_colorStringTeam primary color (hex without leading '#').
team_alternate_colorStringTeam alternate color (hex without leading '#').
team_logoStringTeam logo image URL.
athlete_idStringUnique athlete identifier (ESPN).
uidStringESPN UID string.
guidStringStable cross-league team GUID.
full_nameStringPlayer's full name.
display_nameStringDisplay name.
short_nameStringShort display name.
first_nameStringPlayer's first name.
last_nameStringPlayer's last name.
jerseyStringJersey number worn by the player.
position_abbreviationStringPosition abbreviation ('G' / 'F' / 'C').
position_nameStringListed roster position ('Guard', 'Forward', 'Center').
position_idStringUnique position identifier.
heightStringPlayer height (string e.g. '6-2' or inches).
weightStringPlayer weight in pounds.
ageStringPlayer age (in years).
date_of_birthStringDate of birth (YYYY-MM-DD).
birth_place_cityStringBirth place city.
birth_place_stateStringBirth place state.
birth_place_countryStringBirth place country.
experience_yearsStringExperience years.
experience_display_valueStringExperience display value.
headshot_hrefStringHeadshot image URL.
headshot_altStringAlternative-text label for the headshot.
link_webStringWeb link / URL.
status_idStringStatus identifier.
status_nameStringStatus label.
status_typeStringStatus type.
load_nba_rosters(seasons=2025)

load_nba_schedule_crosswalk​

Release: nba_crosswalk · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_crosswalk/nba_schedule_crosswalk_{season}.parquet

Returns​

col_nametypedescription
seasonInt32Season year.
season_typeStringSeason type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats).
game_dateDateGame date (YYYY-MM-DD).
home_espn_team_idInt32ESPN home team id (NA for bart-only rows).
away_espn_team_idInt32ESPN away team id (NA for bart-only rows).
espn_game_idStringESPN game id (NA for bart-only rows).
nba_game_idStringNBA Stats 10-character game id matched to the ESPN game in the crosswalk.
nba_game_codeStringNBA game code (date and matchup string) from the NBA Stats API.
nba_home_team_idStringNBA Stats team id of the home team.
nba_away_team_idStringNBA Stats team id of the away team.
fox_game_idStringFox game id (NA placeholder).
fox_home_team_idStringFOX Sports team id of the home team in the crosswalk.
fox_away_team_idStringFOX Sports team id of the away team in the crosswalk.
yahoo_game_idStringYahoo game id (NA placeholder).
match_methodStringCombination of matched sources, e.g. "fox+bart" / "fox_only" / "bart_only" / "espn_only".
match_confidenceFloat64Jaro-Winkler score or 1 for exact (NA if none).
load_nba_schedule_crosswalk(seasons=2026)

load_nba_team_crosswalk​

Release: nba_crosswalk · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_crosswalk/nba_team_crosswalk_{season}.parquet

Returns​

col_nametypedescription
seasonInt32Season year.
espn_team_idInt32ESPN team id (canonical key).
espn_abbreviationStringESPN abbreviation.
espn_display_nameStringESPN display name (school + mascot).
espn_short_nameStringESPN short name.
espn_locationStringESPN school/location only.
espn_mascotStringESPN mascot/nickname.
nba_team_idStringNBA Stats team id side of the ESPN-to-NBA team crosswalk.
nba_team_abbreviationStringTeam abbreviation as listed by the NBA Stats API.
nba_team_nameStringFull NBA team name from the NBA Stats API, city followed by nickname (e.g. 'Boston Celtics').
nba_team_cityStringTeam city as listed by the NBA Stats API.
nba_team_slugStringURL-friendly slug for the team's name on NBA Stats.
nba_conferenceStringTeam's conference as listed by the NBA Stats API.
nba_divisionStringTeam's division as listed by the NBA Stats API.
fox_team_idStringFox Bifrost team id (NA if unmatched).
fox_team_nameStringFox team name (NA if unmatched).
yahoo_team_idStringYahoo team id (NA placeholder).
yahoo_team_abbreviationStringYahoo abbreviation (NA placeholder).
yahoo_team_nameStringYahoo team name (NA placeholder).
match_methodStringCombination of matched sources, e.g. "fox+bart" / "fox_only" / "bart_only" / "espn_only".
match_confidenceFloat64Jaro-Winkler score or 1 for exact (NA if none).
load_nba_team_crosswalk(seasons=2026)

load_nba_groups​

Release: nba_groups · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_groups/nba_groups.parquet

Coverage

One season-less file: one row per group lineage (the league, subdivisions, conferences, divisions) with the first and last season it had members. group_id is SDV's own id (e.g. nba:atlantic) and names a lineage: a rename that keeps continuity keeps the id, a new body gets a new one, and notes records each call. Seasons are the ENDING year (2025 = the 2024-25 season).

Returns​

col_nametypedescription
leagueStringLeague code of the table ("nba"); the prefix of every group_id in it.
group_idStringSDV group id, {league}:{slug}. It names a lineage: renames that keep continuity keep the id, and a new body (a new conference, or a merger the sources treat as new) gets a new one.
levelStringHierarchy level of the group: "league", "subdivision", "conference" or "division".
first_seasonInt32First season in which the group had at least one member (ENDING year: 2025 = the 2024-25 season).
last_seasonInt32Last season in which the group had at least one member (ENDING year: 2025 = the 2024-25 season).
notesStringBuilder notes on the group: the lineage decisions behind its group_id and any source caveats.
load_nba_groups()

load_nba_group_seasons​

Release: nba_groups · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_groups/nba_group_seasons.parquet

Coverage

One season-less file: one row per group per season it existed, with its name, short name, abbreviation and parent group AS OF that season (never today's label applied to the past) and its member count. season is the ENDING year (2025 = the 2024-25 season).

Returns​

col_nametypedescription
leagueStringLeague code of the table ("nba"); the prefix of every group_id in it.
group_idStringSDV group id, {league}:{slug}. It names a lineage: renames that keep continuity keep the id, and a new body (a new conference, or a merger the sources treat as new) gets a new one.
seasonInt32Season the row describes (ENDING year: 2025 = the 2024-25 season).
levelStringHierarchy level of the group: "league", "subdivision", "conference" or "division".
nameStringFull name of the group as of that season -- the label in use then, not today's name.
short_nameStringShort display name of the group as of that season.
abbreviationStringAbbreviation of the group as of that season.
parent_group_idStringgroup_id one level up as of that season (division -> conference -> subdivision -> league); null at the top level or where no higher group applied that season.
n_teamsInt32Number of member teams in the group that season.
load_nba_group_seasons()

load_nba_group_aliases​

Release: nba_groups · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_groups/nba_group_aliases.parquet

Coverage

One season-less file: every name, abbreviation, slug and source id that a source (espn, nba_stats, sdv) uses for a group, each with the seasons it is valid for (valid_from / valid_to, inclusive; null = unbounded). Match a source's conference or division label here to reach group_id.

Returns​

col_nametypedescription
leagueStringLeague code of the table ("nba"); the prefix of every group_id in it.
group_idStringSDV group id, {league}:{slug}. It names a lineage: renames that keep continuity keep the id, and a new body (a new conference, or a merger the sources treat as new) gets a new one.
sourceStringSource that uses this label or id (in this table: espn, nba_stats, sdv); "sdv" marks SDV's own labels.
source_idStringThe source's own id for the group (ESPN group id, NCAA conf_id, CFBD id, MLB division id) when it has one; null otherwise.
name_kindStringKind of label in value: "name", "short_name", "abbreviation", "slug" or "code".
valueStringThe label exactly as the source writes it; match a source's conference or division label against it to reach group_id.
valid_fromInt32First season the alias is valid for, inclusive (ENDING year: 2025 = the 2024-25 season); null = unbounded.
valid_toInt32Last season the alias is valid for, inclusive (ENDING year: 2025 = the 2024-25 season); null = unbounded (still in use).
load_nba_group_aliases()

load_nba_team_group_seasons​

Release: nba_groups · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_groups/nba_team_group_seasons_{season}.parquet

Coverage

One row per team per season: the SDV subdivision, conference and division group ids the team belonged to that season (null where a level does not apply), the team name as of that season, where the membership came from, and whether a second source agreed (null when only one source covers the season). team_id is a string: the ESPN team id; team_id_source names the id space. season is the ENDING year (2025 = the 2024-25 season); seasons 1971-2027.

Returns​

col_nametypedescription
leagueStringLeague code of the table ("nba"); the prefix of every group_id in it.
seasonInt32Season of the membership (ENDING year: 2025 = the 2024-25 season).
team_idStringTeam id as a string: the ESPN team id where ESPN covers the team, otherwise the league's own id; team_id_source says which.
team_id_sourceStringId space of team_id (in this table: espn).
team_nameStringTeam name as of that season, not today's.
subdivision_idStringSDV group_id of the team's subdivision that season (e.g. FBS / FCS, Division I); null where the league has no subdivision level.
conference_idStringSDV group_id of the team's conference that season; null where the team had no conference (an independent, or a season played without conferences).
division_idStringSDV group_id of the team's division that season; null where the level does not apply.
sourceStringSource the membership was taken from -- the most reliable per-season source for that era.
sources_agreeBooleanWhether a second source agreed on the membership; null when only one source covers the season.
notesStringBuilder notes on the team-season, such as a source disagreement or which of several listed memberships was kept.
load_nba_team_group_seasons(seasons=2024)