Skip to main content
Version: 0.0.74

NBA dataset loaders

flowchart LR
raw["scrape / raw"] --> enrich["enrich"] --> rel["release asset"] --> load["load_*()"]

Automation status

DatasetRelease tagPipeline
load_nba_pbpespn_nba_pbp
load_nba_player_boxscoreespn_nba_player_boxscores
load_nba_scheduleespn_nba_schedules
load_nba_team_boxscoreespn_nba_team_boxscores
load_nba_game_rostersespn_nba_game_rosters
load_nba_officialsespn_nba_officials
load_nba_shotsespn_nba_shots
load_nba_standingsespn_nba_standings
load_nba_player_season_statsespn_nba_player_season_stats
load_nba_team_season_statsespn_nba_team_season_stats
load_nba_draftespn_nba_draft
load_nba_rostersespn_nba_rosters
load_nba_stats_schedulesnba_stats_schedules
load_nba_player_impactnba_player_impact

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
idFloat64Id.
sequence_numberStringSequence 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).
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.
seasonInt32Season year.
season_typeInt32Season type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats).
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.
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.
home_team_spreadFloat64Home team's point spread.
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.
game_idInt32Unique game identifier.
qtrInt32Quarter (1-4) or OT period (5+).
timeStringTime / clock value.
clock_minutesInt32Clock minutes split out for convenience.
clock_secondsFloat64Clock seconds split out for convenience.
halfStringHalf of the game (1 or 2).
game_halfStringHalf of the game (1 or 2).
lead_qtrInt32Quarter lead (the next-play's quarter).
lead_game_halfStringHalf lead (the next-play's half).
start_quarter_seconds_remainingInt32Seconds remaining in the period at the start of the play.
start_half_seconds_remainingInt32Seconds remaining in the half at the start of the play.
start_game_seconds_remainingInt32Seconds remaining in the game at the start of the play.
game_play_numberInt32Sequential play number within the game.
end_quarter_seconds_remainingInt32Seconds remaining in the period at the end of the play.
end_half_seconds_remainingInt32Seconds remaining in the half at the end of the play.
end_game_seconds_remainingInt32Seconds remaining in the game at the end of the play.
periodInt32Period of the game (1-4 quarters; 5+ for OT).
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.
lag_qtrInt32Quarter lag (the previous-play's quarter).
lag_game_halfStringHalf lag (the previous-play's half).
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).
type_abbreviationStringType abbreviation.
load_nba_pbp(seasons=2024)

load_nba_player_boxscore

Release: espn_nba_player_boxscores · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_nba_player_boxscores/player_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).
athlete_idInt32Unique athlete identifier (ESPN).
athlete_display_nameStringAthlete display name (full).
team_idInt32Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_locationStringTeam city or location string.
team_short_display_nameStringShort team display name (e.g. 'Aces').
minutesFloat64Minutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
field_goals_madeInt32Field goals made (2-pt + 3-pt).
field_goals_attemptedInt32Field goal attempts (2-pt + 3-pt).
three_point_field_goals_madeInt32Three-point field goals made.
three_point_field_goals_attemptedInt32Three-point field goal attempts.
free_throws_madeInt32Free throws made.
free_throws_attemptedInt32Free throw attempts.
offensive_reboundsInt32Offensive rebounds.
defensive_reboundsInt32Defensive rebounds.
reboundsInt32Total rebounds.
assistsInt32Total assists.
stealsInt32Total steals.
blocksInt32Total blocks.
turnoversInt32Total turnovers.
foulsInt32Personal fouls.
plus_minusStringPlus/minus point differential while on court.
pointsInt32Points scored.
starterBooleanTRUE if the player was in the starting lineup; FALSE otherwise.
ejectedBooleanTRUE if the player was ejected from the game.
did_not_playBooleanTRUE if the player did not appear in the game.
activeBooleanTRUE if the row represents an active record (player / team / season).
athlete_jerseyStringAthlete jersey number.
athlete_short_nameStringAthlete short display name.
athlete_headshot_hrefStringAthlete headshot image URL.
athlete_position_nameStringAthlete position ('Guard', 'Forward', 'Center').
athlete_position_abbreviationStringAthlete position abbreviation (G / F / C).
team_display_nameStringFull team display name.
team_uidStringESPN universal team identifier (UID format 's:40~l:...~t:...').
team_slugStringURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
team_logoStringTeam logo image URL.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_colorStringTeam primary color (hex without leading '#').
team_alternate_colorStringTeam alternate color (hex without leading '#').
home_awayStringGame venue label ('home' or 'away').
team_winnerBooleanTRUE if the team won this game.
team_scoreInt32Team's score / final score.
opponent_team_idInt32Unique identifier for the opponent team.
opponent_team_nameStringOpponent team display name.
opponent_team_locationStringOpponent team city / location.
opponent_team_display_nameStringOpponent team full display name.
opponent_team_abbreviationStringOpponent team abbreviation.
opponent_team_logoStringOpponent team logo URL.
opponent_team_colorStringOpponent team primary color (hex).
opponent_team_alternate_colorStringOpponent team alternate color (hex).
opponent_team_scoreInt32Opponent team's score.
load_nba_player_boxscore(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.
recentBooleanRecent.
start_dateStringStart date (YYYY-MM-DD).
notes_typeStringNotes type.
notes_headlineStringNotes headline.
type_idInt32Type identifier (numeric).
type_abbreviationStringType abbreviation.
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_logoStringHome team logo URL.
home_scoreInt32Home team score at the time of the play.
home_winnerBooleanHome team's winner.
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_logoStringAway team logo URL.
away_scoreInt32Away team score at the time of the play.
away_winnerBooleanAway team's winner.
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_idInt32Unique venue identifier.
venue_full_nameStringVenue full name.
venue_address_cityStringVenue address city.
venue_address_stateStringVenue address state / region.
venue_capacityFloat64Venue seating capacity.
venue_indoorBooleanTRUE if the venue is indoors.
status_type_alt_detailStringStatus type alt detail.
game_jsonBooleanWhether processed game JSON is available.
game_json_urlStringURL to the processed game JSON.
game_date_timeDatetime(time_unit='us', time_zone='America/New_York')Game start date/time (ISO 8601).
game_dateDateGame date (YYYY-MM-DD).
PBPBooleanWhether play-by-play data is available.
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.
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.
largest_leadStringLargest lead during the game.
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_nameStringPlayer first name; athlete_detail = TRUE only.
athlete_last_nameStringAthlete last name.
athlete_jerseyStringAthlete jersey number.
athlete_positionStringPlayer position name; athlete_detail = TRUE only.
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.
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_nameStringGroup name (conference / division).
group_abbreviationStringGroup abbreviation.
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 (from displayNames).
stat_short_display_nameStringShort human-readable stat name.
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_player_season_stats

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

Returns

col_nametypedescription
seasonInt32Season year.
athlete_idInt32Unique athlete identifier (ESPN).
athlete_display_nameStringAthlete display name (full).
athlete_position_abbreviationStringAthlete position abbreviation (G / F / C).
athlete_jerseyStringAthlete jersey number.
team_idInt32Unique team identifier.
team_slugStringURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
team_display_nameStringFull team display name.
categoryStringCategory label.
stat_labelStringHuman-readable label of the statistic (e.g. 'At bats').
stat_nameStringStat key.
stat_display_nameStringStat display name (from displayNames).
stat_descriptionStringESPN's prose definition of the statistic on this row, for example the ratio of field goals made to field goals attempted; for the paired Made-Attempted stats it is the two definitions joined with a hyphen.
display_valueStringDisplay-formatted value.
valueFloat64Numeric or string value field.
load_nba_player_season_stats(seasons=2025)

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_labelStringHuman-readable label of the statistic (e.g. 'At bats').
stat_nameStringStat key.
stat_display_nameStringStat display name (from displayNames).
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 number in the draft.
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_nameStringPlayer first name; athlete_detail = TRUE only.
athlete_last_nameStringAthlete last name.
athlete_full_nameStringDrafted player full name.
athlete_display_nameStringAthlete display name (full).
athlete_short_nameStringAthlete short display name.
athlete_heightStringAthlete height.
athlete_weightStringAthlete weight.
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_nameStringCollege short name.
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_stats_schedules

Release: nba_stats_schedules · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_schedules/schedule_{season}-26.parquet

Returns

col_nametypedescription
game_dateDateGame date (YYYY-MM-DD).
game_idStringUnique game identifier.
game_codeStringESPN game code (numeric identifier).
game_statusInt32Game status label.
game_status_textStringGame status display text (e.g. 'Final', '4:32 - 4th').
game_sequenceInt32Game sequence.
game_date_estStringGame date est.
game_time_estStringGame time est.
game_date_time_estStringGame date time est.
game_date_utcStringGame date utc.
game_time_utcStringGame start time in UTC (ISO 8601 timestamp).
game_date_time_utcStringGame date time utc.
away_team_timeStringTime / clock value.
home_team_timeStringTime / clock value.
dayStringDay number within the month.
month_numInt32Month num.
week_numberInt32Week number.
week_nameStringWeek name.
if_necessaryStringIf necessary.
series_game_numberStringSeries game number.
game_labelStringThe stats.nba.com event label naming the round or special event a game belongs to, such as NBA Finals, East First Round, Emirates NBA Cup or NBA Mexico City Game; an empty string for an ordinary regular-season game.
game_sub_labelStringSecondary label for special-event games (e.g. 'NBA Abu Dhabi Game'); an empty string for ordinary games rather than null.
series_textStringSeries text.
arena_nameStringArena name.
arena_stateStringArena state.
arena_cityStringArena city.
postponed_statusStringPostponed status.
branch_linkStringBranch link.
game_subtypeStringGame subtype.
is_neutralBooleanTrue when the game was played at a neutral site.
home_team_idInt32Unique identifier for the home team.
home_team_nameStringHome team name.
home_team_cityStringHome team city / location.
home_team_tricodeStringHome team three-letter code.
home_team_slugStringHome team's team slug.
home_team_winsInt32Home team's team wins.
home_team_lossesInt32Home team's team losses.
home_team_scoreInt32Home team's score.
home_team_seedInt32Home team's team seed.
away_team_idInt32Unique identifier for the away team.
away_team_nameStringAway team name.
away_team_cityStringAway team city / location.
away_team_tricodeStringAway team three-letter code.
away_team_slugStringAway team's team slug.
away_team_winsInt32Away team's team wins.
away_team_lossesInt32Away team's team losses.
away_team_scoreInt32Away team's score.
away_team_seedInt32Away team's team seed.
seasonInt32Season year.
league_idStringLeague identifier ('10' = WNBA).
season_type_idStringUnique identifier for season type.
season_type_descriptionStringSeason type description.
load_nba_stats_schedules(seasons=2025)

load_nba_player_impact

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

Returns

col_nametypedescription
player_idInt64Unique player identifier.
player_nameUtf8Player name.
team_idInt64Unique team identifier.
team_abbreviationUtf8Short team abbreviation (e.g. 'LAS').
team_nameUtf8Full team display name (e.g. 'Las Vegas Aces').
teamsUtf8Nested list of member-team membership spans.
o_rapmFloat64Offensive regularized adjusted plus-minus per 100 possessions from the single-season ridge fit over possession-level lineup indicators; positive means the player raised his team's scoring rate while on offense.
d_rapmFloat64Defensive regularized adjusted plus-minus per 100 possessions, negated from the raw points-allowed coefficient so a positive value marks a defender who suppresses opponent scoring.
rapmFloat64Total regularized adjusted plus-minus per 100 possessions, exactly the sum of o_rapm and d_rapm.
off_possInt64Number of possessions the player was on the floor on offense, the count of design-matrix rows carrying his offensive indicator and therefore the offensive-side sample size behind o_rapm.
def_possInt64Number of possessions the player was on the floor on defense, the sample size behind d_rapm; it tracks off_poss almost exactly because substitutions rarely split an offense-defense pair.
o_adj_rapmFloat64Offensive regularized adjusted plus/minus after the ridge opponent adjustment.
d_adj_rapmFloat64Defensive regularized adjusted plus/minus after the ridge opponent adjustment.
adj_rapmFloat64Total prior-informed RAPM per 100 possessions, exactly the sum of o_adj_rapm and d_adj_rapm.
ospmFloat64Offensive statistical plus-minus per 100 possessions: the player's per-100 box-score feature vector scored through ridge coefficients trained on that season's o_rapm target.
dspmFloat64Defensive statistical plus-minus per 100 possessions from the same box-score feature vector scored through coefficients trained on the d_rapm target.
spmFloat64Total statistical plus-minus per 100 possessions, exactly the sum of ospm and dspm.
minFloat64Minutes played.
gpInt64Games played.
obpmFloat64Offensive box plus/minus.
dbpmFloat64Defensive box plus/minus.
bpmFloat64Career box plus/minus.
warFloat64Wins above replacement, computed as (rapm minus a replacement level of -2.0 per 100) times total possessions divided by 100, divided by a points-per-win constant calibrated each season by regressing team wins on full-season point margin.
darko_filtered_skillFloat64DARKO-style Kalman-filtered skill estimate at the end of the player's observed multi-season RAPM panel, i.e. his current-form rating after aging drift and possession-weighted observation noise.
darko_projected_ratingFloat64One-season-ahead DARKO forecast, the filtered skill plus the empirical aging-curve drift at the player's last observed age; both season_type rows of a player-season carry the same value because the projection is not playoff-specific.
darko_projected_sdFloat64Standard deviation of the one-season-ahead DARKO forecast, the square root of the filtered state variance plus the Kalman process variance; it sits at roughly 10.19 for a player with only one season in the panel, whose diffuse prior variance was never updated.
seasonInt64Season year.
load_nba_player_impact(seasons=2024)