Skip to contents
  • espn_cfb_player(): Get the full ESPN record for a single college football player in a given season – bio, measurements, position, team, status, and $ref URLs to nested resources.

  • espn_cfb_players(): Get a paginated index of ESPN college football players for a season (id + $ref rows; dereference with espn_cfb_player()).

  • espn_cfb_player_eventlog(): Get the per-game event log for a single college football player in a season – one row per game, with $ref URLs to each game's event, competition, and per-game statistics.

  • espn_cfb_player_gamelog(): Get a single college football player's game-by-game statistical log for a season – stat line joined to opponent, score, and result metadata.

  • espn_cfb_player_overview(): Get the season-by-season statistics overview ESPN shows on a college football player's page – one row per season, with the headline stat line for each.

  • espn_cfb_player_seasons(): Get the list of seasons a single college football player has a statistical record for on ESPN, with $ref URLs to each season's statistics.

  • espn_cfb_player_splits(): Get a single college football player's statistical splits for a season – stat lines broken out by month, quarter, down, field position, and more.

  • espn_cfb_player_career_stats(): Get a single college football player's full season statistics from ESPN – every published stat across every category, in long format (one row per stat).

  • espn_cfb_player_stats(): Get ESPN college football player season stats (legacy wide-format wrapper covering all categories and athlete / team detail columns).

  • espn_cfb_recruits(): Get the ESPN recruiting-class catalog for a college football signing class – one row per recruit, with identity, position, measurements, grade, rankings, and committed school.

Get the full ESPN record for a single college football player in a given season – biographical fields, physical measurements, position, team, status, and the $ref URLs to the player's nested resources (statistics, event log, college).

Usage

espn_cfb_player(
  athlete_id = NULL,
  year = NULL,
  team_detail = TRUE,
  position_detail = TRUE
)

Arguments

athlete_id

(Character/Integer required): ESPN athlete id.

year

(Integer required): Season, 4 digit format (YYYY).

team_detail

(Logical): when TRUE (default), fetch the ESPN team catalog once and join friendly team fields next to the team_id column (see Details). Set FALSE to skip the catalog fetch and the join.

position_detail

(Logical): when TRUE (default), fetch the ESPN position catalog once and join it onto position_id, appending the position_display_name / position_leaf / position_parent_id detail columns. A catalog failure degrades to NA rather than erroring the wrapper. Set FALSE to skip the extra fetch and the join.

Value

A one-row data frame describing the player:

col_nametypesdescription
athlete_idcharacterESPN athlete id.
seasonintegerSeason (4-digit year).
uidcharacterESPN athlete UID.
guidcharacterESPN athlete GUID.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
full_namecharacterPlayer full name.
display_namecharacterPlayer display name.
short_namecharacterPlayer short name.
weightnumericListed weight (lbs).
display_weightcharacterDisplay-formatted weight.
heightnumericListed height (inches).
display_heightcharacterDisplay-formatted height.
jerseycharacterJersey number.
slugcharacterESPN athlete URL slug.
activelogicalWhether the player is currently active.
date_of_birthcharacterPlayer date of birth (if published).
birth_citycharacterBirthplace city.
birth_statecharacterBirthplace state.
birth_countrycharacterBirthplace country.
position_idcharacterESPN position id.
position_namecharacterPosition name.
position_abbreviationcharacterPosition abbreviation.
position_display_namecharacterHuman-readable position name; position_detail = TRUE only.
position_leaflogicalTRUE for a most-specific (leaf) position; position_detail = TRUE only.
position_parent_idcharacterESPN id of the parent position; position_detail = TRUE only.
experience_yearsintegerYears of experience.
status_idcharacterESPN status id.
status_namecharacterStatus name (e.g. Active).
status_typecharacterStatus type.
headshot_hrefcharacterURL of the player headshot image.
team_idcharacterESPN team id for the season (from team_ref).
team_namecharacterTeam nickname; team_detail = TRUE only.
team_abbreviationcharacterTeam abbreviation; team_detail = TRUE only.
team_locationcharacterTeam location / school name; team_detail = TRUE only.
team_display_namecharacterFull team display name; team_detail = TRUE only.
team_short_display_namecharacterShort team display name; team_detail = TRUE only.
team_nicknamecharacterTeam nickname label; team_detail = TRUE only.
team_colorcharacterPrimary team color; team_detail = TRUE only.
team_alternate_colorcharacterAlternate team color; team_detail = TRUE only.
team_logo_hrefcharacterDefault team logo URL; team_detail = TRUE only.
team_logo_dark_hrefcharacterDark-variant team logo URL; team_detail = TRUE only.
team_refcharacter$ref URL to the team-in-season resource.
statistics_refcharacter$ref URL to the player statistics resource.
eventlog_refcharacter$ref URL to the player event log resource.
college_refcharacter$ref URL to the player college resource.

