Skip to main content

MBB dataset loaders — NCAA (stats.ncaa.org)

load_ncaa_mbb_pbp​

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

Returns​

col_nametypedescription
game_dateStringGame date (YYYY-MM-DD).
homeStringHome.
awayStringAway record.
periodInt64Period of the game (1-4 quarters; 5+ for OT).
clockStringGame clock value.
game_timeStringGame start time.
game_secondsInt64Elapsed seconds in the game.
home_scoreInt64Home team score at the time of the play.
away_scoreInt64Away team score at the time of the play.
event_teamStringTeam associated with the shift change.
event_descriptionStringHuman-readable event description.
player_1StringName of the primary player credited on the event (shooter, fouler, rebounder, etc.), as scraped from stats.ncaa.org.
player_2StringName of the secondary player on the event (e.g., the assister or the player subbed for), when present.
event_typeStringEvent / play type code (V2 PBP).
event_resultStringOutcome of the event, e.g. made or missed for shot attempts.
shot_valueInt64Point value of the shot (2 or 3).
event_lengthInt64Seconds elapsed between this event and the previous event in the game.
poss_numInt64Sequential possession number within the game that the event belongs to.
poss_teamStringName of the team in possession when the event occurred.
poss_lengthInt64Duration of the enclosing possession in seconds.
is_transitionBooleanFlag marking events that occurred in transition, within the opening seconds of the possession.
home_1StringName of the home team's on-floor player in lineup slot 1 for the event, from the substitution walk-forward.
home_2StringName of the home team's on-floor player in lineup slot 2 for the event, from the substitution walk-forward.
home_3StringName of the home team's on-floor player in lineup slot 3 for the event, from the substitution walk-forward.
home_4StringName of the home team's on-floor player in lineup slot 4 for the event, from the substitution walk-forward.
home_5StringName of the home team's on-floor player in lineup slot 5 for the event, from the substitution walk-forward.
away_1StringName of the away team's on-floor player in lineup slot 1 for the event, from the substitution walk-forward.
away_2StringName of the away team's on-floor player in lineup slot 2 for the event, from the substitution walk-forward.
away_3StringName of the away team's on-floor player in lineup slot 3 for the event, from the substitution walk-forward.
away_4StringName of the away team's on-floor player in lineup slot 4 for the event, from the substitution walk-forward.
away_5StringName of the away team's on-floor player in lineup slot 5 for the event, from the substitution walk-forward.
statusStringStatus label.
is_garbage_timeBooleanFlag marking events in garbage time under the score-margin and clock rule of the pbp builder.
sub_deviateInt64Per-game count of substitution-tracking deviations found while walking lineups forward; nonzero flags imperfect substitution data.
contest_idStringstats.ncaa.org contest (game) identifier.
home_ncaa_team_idStringstats.ncaa.org team identifier for the home team.
home_espn_team_idStringESPN home team id (NA for bart-only rows).
away_ncaa_team_idStringstats.ncaa.org team identifier for the away team.
away_espn_team_idStringESPN away team id (NA for bart-only rows).
event_team_ncaa_team_idStringstats.ncaa.org team identifier of the team credited with the event.
event_team_espn_team_idStringESPN team identifier of the team credited with the event, via the NCAA-to-ESPN crosswalk.
poss_team_ncaa_team_idStringstats.ncaa.org team identifier of the team in possession.
poss_team_espn_team_idStringESPN team identifier of the team in possession, via the NCAA-to-ESPN crosswalk.
player_1_idStringstats.ncaa.org player identifier for player_1, resolved through the roster name matcher.
player_1_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name for player_1.
player_2_idStringstats.ncaa.org player identifier for player_2, resolved through the roster name matcher.
player_2_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name for player_2.
home_1_player_idStringstats.ncaa.org player identifier for the home slot-1 on-floor player.
home_1_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the home slot-1 on-floor player.
home_2_player_idStringstats.ncaa.org player identifier for the home slot-2 on-floor player.
home_2_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the home slot-2 on-floor player.
home_3_player_idStringstats.ncaa.org player identifier for the home slot-3 on-floor player.
home_3_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the home slot-3 on-floor player.
home_4_player_idStringstats.ncaa.org player identifier for the home slot-4 on-floor player.
home_4_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the home slot-4 on-floor player.
home_5_player_idStringstats.ncaa.org player identifier for the home slot-5 on-floor player.
home_5_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the home slot-5 on-floor player.
away_1_player_idStringstats.ncaa.org player identifier for the away slot-1 on-floor player.
away_1_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the away slot-1 on-floor player.
away_2_player_idStringstats.ncaa.org player identifier for the away slot-2 on-floor player.
away_2_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the away slot-2 on-floor player.
away_3_player_idStringstats.ncaa.org player identifier for the away slot-3 on-floor player.
away_3_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the away slot-3 on-floor player.
away_4_player_idStringstats.ncaa.org player identifier for the away slot-4 on-floor player.
away_4_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the away slot-4 on-floor player.
away_5_player_idStringstats.ncaa.org player identifier for the away slot-5 on-floor player.
away_5_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the away slot-5 on-floor player.
espn_game_idStringESPN game id (NA for bart-only rows).
is_fastbreakBooleanFlag marking the shot as a fast-break attempt, from the stats.ncaa.org play text.
is_from_turnoverBooleanFlag marking an attempt generated off an opponent turnover.
is_paintBooleanFlag marking the shot as attempted in the paint.
is_second_chanceBooleanFlag marking a second-chance attempt following an offensive rebound.
assist_playerStringName of the player credited with the assist on a made shot, when present.
ft_numberInt64Which free throw of the trip this attempt is (1 of 2, 2 of 2, etc.).
ft_attemptsInt64Total free throws in the trip this attempt belongs to.
foul_classStringParsed category of the foul event (e.g. personal, offensive).
is_shooting_foulBooleanFlag marking the foul as a shooting foul.
is_looseball_foulBooleanFlag marking the foul as a loose-ball foul.
is_one_and_oneBooleanFlag marking a bonus one-and-one free-throw trip.
is_flagrantBooleanFlag marking the foul as flagrant.
foul_tech_classStringParsed technical-foul class for technical foul events, when present.
ft_awardedInt64Number of free throws awarded by the foul.
turnover_typeStringParsed turnover subtype (e.g. lost ball, bad pass, travel).
is_team_turnoverBooleanFlag marking a turnover charged to the team rather than an individual player.
timeout_typeStringType of timeout called (e.g. full, 30-second, media).
challenge_outcomeStringOutcome of a coach's challenge or video-review event, when present.
seasonInt64Season year.
load_ncaa_mbb_pbp(seasons=2024)

