Skip to contents

Get the awards won by a college football team's players in a season – one row per (award x winning athlete).

Usage

espn_cfb_team_awards(team_id = NULL, year = NULL, team_detail = TRUE)

Arguments

team_id

(Integer required): ESPN team id.

year

(Integer required): Season, 4 digit format (YYYY).
Minimum value accepted: 1935

team_detail

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

Value

A data frame with one row per award-winner:

col_nametypesdescription
seasonintegerSeason (4-digit year).
team_idcharacterESPN team id.
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.
award_idcharacterESPN award id.
award_namecharacterAward display name (e.g. John Mackey Award).
award_descriptioncharacterShort description of the award.
athlete_idcharacterESPN athlete id of the winner (parsed from athlete_ref).
winner_team_idcharacterESPN team id credited with the win (parsed from winner_team_ref).
winner_team_namecharacterWinner team nickname; team_detail = TRUE only.
winner_team_abbreviationcharacterWinner team abbreviation; team_detail = TRUE only.
winner_team_locationcharacterWinner team location / school; team_detail = TRUE only.
winner_team_display_namecharacterWinner team full display name; team_detail = TRUE only.
winner_team_short_display_namecharacterWinner team short display name; team_detail = TRUE only.
winner_team_nicknamecharacterWinner team nickname label; team_detail = TRUE only.
winner_team_colorcharacterWinner team primary color; team_detail = TRUE only.
winner_team_alternate_colorcharacterWinner team alternate color; team_detail = TRUE only.
winner_team_logo_hrefcharacterWinner team default logo URL; team_detail = TRUE only.
winner_team_logo_dark_hrefcharacterWinner team dark logo URL; team_detail = TRUE only.
award_refcharacter$ref URL to the core-v2 award resource.
athlete_refcharacter$ref URL to the winning athlete-in-season resource.
winner_team_refcharacter$ref URL to the winner's team-in-season resource.

Details

Wraps the ESPN core-v2 team awards endpoint sports.core.api.espn.com/v2/sports/football/leagues/college-football/seasons/{year}/teams/{team_id}/awards. The index endpoint returns a $ref list of award resources; this wrapper dereferences each one and returns a row per winning athlete for the award. Athletes are returned as ESPN athlete ids (parsed from athlete_ref); join to another athlete source for names. Most teams have only one or two award items in a season.

When team_detail = TRUE (the default) the ESPN team catalog (espn_cfb_teams()) is fetched once and friendly team fields are joined onto every team-id column the output carries – team_id and winner_team_id. For each id column X_id the friendly siblings X_name, X_abbreviation, X_location, X_display_name, X_short_display_name, X_nickname, X_color, X_alternate_color, X_logo_href, and X_logo_dark_href are inserted immediately after it. A catalog failure degrades to NA rather than erroring the wrapper. Set team_detail = FALSE to skip the catalog fetch and the join.

See also

family_espn_cfb lists every function in this family.

Examples

# \donttest{
  try(espn_cfb_team_awards(team_id = 61, year = 2023))
#> ── Team awards from ESPN ───────────────────────────────────── cfbfastR 3.1.0 ──
#> ℹ Data updated: 2026-11-26 22:48:17 UTC
#> # A tibble: 2 × 30
#>   season team_id team_name team_abbreviation team_location team_display_name
#>    <int> <chr>   <chr>     <chr>             <chr>         <chr>            
#> 1   2023 61      Bulldogs  UGA               Georgia       Georgia Bulldogs 
#> 2   2023 61      Bulldogs  UGA               Georgia       Georgia Bulldogs 
#> # ℹ 24 more variables: team_short_display_name <chr>, team_nickname <chr>,
#> #   team_color <chr>, team_alternate_color <chr>, team_logo_href <chr>,
#> #   team_logo_dark_href <chr>, award_id <chr>, award_name <chr>,
#> #   award_description <chr>, athlete_id <chr>, winner_team_id <chr>,
#> #   winner_team_name <chr>, winner_team_abbreviation <chr>,
#> #   winner_team_location <chr>, winner_team_display_name <chr>,
#> #   winner_team_short_display_name <chr>, winner_team_nickname <chr>, …
  try(espn_cfb_team_awards(team_id = 61, year = 2023,
                           team_detail = FALSE))
#> ── Team awards from ESPN ───────────────────────────────────── cfbfastR 3.1.0 ──
#> ℹ Data updated: 2026-11-26 22:48:17 UTC
#> # A tibble: 2 × 10
#>   season team_id award_id award_name award_description athlete_id winner_team_id
#>    <int> <chr>   <chr>    <chr>      <chr>             <chr>      <chr>         
#> 1   2023 61      11       John Mack… Outstanding Tigh… 4432665    61            
#> 2   2023 61      158      Wuerffel … Top Community Se… 4612826    61            
#> # ℹ 3 more variables: award_ref <chr>, athlete_ref <chr>, winner_team_ref <chr>
# }