Details

ESPN College Football Player Detail

espn_cfb_player(athlete_id = 102597, year = 2024)

ESPN College Football Players Index

espn_cfb_players(year = 2024, page = 1, max_pages = 1)

ESPN College Football Player Event Log

espn_cfb_player_eventlog(athlete_id = 102597, year = 2024)

ESPN College Football Player Game Log

espn_cfb_player_gamelog(athlete_id = 102597, year = 2024)

ESPN College Football Player Statistics Overview

espn_cfb_player_overview(athlete_id = 102597, year = 2024)

ESPN College Football Player Seasons

espn_cfb_player_seasons(athlete_id = 102597)

ESPN College Football Player Statistical Splits

espn_cfb_player_splits(athlete_id = 102597, year = 2024)

ESPN College Football Player Season Statistics (Long Format)

espn_cfb_player_career_stats(athlete_id = 102597, year = 2024)

Get ESPN college football player stats data

espn_cfb_player_stats(athlete_id = 530308, year = 2013)

ESPN College Football Recruits

espn_cfb_recruits(year = 2024, max_results = 25)

Wraps the ESPN core-v2 endpoint sports.core.api.espn.com/v2/sports/football/leagues/college-football/seasons/{year}/athletes/{athlete_id}. The season-scoped path is used so the returned team_id reflects the team the player was on that season. The wrapper returns a single-row tibble: scalar bio fields are flattened inline, nested objects (position, status, birthPlace, experience) are flattened with a prefix, and the nested $ref URLs are surfaced as *_ref columns rather than auto-dereferenced. Harvest athlete ids from espn_cfb_players().

When team_detail = TRUE (the default) the ESPN team catalog (espn_cfb_teams()) is fetched once and friendly team fields are joined in next to the team_id column – team_name, team_abbreviation, team_location, team_display_name, team_short_display_name, team_nickname, team_color, team_alternate_color, team_logo_href, and team_logo_dark_href, inserted immediately after team_id. A catalog failure degrades to NA rather than erroring the wrapper. Set team_detail = FALSE to skip the catalog fetch and the join.

When position_detail = TRUE (the default) the ESPN position catalog (espn_cfb_positions()) is fetched once and joined onto position_id, appending position_display_name, position_leaf, and position_parent_id (the existing position_name / position_abbreviation columns are left in place). A catalog failure degrades to NA rather than erroring the wrapper. Set position_detail = FALSE to skip the catalog fetch and the join.

See also