load_ncaa_mbb_schedule​

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

Returns​

col_nametypedescription
contest_idStringstats.ncaa.org contest (game) identifier.
game_dateStringGame date (YYYY-MM-DD).
homeStringHome.
awayStringAway record.
home_scoreInt64Home team score at the time of the play.
away_scoreInt64Away team score at the time of the play.
seasonInt64Season year.
load_ncaa_mbb_schedule(seasons=2024)

load_ncaa_mbb_player_box​

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

Returns​

col_nametypedescription
game_dateStringGame date (YYYY-MM-DD).
homeStringHome.
awayStringAway record.
teamStringTeam-side label or team identifier.
playerStringPlayer name.
minsFloat64Minutes played, derived from the lineup walk-forward through the play-by-play.
o_possFloat64Offensive possessions the player was on the floor for.
ptsFloat64Points scored.
orbFloat64Offensive rebounds.
drbFloat64Defensive rebounds.
astFloat64Assists.
stlFloat64Steals.
blkFloat64Blocks.
tovFloat64Turnovers.
pfFloat64Personal fouls.
ts_pctFloat64True shooting percentage (0-1).
efg_pctFloat64Effective field-goal percentage, weighting made threes at 1.5.
fgmFloat64Field goals made.
fgaFloat64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
tpmFloat64Three-point field goals made.
tpaFloat64Three-point field goals attempted.
tp_pctFloat64Three-point field-goal percentage.
ftmFloat64Free throws made.
ftaFloat64Free throw attempts.
ft_pctFloat64Free throw percentage (0-1).
rimmFloat64Rim shots (dunks, layups, hooks, tip-ins) made.
rimaFloat64Rim shots (dunks, layups, hooks, tip-ins) attempted.
rim_pctFloat64Field-goal percentage on rim attempts.
midmFloat64Mid-range (non-rim two-point) shots made.
midaFloat64Mid-range (non-rim two-point) shots attempted.
mid_pctFloat64Field-goal percentage on mid-range attempts.
pbackmFloat64Putbacks made — rim shots immediately following an offensive rebound.
pbackaFloat64Putbacks attempted — rim shots immediately following an offensive rebound.
pback_pctFloat64Field-goal percentage on putback attempts.
blk_rimFloat64Blocks recorded against opponent rim attempts.
blk_midFloat64Blocks recorded against opponent mid-range attempts.
blk_threeFloat64Blocks recorded against opponent three-point attempts.
pct_fga_transFloat64Share of the player's field-goal attempts taken in transition.
pct_tpa_transFloat64Share of the player's three-point attempts taken in transition.
pct_rima_transFloat64Share of the player's rim attempts taken in transition.
pct_fgm_transFloat64Share of the player's field-goal makes that came in transition.
pct_tpm_transFloat64Share of the player's three-point makes that came in transition.
pct_rimm_transFloat64Share of the player's rim makes that came in transition.
pct_fgm_astFloat64Share of the player's made field goals that were assisted.
pct_tpm_astFloat64Share of the player's made threes that were assisted.
pct_rimm_astFloat64Share of the player's made rim shots that were assisted.
pts_transFloat64Points scored in transition possessions.
orb_transFloat64Offensive rebounds in transition possessions.
drb_transFloat64Defensive rebounds in transition possessions.
ast_transFloat64Assists in transition possessions.
stl_transFloat64Steals in transition possessions.
blk_transFloat64Blocks in transition possessions.
tov_transFloat64Turnovers in transition possessions.
ts_pct_transFloat64True-shooting percentage in transition possessions.
efg_pct_transFloat64Effective field-goal percentage in transition possessions.
fgm_transFloat64Field goals made in transition possessions.
fga_transFloat64Field goals attempted in transition possessions.
fg_pct_transFloat64Field-goal percentage in transition possessions.
tpm_transFloat64Three-pointers made in transition possessions.
tpa_transFloat64Three-pointers attempted in transition possessions.
tp_pct_transFloat64Three-point percentage in transition possessions.
ftm_transFloat64Free throws made in transition possessions.
fta_transFloat64Free throws attempted in transition possessions.
ft_pct_transFloat64Free-throw percentage in transition possessions.
rimm_transFloat64Rim shots made in transition possessions.
rima_transFloat64Rim shots attempted in transition possessions.
rim_pct_transFloat64Rim field-goal percentage in transition possessions.
midm_transFloat64Mid-range shots made in transition possessions.
mida_transFloat64Mid-range shots attempted in transition possessions.
mid_pct_transFloat64Mid-range field-goal percentage in transition possessions.
pts_halfFloat64Points scored in halfcourt possessions.
orb_halfFloat64Offensive rebounds in halfcourt possessions.
drb_halfFloat64Defensive rebounds in halfcourt possessions.
ast_halfFloat64Assists in halfcourt possessions.
stl_halfFloat64Steals in halfcourt possessions.
blk_halfFloat64Blocks in halfcourt possessions.
tov_halfFloat64Turnovers in halfcourt possessions.
ts_pct_halfFloat64True-shooting percentage in halfcourt possessions.
efg_pct_halfFloat64Effective field-goal percentage in halfcourt possessions.
fgm_halfFloat64Field goals made in halfcourt possessions.
fga_halfFloat64Field goals attempted in halfcourt possessions.
fg_pct_halfFloat64Field-goal percentage in halfcourt possessions.
tpm_halfFloat64Three-pointers made in halfcourt possessions.
tpa_halfFloat64Three-pointers attempted in halfcourt possessions.
tp_pct_halfFloat64Three-point percentage in halfcourt possessions.
ftm_halfFloat64Free throws made in halfcourt possessions.
fta_halfFloat64Free throws attempted in halfcourt possessions.
ft_pct_halfFloat64Free-throw percentage in halfcourt possessions.
rimm_halfFloat64Rim shots made in halfcourt possessions.
rima_halfFloat64Rim shots attempted in halfcourt possessions.
rim_pct_halfFloat64Rim field-goal percentage in halfcourt possessions.
midm_halfFloat64Mid-range shots made in halfcourt possessions.
mida_halfFloat64Mid-range shots attempted in halfcourt possessions.
mid_pct_halfFloat64Mid-range field-goal percentage in halfcourt possessions.
pts_astFloat64Points from the player's assisted field-goal makes.
fgm_astFloat64Assisted field-goal makes.
tpm_astFloat64Assisted three-point makes.
rimm_astFloat64Assisted rim makes.
midm_astFloat64Assisted mid-range makes.
pts_unastFloat64Points from the player's unassisted field-goal makes.
efg_pct_unastFloat64Effective field-goal percentage in the unassisted split (makes for which no assist was credited).
fgm_unastFloat64Field goals made in the unassisted split (makes for which no assist was credited).
fga_unastFloat64Field goals attempted in the unassisted split (makes for which no assist was credited).
fg_pct_unastFloat64Field-goal percentage in the unassisted split (makes for which no assist was credited).
tpm_unastFloat64Three-pointers made in the unassisted split (makes for which no assist was credited).
tpa_unastFloat64Three-pointers attempted in the unassisted split (makes for which no assist was credited).
tp_pct_unastFloat64Three-point percentage in the unassisted split (makes for which no assist was credited).
rimm_unastFloat64Rim shots made in the unassisted split (makes for which no assist was credited).
rima_unastFloat64Rim shots attempted in the unassisted split (makes for which no assist was credited).
rim_pct_unastFloat64Rim field-goal percentage in the unassisted split (makes for which no assist was credited).
midm_unastFloat64Mid-range shots made in the unassisted split (makes for which no assist was credited).
mida_unastFloat64Mid-range shots attempted in the unassisted split (makes for which no assist was credited).
mid_pct_unastFloat64Mid-range field-goal percentage in the unassisted split (makes for which no assist was credited).
contest_idStringstats.ncaa.org contest (game) identifier.
home_ncaa_team_idStringstats.ncaa.org team identifier for the home team.
home_espn_team_idStringESPN home team id (NA for bart-only rows).
away_ncaa_team_idStringstats.ncaa.org team identifier for the away team.
away_espn_team_idStringESPN away team id (NA for bart-only rows).
team_ncaa_team_idStringstats.ncaa.org team identifier of the player's team.
team_espn_team_idStringESPN team identifier of the player's team, via the NCAA-to-ESPN crosswalk.
player_idStringUnique player identifier.
clean_nameStringNormalized (diacritics- and punctuation-cleaned) player name used to join across the NCAA datasets.
espn_game_idStringESPN game id (NA for bart-only rows).
seasonInt64Season year.
load_ncaa_mbb_player_box(seasons=2024)

