CFB dataset loaders — Player
load_cfb_player_box
Release: espn_cfb_player_box · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_cfb_player_box/player_box_{season}.parquet
ESPN restarts the week number at 1 for the postseason, so week <= N alone pulls bowl and playoff games into a through-week-N cut. Lower-division playoff rounds also run as postseason weeks that overlap the regular-season numbers (2025: D-II and D-III rounds in postseason weeks 13-14, from November 22), while FBS conference championships are regular-season week 15. FCS playoff caveat: ESPN labels the FCS playoff rounds before the semifinals as regular season in most seasons since at least 2014 (all 20 such games in 2024 and 2025; 2025: weeks 14-16), so season_type == 'regular' keeps them; is_postseason marks them where the schedule's notes name the round, which they do not in 2016-2018 (blank notes) or for a few games in 2008, 2013 and 2014. For a through-week-N cut, filter season_type in ('regular', 'spring_regular') (spring_regular is 2020's spring season) and is_postseason == False first. The box carries no week column; join the schedule's week. season_type and season_type_id are load_cfb_schedule's columns, joined on game_id at load (for a game the schedule lacks: a pair the release already ships, else the play-by-play's own seasonType where the frame has it, else null). is_postseason is True for a postseason season type or a game whose schedule notes name the FCS, Division II or Division III championship bracket.
Returns
| col_name | type | description |
|---|---|---|
stat_1 | String | First value of ESPN's raw athlete stats array, written only when the category's key list does not line up with the stats list; on those rows the named per-category columns are all null. |
stat_2 | String | Second value of ESPN's raw athlete stats array, written only on rows where the category keys did not line up and the named columns could not be filled. |
stat_3 | String | Third value of ESPN's raw athlete stats array, written only on rows where the category keys did not line up and the named columns could not be filled. |
stat_4 | String | Fourth value of ESPN's raw athlete stats array, written only on rows where the category keys did not line up and the named columns could not be filled. |
stat_5 | String | Fifth value of ESPN's raw athlete stats array, written only on rows where the category keys did not line up and the named columns could not be filled. |
category | String | CFBD stats category name (e.g. passing, rushing, defensive). |
athlete_id | Int64 | ESPN athlete id. |
athlete_name | String | Player full name. |
jersey | String | Jersey number. |
team_id | Int64 | ESPN team id. |
rushingAttempts | String | Rushing attempts. |
rushingYards | String | Net rushing yards gained. |
yardsPerRushAttempt | String | Yards gained per rushing attempt. |
rushingTouchdowns | String | Rushing touchdowns. |
longRushing | String | Longest rush of the game, in yards. |
receptions | String | |
receivingYards | String | Receiving yards gained. |
yardsPerReception | String | Yards gained per reception. |
receivingTouchdowns | String | Receiving touchdowns. |
longReception | String | Longest reception of the game, in yards. |
totalTackles | String | Player's total tackles, solo plus assisted (ESPN box score). |
soloTackles | String | Player's solo (unassisted) tackles (ESPN box score). |
sacks | String | Sacks credited to the player (ESPN box score). |
tacklesForLoss | String | Player's tackles made behind the line of scrimmage (ESPN box score). |
passesDefended | String | Passes the player broke up or defended (ESPN box score). |
hurries | String | Quarterback hurries credited to the player (ESPN box score). |
defensiveTouchdowns | String | Touchdowns the player scored on defense (ESPN box score). |
interceptions | String | Passing interceptions. |
interceptionYards | String | Yards returned on interceptions. |
interceptionTouchdowns | String | Touchdowns scored on interception returns. |
kickReturns | String | Number of kickoff returns by the player (ESPN box score). |
kickReturnYards | String | Total kickoff-return yards by the player (ESPN box score). |
yardsPerKickReturn | String | Average yards per kickoff return for the player (ESPN box score). |
longKickReturn | String | Player's longest kickoff return of the game, in yards (ESPN box score). |
kickReturnTouchdowns | String | Kickoff returns the player took for touchdowns (ESPN box score). |
fieldGoalsMade/fieldGoalAttempts | String | Field goals made and attempted, as ESPN's combined string. |
fieldGoalPct | String | Field-goal percentage. |
longFieldGoalMade | String | Longest field goal made, in yards. |
extraPointsMade/extraPointAttempts | String | Extra points made and attempted, as ESPN's combined string. |
totalKickingPoints | String | Total points scored by kicking. |
punts | String | Punts attempted. |
puntYards | String | Total punt yards. |
grossAvgPuntYards | String | Gross average yards per punt, before return yardage. |
touchbacks | String | Punts or kickoffs that resulted in a touchback. |
puntsInside20 | String | Punts downed inside the opponent 20-yard line. |
longPunt | String | Longest punt of the game, in yards. |
puntReturns | String | Punt returns attempted. |
puntReturnYards | String | Yards gained on punt returns. |
yardsPerPuntReturn | String | Yards gained per punt return. |
longPuntReturn | String | Longest punt return of the game, in yards. |
puntReturnTouchdowns | String | Touchdowns scored on punt returns. |
game_id | Int64 | ESPN game identifier. |
season | Int64 | Season (4-digit year). |
fumbles | String | Number of times the player fumbled in the game (ESPN box score). |
fumblesLost | String | Number of the player's fumbles lost to the opponent (ESPN box score). |
fumblesRecovered | String | Number of fumbles the player recovered (ESPN box score). |
completions/passingAttempts | String | Completions and pass attempts, as ESPN's combined string. |
passingYards | String | Net passing yards gained. |
yardsPerPassAttempt | String | Yards gained per pass attempt. |
passingTouchdowns | String | Passing touchdowns. |
adjQBR | String | Adjusted Total QBR for the quarterback. |
season_type | String | The game's season-type label from load_cfb_schedule, joined on game_id at load: "regular", "postseason", "offseason" (all-star games), and 2020's "spring_regular" / "spring_postseason". A game the schedule lacks keeps a pair the release already ships, else takes the play-by-play seasonType where the frame has one, else is null. The table has no week column; join the schedule's week and filter season_type in ("regular", "spring_regular") before a through-week cut. FCS caveat: ESPN labels the FCS playoff rounds before the semifinals "regular" in most seasons since at least 2014 (all 20 such games in 2024 and 2025), so pair it with is_postseason == False. |
season_type_id | Int64 | load_cfb_schedule's season-type integer for the game (1 preseason, 2 regular, 3 postseason, 4 offseason, 5 and 6 for 2020's spring regular season and postseason), joined on game_id at load. A game the schedule lacks keeps a pair the release already ships, else takes the play-by-play seasonType where the frame has one, else is null. |
is_postseason | Boolean | True for a postseason game: a postseason season type (season_type_id 3, or 6 for 2020's spring postseason), or a game whose load_cfb_schedule notes name the FCS (I-AA), Division II or Division III championship bracket. That catches the FCS playoff rounds before the semifinals that ESPN labels season_type "regular" (20 of the 23 FCS bracket games in both 2024 and 2025). Conference title games are False. For a game the schedule lacks it follows season_type_id (null when that is null). Before 2019 ESPN's notes leave some FCS rounds unnamed (every round in 2016-2018), so those read False. |
load_cfb_player_box(seasons=2024)
load_cfb_player_aliases
Release: cfb_groups · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/cfb_groups/cfb_player_aliases.parquet
One season-less file: every player id another source (cbs, fox, ncaa, yahoo) uses for an ESPN athlete (athlete_id, a string; athlete_id_source = espn), with the ESPN team the match was made on (team_id) and the seasons it held (valid_from / valid_to, inclusive). match_method and match_confidence carry the matching leg's own method and score. Filter on source before joining on source_player_id. stats.ncaa.org roster ids (source ncaa) are new every season. Seasons are the STARTING year (2025 = the fall 2025 season).
Returns
| col_name | type | description |
|---|---|---|
league | String | League code of the table ("cfb"). |
athlete_id | String | ESPN athlete id the provider id points to, as a string (e.g. "4433134"). Join on it to reach ESPN player data; the ESPN player loaders (load_cfb_player_box and its siblings) carry it as Int64, so cast first with pl.col("athlete_id").cast(pl.Int64). |
athlete_id_source | String | Id space of athlete_id; always "espn" in this table. |
source | String | Provider whose player id this is (in this table: cbs, fox, ncaa, yahoo). |
source_player_id | String | The source's own player id (e.g. Yahoo ncaaf.p.316907, Fox 76284). It means something only within its source, so filter on source first. stats.ncaa.org roster ids (source ncaa) are new every season. |
team_id | String | ESPN team id (a string) the athlete was on in these seasons: the team block the match was made in, an ESPN team-season of load_cfb_team_group_seasons. |
source_team_id | String | The source's own team id when the matching leg gives one (the season's stats.ncaa.org team id; the Fox / Yahoo / CBS team for the NFL); null otherwise. |
valid_from | Int32 | First season the id is on that team, inclusive (STARTING year: 2025 = the fall 2025 season). |
valid_to | Int32 | Last season the id is on that team, inclusive (STARTING year: 2025 = the fall 2025 season). A gap or a change of match method splits the window into two rows. |
match_method | String | The matching leg's own method (exact_name, fuzzy_jw, the NCAA tiers name_jersey / name / last_jersey / jaro_winkler, CFB rosters name); crosswalk for a leg that names none; propagated when a pair matched in another season was carried to this provider id; override for a hand-verified override. |
match_confidence | Float64 | The leg's own match confidence where it gives one (the lowest in the window); the NCAA tiers score 1.0 / 0.95 / 0.9 / 0.85; null otherwise. |
evidence | String | The release asset or sportsdataverse/sdv-reference-data file the row came from. |
load_cfb_player_aliases()