Other ESPN CFB Functions: espn_cfb_award(), espn_cfb_awards(), espn_cfb_clear_cache(), espn_cfb_coach(), espn_cfb_coach_record(), espn_cfb_coaches(), espn_cfb_franchise(), espn_cfb_franchises(), espn_cfb_futures(), espn_cfb_game_broadcasts(), espn_cfb_game_drive_plays(), espn_cfb_game_drives(), espn_cfb_game_leaders(), espn_cfb_game_odds(), espn_cfb_game_pbp(), espn_cfb_game_play(), espn_cfb_game_player_box(), espn_cfb_game_player_statistics(), espn_cfb_game_powerindex(), espn_cfb_game_predictor(), espn_cfb_game_probabilities(), espn_cfb_game_situation(), espn_cfb_game_status(), espn_cfb_game_team_leaders(), espn_cfb_game_team_linescores(), espn_cfb_game_team_records(), espn_cfb_game_team_roster(), espn_cfb_game_team_statistics(), espn_cfb_game_teams(), espn_cfb_groups(), espn_cfb_pbp_v2(), espn_cfb_player_career_stats(), espn_cfb_player_eventlog(), espn_cfb_player_gamelog(), espn_cfb_player_overview(), espn_cfb_player_seasons(), espn_cfb_player_splits(), espn_cfb_player_stats_v3(), espn_cfb_players(), espn_cfb_position(), espn_cfb_positions(), espn_cfb_powerindex(), espn_cfb_qbr(), espn_cfb_rankings(), espn_cfb_recruits(), espn_cfb_season_info(), espn_cfb_season_types(), espn_cfb_season_weeks(), espn_cfb_seasons(), espn_cfb_standings(), espn_cfb_team(), espn_cfb_team_ats(), espn_cfb_team_awards(), espn_cfb_team_coaches(), espn_cfb_team_events(), espn_cfb_team_leaders(), espn_cfb_team_powerindex(), espn_cfb_team_ranks(), espn_cfb_team_record(), espn_cfb_team_roster(), espn_cfb_team_schedule(), espn_cfb_teams(), espn_cfb_unnest_plays(), espn_cfb_venue(), espn_cfb_venues(), espn_cfb_week_rankings()

Examples

# \donttest{
  try(espn_cfb_player(athlete_id = 102597, year = 2024))
#> ── Player detail from ESPN ─────────────────────────────────── cfbfastR 2.3.0 ──
#>  Data updated: 2026-06-09 07:56:46 UTC
#> # A tibble: 1 × 46
#>   athlete_id season uid        guid  first_name last_name full_name display_name
#>   <chr>       <int> <chr>      <chr> <chr>      <chr>     <chr>     <chr>       
#> 1 102597       2024 s:20~l:23… b084… Will       Rogers    Will Rog… Will Rogers 
#> # ℹ 38 more variables: short_name <chr>, weight <dbl>, display_weight <chr>,
#> #   height <dbl>, display_height <chr>, jersey <chr>, slug <chr>, active <lgl>,
#> #   date_of_birth <chr>, birth_city <chr>, birth_state <chr>,
#> #   birth_country <chr>, position_id <chr>, position_name <chr>,
#> #   position_abbreviation <chr>, experience_years <int>, status_id <chr>,
#> #   status_name <chr>, status_type <chr>, headshot_href <chr>, team_id <chr>,
#> #   team_name <chr>, team_abbreviation <chr>, team_location <chr>, …
  try(espn_cfb_player(athlete_id = 102597, year = 2024,
                      team_detail = FALSE, position_detail = FALSE))
#> ── Player detail from ESPN ─────────────────────────────────── cfbfastR 2.3.0 ──
#>  Data updated: 2026-06-09 07:56:46 UTC
#> # A tibble: 1 × 33
#>   athlete_id season uid        guid  first_name last_name full_name display_name
#>   <chr>       <int> <chr>      <chr> <chr>      <chr>     <chr>     <chr>       
#> 1 102597       2024 s:20~l:23… b084… Will       Rogers    Will Rog… Will Rogers 
#> # ℹ 25 more variables: short_name <chr>, weight <dbl>, display_weight <chr>,
#> #   height <dbl>, display_height <chr>, jersey <chr>, slug <chr>, active <lgl>,
#> #   date_of_birth <chr>, birth_city <chr>, birth_state <chr>,
#> #   birth_country <chr>, position_id <chr>, position_name <chr>,
#> #   position_abbreviation <chr>, experience_years <int>, status_id <chr>,
#> #   status_name <chr>, status_type <chr>, headshot_href <chr>, team_id <chr>,
#> #   team_ref <chr>, statistics_ref <chr>, eventlog_ref <chr>, …
# }