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_name | type | description |
|---|---|---|
game_play_number | Int32 | Sequential play number within the game. |
id | Int64 | Id. |
play_id | Int64 | ESPN 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_number | Int32 | Sequence number representing a shot-possession (V3 PBP). |
type_id | Int32 | Type identifier (numeric). |
type_text | String | Display text for the type field. |
text | String | Text description of the play / record. |
away_score | Int32 | Away 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_score | Int32 | Home 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_number | Int32 | Numeric period (1-4 for quarters; 5+ for OT). |
period_display_value | String | Period display label (e.g. '1st Quarter', 'OT'). |
clock_display_value | String | Game clock display string (e.g. '8:32'). |
scoring_play | Boolean | TRUE if the play resulted in points scored. |
score_value | Int32 | Point value of the play (2 / 3 / 1). |
team_id | Int32 | Unique team identifier. |
athlete_id_1 | Int32 | Primary athlete identifier (e.g. shooter). |
athlete_id_2 | Int32 | Secondary athlete identifier (e.g. assister / fouler). |
athlete_id_3 | Int32 | Athlete id 3. |
wallclock | String | Wallclock. |
shooting_play | Boolean | TRUE if the play was a shooting attempt. |
coordinate_x_raw | Float64 | X coordinate as returned by the API before any adjustment. |
coordinate_y_raw | Float64 | Y coordinate as returned by the API before any adjustment. |
points_attempted | Int32 | Point value attempted on the shot (2 or 3; 1 for a free throw). |
short_description | String | Short text description of the play from ESPN. |
game_id | Int32 | Unique game identifier. |
season | Int32 | Season year. |
season_type | Int32 | Season type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats). |
home_team_id | Int32 | Unique identifier for the home team. |
home_team_name | String | Home team name. |
home_team_mascot | String | Home team mascot. |
home_team_abbrev | String | Home team three-letter abbreviation. |
home_team_name_alt | String | Alternate home team name. |
away_team_id | Int32 | Unique identifier for the away team. |
away_team_name | String | Away team name. |
away_team_mascot | String | Away team mascot. |
away_team_abbrev | String | Away team three-letter abbreviation. |
away_team_name_alt | String | Alternate away team name. |
game_spread | Float64 | Game spread (signed; positive = home favored). |
home_favorite | Boolean | TRUE if the home team is the betting favorite. |
game_spread_available | Boolean | TRUE if a point spread was available. |
home_team_spread | Float64 | Home team's point spread. |
qtr | Int32 | Quarter (1-4) or OT period (5+). |
time | String | Time / clock value. |
clock_minutes | Int32 | Clock minutes split out for convenience. |
clock_seconds | Float64 | Clock seconds split out for convenience. |
home_timeout_called | Boolean | Whether the play is a timeout called by the home team. |
away_timeout_called | Boolean | Whether the play is a timeout called by the away team. |
half | Int32 | Half of the game (1 or 2). |
game_half | Int32 | Half of the game (1 or 2). |
lag_qtr | Int32 | Quarter lag (the previous-play's quarter). |
lead_qtr | Int32 | Quarter lead (the next-play's quarter). |
lag_half | Int32 | A lag column on the half |
lead_half | Int32 | A lead column on the half |
start_quarter_seconds_remaining | Float64 | Seconds remaining in the period at the start of the play. |
start_half_seconds_remaining | Float64 | Seconds remaining in the half at the start of the play. |
start_game_seconds_remaining | Float64 | Seconds remaining in the game at the start of the play. |
end_quarter_seconds_remaining | Float64 | Seconds remaining in the period at the end of the play. |
end_half_seconds_remaining | Float64 | Seconds remaining in the half at the end of the play. |
end_game_seconds_remaining | Float64 | Seconds remaining in the game at the end of the play. |
period | Int32 | Period of the game (1-4 quarters; 5+ for OT). |
coordinate_x | Float64 | X coordinate on the court (half-court layout). |
coordinate_y | Float64 | Y coordinate on the court (half-court layout). |
game_date | Date | Game date (YYYY-MM-DD). |
game_date_time | Datetime(time_unit='us', time_zone='America/New_York') | Game start date/time (ISO 8601). |
athlete_name_1 | String | Name of the primary athlete involved in the play (pairs with athlete_id_1). |
athlete_name_2 | String | Name of the secondary athlete involved in the play (e.g. the assister or fouled player). |
athlete_name_3 | String | Name of the tertiary athlete involved in the play. |
type_abbreviation | String | Type abbreviation. |
score_source | String | Where 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_name | type | description |
|---|---|---|
id | Int32 | Id. |
uid | String | ESPN UID string. |
date | String | Date in YYYY-MM-DD format. |
attendance | Float64 | Reported attendance. |
time_valid | Boolean | Time valid. |
neutral_site | Boolean | Neutral site. |
conference_competition | Boolean | Conference competition. |
play_by_play_available | Boolean | |
recent | Boolean | Recent. |
start_date | String | Start date (YYYY-MM-DD). |
broadcast | String | Broadcast information string. |
highlights | String | |
notes_type | String | Notes type. |
notes_headline | String | Notes headline. |
broadcast_market | String | Broadcast market label (e.g. 'national', 'home'). |
broadcast_name | String | Broadcast name. |
type_id | Int32 | Type identifier (numeric). |
type_abbreviation | String | Type abbreviation. |
venue_id | Int32 | Unique venue identifier. |
venue_full_name | String | Venue full name. |
venue_address_city | String | Venue address city. |
venue_indoor | Boolean | TRUE if the venue is indoors. |
status_clock | Float64 | Status clock. |
status_display_clock | String | Status display clock. |
status_period | Float64 | Status period. |
status_type_id | Int32 | ESPN'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_name | String | ESPN'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_state | String | ESPN's coarse game state, passed through unchanged: pre, in or post. post covers every game that is over, whatever the reason. |
status_type_completed | Boolean | ESPN'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_description | String | ESPN's display text for the game status (for example "Final" or "Postponed"), passed through unchanged. |
status_type_detail | String | ESPN's longer status text, passed through unchanged; an overtime final reads like "Final/OT". |
status_type_short_detail | String | ESPN's short status text for scoreboards, passed through unchanged. |
format_regulation_periods | Float64 | Format regulation periods. |
home_id | Int32 | Unique identifier for home. |
home_uid | String | Home team's uid. |
home_location | String | Home team's location. |
home_name | String | Home name. |
home_abbreviation | String | Home team's abbreviation. |
home_display_name | String | Home display name. |
home_short_display_name | String | Home short display name. |
home_color | String | Color code (hex) for home. |
home_alternate_color | String | Color code (hex) for home alternate. |
home_is_active | Boolean | Home team's is active. |
home_venue_id | Int32 | Unique identifier for home venue. |
home_logo | String | Home team logo URL. |
home_score | Int32 | Home 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_winner | Boolean | Home team's winner. |
home_linescores | String | Period-by-period points for the home team, stringified from ESPN's linescores array. |
home_records | String | Home team's records at game time (overall, home, away), stringified from ESPN. |
away_id | Int32 | Unique identifier for away. |
away_uid | String | Away team's uid. |
away_location | String | Away team's location. |
away_name | String | Away name. |
away_abbreviation | String | Away team's abbreviation. |
away_display_name | String | Away display name. |
away_short_display_name | String | Away short display name. |
away_color | String | Color code (hex) for away. |
away_alternate_color | String | Color code (hex) for away alternate. |
away_is_active | Boolean | Away team's is active. |
away_venue_id | Int32 | Unique identifier for away venue. |
away_logo | String | Away team logo URL. |
away_score | Int32 | Away 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_winner | Boolean | Away team's winner. |
away_linescores | String | Period-by-period points for the away team, stringified from ESPN's linescores array. |
away_records | String | Away team's records at game time (overall, home, away), stringified from ESPN. |
game_id | Int32 | Unique game identifier. |
season | Int32 | Season year. |
season_type | Int32 | Season type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats). |
venue_address_state | String | Venue address state / region. |
status_type_alt_detail | String | Status type alt detail. |
game_json | Boolean | |
game_json_url | String | |
game_date_time | Datetime(time_unit='us', time_zone='America/New_York') | Game start date/time (ISO 8601). |
game_date | Date | Game date (YYYY-MM-DD). |
PBP | Boolean | |
team_box | Boolean | Team box. |
player_box | Boolean | Player 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_name | type | description |
|---|---|---|
season | Int32 | Season year. |
game_id | Int32 | Unique game identifier. |
team_id | Int32 | Unique team identifier. |
team_slug | String | URL-safe team identifier (e.g. 'lasvegas-aces' / 'aces'). |
team_abbreviation | String | Short team abbreviation (e.g. 'LAS'). |
team_display_name | String | Full team display name. |
home_away | String | Game venue label ('home' or 'away'). |
athlete_id | Int32 | Unique athlete identifier (ESPN). |
athlete_uid | String | ESPN athlete UID (universal identifier). |
athlete_guid | String | ESPN athlete GUID. |
athlete_display_name | String | Athlete display name (full). |
athlete_short_name | String | Athlete short display name. |
athlete_first_name | String | |
athlete_last_name | String | |
athlete_jersey | String | Athlete jersey number. |
athlete_position | String | Athlete position. |
athlete_headshot | String | URL of the player's headshot image. |
starter | Boolean | TRUE if the player was in the starting lineup; FALSE otherwise. |
did_not_play | Boolean | TRUE if the player did not appear in the game. |
active | Boolean | TRUE if the row represents an active record (player / team / season). |
ejected | Boolean | TRUE if the player was ejected from the game. |
reason | String | Reason. |
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_name | type | description |
|---|---|---|
season | Int32 | Season year. |
game_id | Int32 | Unique game identifier. |
official_full_name | String | Full 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_name | String | ESPN'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_position | String | ESPN'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_id | Int32 | ESPN's numeric identifier for the official's assignment slot, constant at 40 (Referee) across every released NBA season. |
official_order | Int32 | The 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_name | type | description |
|---|---|---|
game_id | Int32 | Unique game identifier. |
season | Int32 | Season year. |
period_number | Int32 | Numeric period (1-4 for quarters; 5+ for OT). |
clock_display_value | String | Game clock display string (e.g. '8:32'). |
team_id | Int32 | Unique team identifier. |
athlete_id_1 | Int32 | Primary athlete identifier (e.g. shooter). |
athlete_id_2 | Int32 | Secondary athlete identifier (e.g. assister / fouler). |
type_id | Int32 | Type identifier (numeric). |
type_text | String | Display text for the type field. |
scoring_play | Boolean | TRUE if the play resulted in points scored. |
score_value | Int32 | Point value of the play (2 / 3 / 1). |
coordinate_x | Float64 | X coordinate on the court (half-court layout). |
coordinate_y | Float64 | Y coordinate on the court (half-court layout). |
coordinate_x_raw | Float64 | X coordinate as returned by the API before any adjustment. |
coordinate_y_raw | Float64 | Y coordinate as returned by the API before any adjustment. |
athlete_name_1 | String | Name of the shooter on the attempt. |
athlete_name_2 | String | Name of the secondary athlete on the attempt (e.g. the assister). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_mascot | String | Mascot (nickname) portion of the shooting team's name. |
team_abbrev | String | Abbreviation 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_name | type | description |
|---|---|---|
season | Int32 | Season year. |
group_id | String | ESPN group id. |
group_name | String | |
group_abbreviation | String | |
group_short_name | String | ESPN'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_id | Int32 | Unique team identifier. |
team_uid | String | ESPN universal team identifier (UID format 's:40~l:...~t:...'). |
team_slug | String | URL-safe team identifier (e.g. 'lasvegas-aces' / 'aces'). |
team_location | String | Team city or location string. |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_abbreviation | String | Short team abbreviation (e.g. 'LAS'). |
team_display_name | String | Full team display name. |
team_short_display_name | String | Short team display name (e.g. 'Aces'). |
team_color | String | Team primary color (hex without leading '#'). |
team_alternate_color | String | Team alternate color (hex without leading '#'). |
team_logo | String | Team logo image URL. |
stat_name | String | Stat key. |
stat_display_name | String | Stat display name. |
stat_short_display_name | String | |
stat_description | String | ESPN'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_abbreviation | String | ESPN'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_type | String | Stat type code (e.g. "win", "loss"). |
display_value | String | Display-formatted value. |
value | Float64 | Numeric 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_name | type | description |
|---|---|---|
season | Int32 | Season year. |
round | Int32 | Tournament / playoff round. |
round_display_name | String | ESPN'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. |
pick | Int32 | Pick number within the round. |
overall_pick | Int32 | Overall pick. |
pick_traded | String | ESPN'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_notes | String | Free-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_id | Int32 | Unique athlete identifier (ESPN). |
athlete_uid | String | ESPN athlete UID (universal identifier). |
athlete_guid | String | ESPN athlete GUID. |
athlete_first_name | String | |
athlete_last_name | String | |
athlete_full_name | String | |
athlete_display_name | String | Athlete display name (full). |
athlete_short_name | String | Athlete short display name. |
athlete_height | String | |
athlete_weight | String | |
athlete_position_abbreviation | String | Athlete position abbreviation (G / F / C). |
athlete_position_name | String | Athlete position ('Guard', 'Forward', 'Center'). |
athlete_headshot_href | String | Athlete headshot image URL. |
college_id | Int32 | Unique identifier for college. |
college_name | String | College / pre-draft team. |
college_short_name | String | |
college_abbreviation | String | Abbreviation 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_id | Int32 | Unique team identifier. |
team_uid | String | ESPN universal team identifier (UID format 's:40~l:...~t:...'). |
team_slug | String | URL-safe team identifier (e.g. 'lasvegas-aces' / 'aces'). |
team_location | String | Team city or location string. |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_abbreviation | String | Short team abbreviation (e.g. 'LAS'). |
team_display_name | String | Full team display name. |
team_short_display_name | String | Short team display name (e.g. 'Aces'). |
team_color | String | Team primary color (hex without leading '#'). |
team_alternate_color | String | Team alternate color (hex without leading '#'). |
team_logo | String | Team 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_name | type | description |
|---|---|---|
season | Int32 | Season year. |
team_id | Int32 | Unique team identifier. |
team_slug | String | URL-safe team identifier (e.g. 'lasvegas-aces' / 'aces'). |
team_abbreviation | String | Short team abbreviation (e.g. 'LAS'). |
team_display_name | String | Full team display name. |
team_short_display_name | String | Short team display name (e.g. 'Aces'). |
team_color | String | Team primary color (hex without leading '#'). |
team_alternate_color | String | Team alternate color (hex without leading '#'). |
team_logo | String | Team logo image URL. |
athlete_id | Int32 | Unique athlete identifier (ESPN). |
uid | String | ESPN UID string. |
guid | String | Stable cross-league team GUID. |
full_name | String | Player's full name. |
display_name | String | Display name. |
short_name | String | Short display name. |
first_name | String | Player's first name. |
last_name | String | Player's last name. |
jersey | String | Jersey number worn by the player. |
position_abbreviation | String | Position abbreviation ('G' / 'F' / 'C'). |
position_name | String | Listed roster position ('Guard', 'Forward', 'Center'). |
position_id | String | Unique position identifier. |
height | String | Player height (string e.g. '6-2' or inches). |
weight | String | Player weight in pounds. |
age | String | Player age (in years). |
date_of_birth | String | Date of birth (YYYY-MM-DD). |
birth_place_city | String | Birth place city. |
birth_place_state | String | Birth place state. |
birth_place_country | String | Birth place country. |
experience_years | String | Experience years. |
experience_display_value | String | Experience display value. |
headshot_href | String | Headshot image URL. |
headshot_alt | String | Alternative-text label for the headshot. |
link_web | String | Web link / URL. |
status_id | String | Status identifier. |
status_name | String | Status label. |
status_type | String | Status 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
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_name | type | description |
|---|---|---|
as_of_date | Date | Date 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). |
league | String | League slug of the source ESPN depth chart, always 'nba'. |
season | Int64 | ESPN season, the ENDING year (2027 = 2026-27). |
season_type | Int64 | ESPN season type at the snapshot (1 preseason, 2 regular season). |
team_id | Int64 | ESPN 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_name | String | Full team name as ESPN displays it (e.g. 'Atlanta Hawks'). |
team_abbreviation | String | ESPN team abbreviation (e.g. 'ATL'). |
group_id | Int64 | ESPN depth-chart group id; NBA teams publish a single group, 1. |
group_name | String | Name of the ESPN depth-chart group, 'Depth Chart' for every NBA row. |
position_slot | String | Lower-case position key of the slot on the chart (pg, sg, sf, pf, c). |
position_id | Int64 | ESPN position id of the slot (1 PG, 2 SG, 5 SF, 6 PF, 9 C). |
position_abbreviation | String | Upper-case position abbreviation of the slot (PG, SG, SF, PF, C). |
position_name | String | Full position name of the slot (e.g. 'Point Guard'). |
depth_rank | Int64 | Order of the athlete within the slot, 1 = starter; the chart lists each team's whole roster. |
athlete_id | Int64 | ESPN athlete id of the listed player. |
athlete_display_name | String | Player's full name as ESPN displays it. |
athlete_short_name | String | Player's abbreviated name as ESPN displays it (e.g. 'O. Okongwu'). |
espn_timestamp | String | ESPN'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
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_name | type | description |
|---|---|---|
season | Int32 | Season year. |
season_type | String | Season type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats). |
game_date | Date | Game date (YYYY-MM-DD). |
home_espn_team_id | Int32 | ESPN home team id (NA for bart-only rows). |
away_espn_team_id | Int32 | ESPN away team id (NA for bart-only rows). |
espn_game_id | Int32 | ESPN game id (NA for bart-only rows). |
nba_game_id | String | NBA Stats 10-character game id matched to the ESPN game in the crosswalk. |
nba_game_code | String | NBA game code (date and matchup string) from the NBA Stats API. |
nba_home_team_id | Int64 | NBA Stats team id of the home team. |
nba_away_team_id | Int64 | NBA Stats team id of the away team. |
fox_game_id | String | Fox 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_id | String | Fox 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_id | String | Fox 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_id | String | Yahoo Sports game id, nba.g. |
match_method | String | Combination of matched sources, e.g. "fox+bart" / "fox_only" / "bart_only" / "espn_only". |
match_confidence | Float64 | Jaro-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
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_name | type | description |
|---|---|---|
league | String | League code of the table ("nba"); the prefix of every group_id in it. |
group_id | String | SDV 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. |
level | String | Hierarchy level of the group: "league", "subdivision", "conference" or "division". |
first_season | Int32 | First season in which the group had at least one member (ENDING year: 2025 = the 2024-25 season). |
last_season | Int32 | Last season in which the group had at least one member (ENDING year: 2025 = the 2024-25 season). |
notes | String | Builder 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
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_name | type | description |
|---|---|---|
league | String | League code of the table ("nba"); the prefix of every group_id in it. |
group_id | String | SDV 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. |
season | Int32 | Season the row describes (ENDING year: 2025 = the 2024-25 season). |
level | String | Hierarchy level of the group: "league", "subdivision", "conference" or "division". |
name | String | Full name of the group as of that season -- the label in use then, not today's name. |
short_name | String | Short display name of the group as of that season. |
abbreviation | String | Abbreviation of the group as of that season. |
parent_group_id | String | group_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_teams | Int32 | Number 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
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_name | type | description |
|---|---|---|
league | String | League code of the table ("nba"); the prefix of every group_id in it. |
group_id | String | SDV 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. |
source | String | Source that uses this label or id (in this table: espn, nba_stats, sdv); "sdv" marks SDV's own labels. |
source_id | String | The 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_kind | String | Kind of label in value: "name", "short_name", "abbreviation", "slug" or "code". |
value | String | The label exactly as the source writes it; match a source's conference or division label against it to reach group_id. |
valid_from | Int32 | First season the alias is valid for, inclusive (ENDING year: 2025 = the 2024-25 season); null = unbounded. |
valid_to | Int32 | Last season the alias is valid for, inclusive (ENDING year: 2025 = the 2024-25 season); null = unbounded (still in use). |
load_nba_group_aliases()