Skip to main content
Version: 0.2.0

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 · dataset page

Returns​

col_nametypedescription
game_play_numberInt32Sequential play number within the game.
idInt64Id.
play_idInt64ESPN play id, the same value as id as an Int64, under the name the game-story and win-probability frames use; sdv-py adds it at load when the release does not ship it.
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's score after the play. Rebuilt from the scoring plays in feed order when that reaches the official final (score_source 'rebuilt'), otherwise ESPN's per-play value (score_source 'espn'). Seasons published before the repair carry ESPN's per-play value.
home_scoreInt32Home team's score after the play. Rebuilt from the scoring plays in feed order when that reaches the official final (score_source 'rebuilt'), otherwise ESPN's per-play value (score_source 'espn'). Seasons published before the repair carry ESPN's per-play value.
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.
score_sourceStringWhere this game's home_score/away_score come from: 'rebuilt' (summed from the scoring plays and equal to the official final on the last play) or 'espn' (ESPN's per-play values, kept when the rebuild misses the final or the game has no final). Absent from seasons published before the repair. Select it by name: it is the play-by-play builder's last column, but a release can carry columns after it.
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 · dataset page

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_idInt32ESPN's numeric game-status code, passed through unchanged. ESPN publishes no reference for these codes, so read status_type_name rather than hard-coding numbers.
status_type_nameStringESPN's game-status enum (STATUS_FINAL, STATUS_SCHEDULED, STATUS_POSTPONED, STATUS_CANCELED, ...), passed through unchanged. ESPN does not document the full set, and no value certifies an ordinary final as distinct from a forfeit or an awarded result.
status_type_stateStringESPN's coarse game state, passed through unchanged: pre, in or post. post covers every game that is over, whatever the reason.
status_type_completedBooleanESPN's completed flag, passed through unchanged: true once ESPN considers the game over. It does not separate an ordinary final from a forfeited, protested, replayed or awarded result; ESPN documents no such distinction.
status_type_descriptionStringESPN's display text for the game status (for example "Final" or "Postponed"), passed through unchanged.
status_type_detailStringESPN's longer status text, passed through unchanged; an overtime final reads like "Final/OT".
status_type_short_detailStringESPN's short status text for scoreboards, passed through unchanged.
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's points as ESPN reports them: once the game is final, the full-game total including every overtime period. ESPN corrects a score in place, so this is the value ESPN showed when the release was last built. Not a final score until status_type_completed is true.
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's points as ESPN reports them: once the game is final, the full-game total including every overtime period. ESPN corrects a score in place, so this is the value ESPN showed when the release was last built. Not a final score until status_type_completed is true.
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_game_rosters​

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

Returns​

col_nametypedescription
seasonInt32Season year.
game_idInt32Unique 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 · dataset page

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 · dataset page

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 · dataset page

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_draft​

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

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 · dataset page

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_idInt32Unique 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_depth_charts​

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

Coverage

ESPN team depth charts, snapshotted daily: one row per (as_of_date, team, position slot, depth rank), so filter to one as_of_date (the latest is the current chart) before counting players. The release starts with the 2026-27 season (season 2027), first snapshot 2026-09-08.

Returns​

col_nametypedescription
as_of_dateDateDate of the daily snapshot the row belongs to; one ESPN depth chart per team per as_of_date, so filter to one date (the latest is the current chart).
leagueStringLeague slug of the source ESPN depth chart, always 'nba'.
seasonInt64ESPN season, the ENDING year (2027 = 2026-27).
season_typeInt64ESPN season type at the snapshot (1 preseason, 2 regular season).
team_idInt64ESPN NBA team id of the depth chart (Int64, e.g. 1 for the Atlanta Hawks), the id the ESPN NBA schedule and box releases carry.
team_display_nameStringFull team name as ESPN displays it (e.g. 'Atlanta Hawks').
team_abbreviationStringESPN team abbreviation (e.g. 'ATL').
group_idInt64ESPN depth-chart group id; NBA teams publish a single group, 1.
group_nameStringName of the ESPN depth-chart group, 'Depth Chart' for every NBA row.
position_slotStringLower-case position key of the slot on the chart (pg, sg, sf, pf, c).
position_idInt64ESPN position id of the slot (1 PG, 2 SG, 5 SF, 6 PF, 9 C).
position_abbreviationStringUpper-case position abbreviation of the slot (PG, SG, SF, PF, C).
position_nameStringFull position name of the slot (e.g. 'Point Guard').
depth_rankInt64Order of the athlete within the slot, 1 = starter; the chart lists each team's whole roster.
athlete_idInt64ESPN athlete id of the listed player.
athlete_display_nameStringPlayer's full name as ESPN displays it.
athlete_short_nameStringPlayer's abbreviated name as ESPN displays it (e.g. 'O. Okongwu').
espn_timestampStringESPN's last-updated time of the team's depth chart at the snapshot, ISO 8601 UTC text.
load_nba_depth_charts(seasons=2027)

load_nba_schedule_crosswalk​

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

Coverage

nba_game_id stays String, the zero-padded NBA Stats game id (0022300001); the nba_*_team_id bridge ids are Int64, as NBA Stats ships team_id.

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_idInt32ESPN 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_idInt64NBA Stats team id of the home team.
nba_away_team_idInt64NBA Stats team id of the away team.
fox_game_idStringFox Sports game id (string), filled when the crosswalk is built with fox=True from Fox's per-date scoreboard, matched on the US-Eastern date and the two teams in either home/away order; null otherwise and where Fox lists no matching game.
fox_home_team_idStringFox Sports team id of the side Fox calls home in fox_game_id, filled with fox=True; at a neutral site it can be the reverse of home_espn_team_id. Null when fox_game_id is.
fox_away_team_idStringFox Sports team id of the side Fox calls away in fox_game_id, filled with fox=True; at a neutral site it can be the reverse of away_espn_team_id. Null when fox_game_id is.
yahoo_game_idStringYahoo Sports game id, nba.g.<home ESPN team id, 2 digits> (Yahoo's NBA team ids equal ESPN's), from the 2014 season on; null for earlier seasons.
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_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()