load_ncaa_mbb_team_box​

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

Returns​

col_nametypedescription
homeStringHome.
awayStringAway record.
teamStringTeam-side label or team identifier.
minsFloat64Minutes covered by the team's tracked lineups in the game.
o_minsFloat64Minutes spent on tracked offensive possessions.
d_minsFloat64Minutes spent on tracked defensive possessions.
o_possFloat64Offensive possessions.
d_possFloat64Defensive possessions.
ortgFloat64Offensive rating — points scored per 100 possessions.
drtgFloat64Defensive rating — points allowed per 100 possessions.
netrtgFloat64Net rating — offensive rating minus defensive rating.
ptsFloat64Points scored.
d_ptsFloat64Points allowed.
fgaFloat64Field goal attempts.
d_fgaFloat64Opponent field-goal attempts.
fgmFloat64Field goals made.
d_fgmFloat64Opponent field goals made.
tpaFloat64Three-point attempts.
d_tpaFloat64Opponent three-point attempts.
tpmFloat64Three-pointers made.
d_tpmFloat64Opponent three-pointers made.
ftaFloat64Free throw attempts.
d_ftaFloat64Opponent free-throw attempts.
ftmFloat64Free throws made.
d_ftmFloat64Opponent free throws made.
rimaFloat64Rim shots (dunks, layups, hooks, tip-ins) attempted.
d_rimaFloat64Opponent rim shots attempted.
rimmFloat64Rim shots made.
d_rimmFloat64Opponent rim shots made.
orbFloat64Offensive rebounds.
d_orbFloat64Opponent offensive rebounds.
drbFloat64Defensive rebounds.
d_drbFloat64Opponent defensive rebounds.
blkFloat64Blocks.
d_blkFloat64Opponent blocks (own shots blocked).
toFloat64To.
d_toFloat64Opponent turnovers forced.
astFloat64Assists.
d_astFloat64Opponent assists allowed.
e_possFloat64Estimated possessions — the average of the team's and the opponent's raw possession counts.
fg_pctFloat64Field goal percentage (0-1).
d_fg_pctFloat64Opponent field-goal percentage.
tppFloat64Three-point percentage.
d_tppFloat64Opponent three-point percentage.
ftpFloat64Free-throw percentage.
d_ftpFloat64Opponent free-throw percentage.
efg_pctFloat64Effective field-goal percentage, weighting made threes at 1.5.
d_efg_pctFloat64Opponent effective field-goal percentage.
ts_pctFloat64True shooting percentage (0-1).
d_ts_pctFloat64Opponent true-shooting percentage.
rim_pctFloat64Field-goal percentage on rim attempts.
d_rim_pctFloat64Opponent field-goal percentage on rim attempts.
mid_pctFloat64Field-goal percentage on mid-range attempts.
d_mid_pctFloat64Opponent field-goal percentage on mid-range attempts.
tp_rateFloat64Three-point attempts as a share of field-goal attempts.
d_tp_rateFloat64Opponent three-point attempts as a share of their field-goal attempts.
rim_rateFloat64Rim attempts as a share of field-goal attempts.
d_rim_rateFloat64Opponent rim attempts as a share of their field-goal attempts.
mid_rateFloat64Mid-range attempts as a share of field-goal attempts.
d_mid_rateFloat64Opponent mid-range attempts as a share of their field-goal attempts.
ft_rateFloat64Ft rate.
d_ft_rateFloat64Opponent free-throw attempts relative to their field-goal attempts.
ast_rateFloat64Share of the team's made field goals that were assisted.
d_ast_rateFloat64Share of opponent made field goals that were assisted.
to_rateFloat64To rate.
d_to_rateFloat64Opponent turnovers as a share of their possessions (forced-turnover rate).
blk_rateFloat64Share of opponent two-point attempts the team blocked.
o_blk_rateFloat64Share of the team's own two-point attempts blocked by the opponent.
orb_pctFloat64Offensive rebound percentage.
drb_pctFloat64Defensive rebound percentage.
time_per_possFloat64Average seconds per offensive possession.
d_time_per_possFloat64Average seconds per defensive possession.
contest_idStringstats.ncaa.org contest (game) identifier.
home_ncaa_team_idStringstats.ncaa.org team identifier for the home team.
home_espn_team_idStringESPN home team id (NA for bart-only rows).
away_ncaa_team_idStringstats.ncaa.org team identifier for the away team.
away_espn_team_idStringESPN away team id (NA for bart-only rows).
team_ncaa_team_idStringstats.ncaa.org team identifier of the team the row belongs to.
team_espn_team_idStringESPN team identifier of the team, via the NCAA-to-ESPN crosswalk.
espn_game_idStringESPN game id (NA for bart-only rows).
seasonInt64Season year.
load_ncaa_mbb_team_box(seasons=2024)

