Skip to main content

MBB dataset loaders — Team

load_mbb_team_boxscore​

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

Returns​

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

load_mbb_team_season_stats​

Release: espn_mens_college_basketball_team_season_stats · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_mens_college_basketball_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.
stat_descriptionStringESPN's prose glossary definition of the statistic named in stat_name, for example defining field goal percentage as the ratio of field goals made to field goals attempted.
display_valueStringDisplay-formatted value.
valueFloat64Numeric or string value field.
load_mbb_team_season_stats(seasons=2025)

load_mbb_team_crosswalk​

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

Returns​

col_nametypedescription
seasonInt32Season year.
espn_team_idInt32ESPN team id (canonical key).
espn_abbreviationStringESPN abbreviation.
espn_display_nameStringESPN display name (school + mascot).
espn_short_nameStringESPN short name.
espn_locationStringESPN school/location only.
espn_mascotStringESPN mascot/nickname.
espn_conferenceStringESPN conference name.
fox_team_idStringFox Bifrost team id (NA if unmatched).
fox_team_nameStringFox team name (NA if unmatched).
fox_sectionStringFox conference/section label (NA if unmatched).
bart_teamStringTorvik team name (NA if unmatched).
bart_confStringTorvik conference abbreviation (NA if unmatched).
kp_teamStringKenPom team name (NA if unmatched).
kp_confStringKenPom conference abbreviation (NA if unmatched).
yahoo_team_idStringYahoo team id (NA placeholder).
yahoo_team_nameStringYahoo team name (NA placeholder).
fox_match_confidenceFloat641 for matched, NA for unmatched.
bart_match_confidenceFloat641 for matched, NA for unmatched.
kp_match_confidenceFloat641 for matched, NA for unmatched.
match_methodStringCombination of matched sources, e.g. "fox+bart" / "fox_only" / "bart_only" / "espn_only".
load_mbb_team_crosswalk(seasons=2026)

load_mbb_team_group_seasons​

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

Coverage

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

Returns​

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