load_ncaa_mbb_rosters​

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

Returns​

col_nametypedescription
seasonInt64Season year.
teamStringTeam-side label or team identifier.
playerStringPlayer name.
gamesInt64Games played.
load_ncaa_mbb_rosters(seasons=2024)

load_ncaa_mbb_team_rosters​

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

Returns​

col_nametypedescription
seasonInt64Season year.
team_idStringUnique team identifier.
teamStringTeam-side label or team identifier.
player_idStringUnique player identifier.
playerStringPlayer name.
clean_nameStringNormalized (diacritics- and punctuation-cleaned) player name used to join across the NCAA datasets.
nameStringDisplay name.
jerseyStringJersey number worn by the player.
classStringCollege class / draft eligibility note.
positionStringListed roster position (G, F, C, etc.).
heightStringPlayer height (string e.g. '6-2' or inches).
ht_inchesInt64Player height converted to total inches from the stats.ncaa.org roster listing.
hometownStringPlayer hometown.
high_schoolStringHigh school
gpStringGames played.
gsStringGames started.
load_ncaa_mbb_team_rosters(seasons=2024)

load_ncaa_mbb_team_ids​

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

Returns​

col_nametypedescription
teamStringTeam-side label or team identifier.
conferenceStringConference name.
idStringId.
seasonInt64Season year.
load_ncaa_mbb_team_ids(seasons=2024)

load_ncaa_mbb_possessions​

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

Returns​

col_nametypedescription
game_dateStringGame date (YYYY-MM-DD).
homeStringHome.
awayStringAway record.
periodInt64Period of the game (1-4 quarters; 5+ for OT).
poss_numInt64Sequential possession number within the game.
poss_teamStringName of the team in possession.
home_1StringName of the home team's on-floor player in lineup slot 1 for the possession, from the substitution walk-forward.
home_2StringName of the home team's on-floor player in lineup slot 2 for the possession, from the substitution walk-forward.
home_3StringName of the home team's on-floor player in lineup slot 3 for the possession, from the substitution walk-forward.
home_4StringName of the home team's on-floor player in lineup slot 4 for the possession, from the substitution walk-forward.
home_5StringName of the home team's on-floor player in lineup slot 5 for the possession, from the substitution walk-forward.
away_1StringName of the away team's on-floor player in lineup slot 1 for the possession, from the substitution walk-forward.
away_2StringName of the away team's on-floor player in lineup slot 2 for the possession, from the substitution walk-forward.
away_3StringName of the away team's on-floor player in lineup slot 3 for the possession, from the substitution walk-forward.
away_4StringName of the away team's on-floor player in lineup slot 4 for the possession, from the substitution walk-forward.
away_5StringName of the away team's on-floor player in lineup slot 5 for the possession, from the substitution walk-forward.
home_scoreInt64Home team score at the time of the play.
away_scoreInt64Away team score at the time of the play.
ptsInt64Points scored.
is_assistedInt641 when the possession's made field goal was assisted, else 0.
is_transitionInt641 for transition possessions, else 0.
is_garbage_timeInt641 for possessions in garbage time under the score-margin and clock rule, else 0.
start_event_typeStringEvent type that opened the possession (e.g., a defensive rebound or a made-basket inbound).
first_shot_timeInt64Clock time in seconds at the possession's first shot attempt, from the possession segmentation engine.
first_shot_typeStringShot class of the possession's first attempt (rim, mid-range, or three).
last_event_timeInt64Clock time in seconds at the possession's final event.
last_event_typeStringEvent type that ended the possession (e.g., a made shot, turnover, or defensive rebound).
contest_idStringstats.ncaa.org contest (game) identifier.
home_ncaa_team_idStringstats.ncaa.org team identifier for the home team.
home_espn_team_idStringESPN home team id (NA for bart-only rows).
away_ncaa_team_idStringstats.ncaa.org team identifier for the away team.
away_espn_team_idStringESPN away team id (NA for bart-only rows).
poss_team_ncaa_team_idStringstats.ncaa.org team identifier of the team in possession.
poss_team_espn_team_idStringESPN team identifier of the team in possession, via the NCAA-to-ESPN crosswalk.
home_1_player_idStringstats.ncaa.org player identifier for the home slot-1 on-floor player.
home_1_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the home slot-1 on-floor player.
home_2_player_idStringstats.ncaa.org player identifier for the home slot-2 on-floor player.
home_2_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the home slot-2 on-floor player.
home_3_player_idStringstats.ncaa.org player identifier for the home slot-3 on-floor player.
home_3_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the home slot-3 on-floor player.
home_4_player_idStringstats.ncaa.org player identifier for the home slot-4 on-floor player.
home_4_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the home slot-4 on-floor player.
home_5_player_idStringstats.ncaa.org player identifier for the home slot-5 on-floor player.
home_5_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the home slot-5 on-floor player.
away_1_player_idStringstats.ncaa.org player identifier for the away slot-1 on-floor player.
away_1_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the away slot-1 on-floor player.
away_2_player_idStringstats.ncaa.org player identifier for the away slot-2 on-floor player.
away_2_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the away slot-2 on-floor player.
away_3_player_idStringstats.ncaa.org player identifier for the away slot-3 on-floor player.
away_3_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the away slot-3 on-floor player.
away_4_player_idStringstats.ncaa.org player identifier for the away slot-4 on-floor player.
away_4_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the away slot-4 on-floor player.
away_5_player_idStringstats.ncaa.org player identifier for the away slot-5 on-floor player.
away_5_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the away slot-5 on-floor player.
espn_game_idStringESPN game id (NA for bart-only rows).
seasonInt64Season year.
load_ncaa_mbb_possessions(seasons=2024)

load_ncaa_mbb_lineups​

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

Returns​

col_nametypedescription
lineup_keyStringSorted player-code key identifying the five-player unit on the floor (hoop-explorer convention).
dateStringDate in YYYY-MM-DD format.
location_typeStringWhether the lineup's team was the Home or Away side in the game.
teamStringTeam-side label or team identifier.
team_yearInt64Season year of the team-season the lineup row belongs to.
opponentStringOpponent.
lineup_idStringSorted-name identifier of the five-player lineup, joined from the on-floor player names.
start_minFloat64Game minute at which the stint began.
end_minFloat64Game minute at which the stint ended.
duration_minsFloat64Length of the stint in minutes.
player_1StringName of the first player (in sorted order) of the five-player lineup.
player_2StringName of the second player (in sorted order) of the five-player lineup.
player_3StringName of the third player (in sorted order) of the five-player lineup.
player_4StringName of the fourth player (in sorted order) of the five-player lineup.
player_5StringName of the fifth player (in sorted order) of the five-player lineup.
players_inStringDelimited names of the players substituted in at the start of the stint.
players_outStringDelimited names of the players substituted out at the end of the stint.
start_scoredInt64Team points scored at the moment the stint began.
start_allowedInt64Points allowed at the moment the stint began.
end_scoredInt64Team points scored at the moment the stint ended.
end_allowedInt64Points allowed at the moment the stint ended.
start_diffInt64Score margin (scored minus allowed) when the stint began.
end_diffInt64Score margin (scored minus allowed) when the stint ended.
player_count_errorNullFlag marking stints where the reconciled on-floor count was not exactly five players (all-null when clean).
possInt64Poss.
ptsInt64Points scored.
plus_minusInt64Plus/minus point differential while on court.
fgaInt64Field goal attempts.
fgmInt64Field goals made.
rimaInt64Rim shots (dunks, layups, hooks, tip-ins) attempted by the lineup during the stint.
rimmInt64Rim shots made by the lineup during the stint.
rim_astInt64Assisted rim makes by the lineup during the stint.
midaInt64Mid-range shots attempted by the lineup during the stint.
midmInt64Mid-range shots made by the lineup during the stint.
mid_astInt64Assisted mid-range makes by the lineup during the stint.
fg2aInt64Two-point field goals attempted by the lineup during the stint.
fg2mInt64Two-point field goals made by the lineup during the stint.
tpaInt64Three-pointers attempted by the lineup during the stint.
tpmInt64Three-pointers made by the lineup during the stint.
tp_astInt64Assisted three-point makes by the lineup during the stint.
ftaInt64Free throw attempts.
ftmInt64Free throws made.
orbInt64Offensive rebounds by the lineup during the stint.
drbInt64Defensive rebounds by the lineup during the stint.
toInt64To.
stlInt64Steals.
blkInt64Blocks.
astInt64Assists.
foulInt64Fouls committed by the lineup during the stint.
opp_possInt64Opponent possessions while the lineup was on the floor during the stint.
opp_ptsInt64Opponent points.
opp_plus_minusInt64Opponent scoring margin while the lineup was on the floor during the stint.
opp_fgaInt64Opponent field-goal attempts while the lineup was on the floor during the stint.
opp_fgmInt64Opponent field goals made while the lineup was on the floor during the stint.
opp_rimaInt64Opponent rim shots attempted while the lineup was on the floor during the stint.
opp_rimmInt64Opponent rim shots made while the lineup was on the floor during the stint.
opp_rim_astInt64Opponent assisted rim makes while the lineup was on the floor during the stint.
opp_midaInt64Opponent mid-range shots attempted while the lineup was on the floor during the stint.
opp_midmInt64Opponent mid-range shots made while the lineup was on the floor during the stint.
opp_mid_astInt64Opponent assisted mid-range makes while the lineup was on the floor during the stint.
opp_fg2aInt64Opponent two-point attempts while the lineup was on the floor during the stint.
opp_fg2mInt64Opponent two-point makes while the lineup was on the floor during the stint.
opp_tpaInt64Opponent three-point attempts while the lineup was on the floor during the stint.
opp_tpmInt64Opponent three-point makes while the lineup was on the floor during the stint.
opp_tp_astInt64Opponent assisted three-point makes while the lineup was on the floor during the stint.
opp_ftaInt64Opponent free-throw attempts while the lineup was on the floor during the stint.
opp_ftmInt64Opponent free throws made while the lineup was on the floor during the stint.
opp_orbInt64Opponent offensive rebounds while the lineup was on the floor during the stint.
opp_drbInt64Opponent defensive rebounds while the lineup was on the floor during the stint.
opp_toInt64Opponent turnovers while the lineup was on the floor during the stint.
opp_stlInt64Opponent steals while the lineup was on the floor during the stint.
opp_blkInt64Opponent blocks while the lineup was on the floor during the stint.
opp_astInt64Opponent assists while the lineup was on the floor during the stint.
opp_foulInt64Opponent fouls committed while the lineup was on the floor during the stint.
stint_numInt64Sequential on-floor stint number for the lineup within the game.
contest_idStringstats.ncaa.org contest (game) identifier.
seasonInt64Season year.
load_ncaa_mbb_lineups(seasons=2024)

load_ncaa_mbb_matchup_stints​

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

Returns​

col_nametypedescription
contest_idStringstats.ncaa.org contest (game) identifier.
seasonInt64Season year.
game_dateStringGame date (YYYY-MM-DD).
homeStringHome.
awayStringAway record.
game_stint_numInt64Sequential stint number within the game, incremented at every substitution by either team.
periodInt64Period of the game (1-4 quarters; 5+ for OT).
start_secondsInt64Elapsed game seconds at which the stint began.
end_secondsInt64Elapsed game seconds at which the stint ended.
duration_secondsInt64Duration of the lineup stint in seconds.
matchup_keyStringCombined home-plus-away lineup key identifying the ten-player matchup on the floor.
home_lineup_keyStringSorted player-code key for the home five on the floor.
away_lineup_keyStringSorted player-code key for the away five on the floor.
home_lineupStringDelimited names of the home five on the floor during the stint.
away_lineupStringDelimited names of the away five on the floor during the stint.
end_home_scoreInt64Home team score when the stint ended.
end_away_scoreInt64Away team score when the stint ended.
n_eventsInt64Number of play-by-play events falling within the stint.
n_possessionsInt64Number of possessions falling within the stint.
start_home_scoreInt64Home team score when the stint began.
start_away_scoreInt64Away team score when the stint began.
home_ptsInt64Points scored by the home team during the stint.
away_ptsInt64Points scored by the away team during the stint.
home_1StringName of the home team's on-floor player in lineup slot 1 for the stint.
home_2StringName of the home team's on-floor player in lineup slot 2 for the stint.
home_3StringName of the home team's on-floor player in lineup slot 3 for the stint.
home_4StringName of the home team's on-floor player in lineup slot 4 for the stint.
home_5StringName of the home team's on-floor player in lineup slot 5 for the stint.
away_1StringName of the away team's on-floor player in lineup slot 1 for the stint.
away_2StringName of the away team's on-floor player in lineup slot 2 for the stint.
away_3StringName of the away team's on-floor player in lineup slot 3 for the stint.
away_4StringName of the away team's on-floor player in lineup slot 4 for the stint.
away_5StringName of the away team's on-floor player in lineup slot 5 for the stint.
load_ncaa_mbb_matchup_stints(seasons=2024)

load_ncaa_mbb_shots​

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

Returns​

col_nametypedescription
seasonInt64Season year.
team_idStringUnique team identifier.
shooter_idStringUnique identifier for shooter.
shot_xFloat64Court x-coordinate of the attempt in feet, decoded from the stats.ncaa.org shot-chart map.
shot_yFloat64Court y-coordinate of the attempt in feet, decoded from the stats.ncaa.org shot-chart map.
dist_ftFloat64Shot distance from the basket in feet.
shot_zoneStringLabeled zone of the attempt (rim, mid-range, or three-point).
shot_typeStringShot type label (e.g. 'Jump Shot', 'Layup').
madeBooleanWhether the shot was made.
point_valueInt64Point value of the attempt (2 or 3).
periodNullPeriod of the game (1-4 quarters; 5+ for OT).
sec_leftNullSeconds remaining in the period when the shot was taken (all-null in current captures).
sourceStringNews source.
contest_idStringstats.ncaa.org contest (game) identifier.
ncaa_team_idStringstats.ncaa.org team identifier of the shooting team.
espn_team_idStringESPN team id (canonical key).
shooter_player_idStringstats.ncaa.org player identifier of the shooter.
shooter_clean_nameStringNormalized (diacritics- and punctuation-cleaned) name of the shooter.
espn_game_idStringESPN game id (NA for bart-only rows).
load_ncaa_mbb_shots(seasons=2024)

load_ncaa_mbb_rapm_within_team​

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

Returns​

col_nametypedescription
teamStringTeam-side label or team identifier.
player_codeStringShort unique-within-team player code generated from the player's name (hoop-explorer convention).
rapm_offFloat64Ridge-regressed offensive RAPM per 100 possessions, estimated relative to the player's own teammates.
rapm_defFloat64Ridge-regressed defensive RAPM per 100 possessions relative to teammates; positive means good defense.
team_off_possFloat64Team offensive possessions underlying the within-team fit.
num_playersInt64Number of players in the team's RAPM design matrix.
rapm_netFloat64Net RAPM — the sum of the offensive and defensive components, per 100 possessions.
seasonInt32Season year.
player_idStringUnique player identifier.
team_idStringUnique team identifier.
person_idStringUnique player identifier (V3 endpoints).
load_ncaa_mbb_rapm_within_team(seasons=2024)

load_ncaa_mbb_rapm​

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

Returns​

col_nametypedescription
seasonInt32Season as a 4-digit starting year (integer). A 'YYYY-YY' string is not accepted.
player_idStringUnique player identifier.
person_idStringUnique player identifier (V3 endpoints).
playerStringPlayer name.
teamStringTeam-side label or team identifier.
orapmFloat64Offensive regularized adjusted plus-minus: points contributed per 100 possessions on offense, adjusted for the other 9 players on the floor.
drapmFloat64Defensive regularized adjusted plus-minus: points prevented per 100 possessions on defense (higher is better defense), adjusted for the other 9 players on the floor.
rapm_netFloat64Net RAPM (orapm plus drapm): overall point contribution per 100 possessions. Verified against live data: rapm_net == orapm + drapm exactly.
off_possInt64Offensive possessions the player was on court for; the regression weight behind orapm.
def_possInt64Defensive possessions the player was on court for; the regression weight behind drapm.
estimandStringFit-scope tag for the RAPM model that produced this row (observed value: 'league', a Division I-wide fit) -- one row per player-season, not per estimand.
load_ncaa_mbb_rapm(seasons=2024)