Skip to contents

Loads season-level advanced team stats – one row per team with the offense/defense EPA, success, explosiveness, and havoc profile. Published to the espn_cfb_adv_team release tag on the sportsdataverse-data repo.

Usage

load_espn_cfb_adv_team(
  seasons = most_recent_cfb_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given college football seasons. Published coverage runs 2004 through the most recent season. Pass seasons = TRUE for every published season. (Min: 2004)

...

Additional arguments passed to an underlying function that writes the season data into a database.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

Returns a cfbfastR_data tibble.

col_nametypesdescription
pos_team_idintegerESPN team id of the team on offense. Present for every season 2004+.
pos_teamcharacter
rushing_highlight_yards_per_oppdoubleHighlight yards per rushing opportunity.
total_pen_yardsintegerTotal penalty yards assessed.
EPA_penaltydoubleTotal EPA attributed to penalties.
penalty_first_downs_createdintegerNumber of first downs the team gained via opponent penalty.
penalty_first_downs_created_ratedoubleShare of the team's first downs that came via opponent penalty.
penaltiesintegerNumber of penalties assessed against the team.
penalty_yardsintegerNet penalty yardage assessed against the team; can be negative when enforcement moved the team forward on balance.
special_teams_playsintegerNumber of special-teams plays.
EPA_spdoubleTotal special-teams EPA, ESPN's abbreviated field for the same phase.
EPA_special_teamsdoubleTotal EPA generated on special-teams plays.
field_goalsintegerNumber of field-goal attempts.
EPA_fgdoubleTotal EPA on field-goal attempts.
punt_playsintegerNumber of punt plays.
EPA_puntdoubleTotal EPA on punt plays.
kickoff_playsintegerNumber of kickoff plays.
EPA_kickoffdoubleTotal EPA on kickoff plays.
rushesintegerNumber of rushing attempts.
rush_yardsdoubleTotal yards the team gained on rush plays.
yards_per_rushdoubleYards gained per rushing attempt.
rushing_power_ratedoubleShare of carries that were power rushing attempts.
rushing_first_downs_createdintegerNumber of first downs created on rush plays.
rushing_first_downs_created_ratedoubleShare of rush plays that created a first down.
EPA_rushing_overalldoubleTotal EPA on rush plays.
EPA_rushing_per_playdoubleEPA per rush play.
EPA_explosive_rushingintegerCount of explosive rush plays. A play count, not an EPA total.
EPA_explosive_rushing_ratedoubleExplosive-play rate on rush plays, over ESPN's qualifying-play denominator.
EPA_non_explosive_rushingdoubleTotal EPA on rush plays with explosive plays excluded.
EPA_non_explosive_rushing_per_playdoubleEPA per rush play with explosive plays excluded.
passesintegerNumber of pass plays the team ran.
pass_yardsdoubleTotal yards the team gained on pass plays.
yards_per_passdouble
passing_first_downs_createdintegerNumber of first downs created on pass plays.
passing_first_downs_created_ratedoubleShare of pass plays that created a first down.
EPA_passing_overalldoubleTotal EPA on pass plays.
EPA_passing_per_playdoubleEPA per pass play.
EPA_explosive_passingintegerCount of explosive pass plays. A play count, not an EPA total.
EPA_explosive_passing_ratedoubleExplosive-play rate on pass plays, over ESPN's qualifying-play denominator.
EPA_non_explosive_passingdoubleTotal EPA on pass plays with explosive plays excluded.
EPA_non_explosive_passing_per_playdoubleEPA per pass play with explosive plays excluded.
scrimmage_playsintegerNumber of plays from scrimmage (rushes plus passes), excluding special teams.
EPA_overall_offdoubleTotal offensive EPA for the team. Duplicated exactly by EPA_overall_offense in every published season checked – prefer one and ignore the other.
EPA_overall_offensedoubleTotal offensive EPA. An exact duplicate of EPA_overall_off.
EPA_per_playdoubleOffensive EPA per play.
EPA_non_explosivedoubleTotal EPA with explosive plays excluded, isolating the team's routine-down production.
EPA_non_explosive_per_playdoubleEPA per play with explosive plays excluded.
EPA_explosiveintegerCount of explosive plays, per ESPN's advanced box score. Despite the EPA_ prefix this is a play COUNT, not an EPA total.
EPA_explosive_ratedoubleExplosive-play rate. Note this is NOT EPA_explosive divided by EPA_plays – ESPN divides by its own smaller qualifying-play count, so deriving it yourself will not reproduce this value.
passes_ratedoubleShare of the team's plays from scrimmage that were pass plays.
off_yardsintegerOffensive yards gained from scrimmage.
total_off_yardsintegerTotal offensive yards across all plays.
yards_per_playdoubleYards gained per play.
EPA_playsintegerNumber of plays ESPN's advanced box score scored for the team.
total_yardsintegerTotal yards the team gained across all plays.
EPA_overall_totaldoubleTotal EPA across all phases, which is why it differs from the offense-only EPA_overall_off.
rushes_ratedoubleShare of the team's plays from scrimmage that were rush plays.
first_downs_createdintegerNumber of first downs the team created.
first_downs_created_ratedoubleShare of the team's plays that created a first down.
EPA_rushing_powerdoubleTotal EPA on power rushing situations, as classified by ESPN's advanced box score.
EPA_rushing_power_per_playdoubleEPA per play on power rushing situations.
rushing_power_successintegerCount of power rushing attempts that gained the yardage needed. An integer count, not a rate – the rate is published separately as rushing_power_success_rate.
rushing_power_success_ratedoubleShare of power rushing attempts that succeeded.
rushing_powerintegerCount of power rushing attempts, in short-yardage situations as classified by ESPN's advanced box score.
rushing_stuffintegerCount of stuffed rushing attempts.
rushing_stuff_ratedoubleShare of the team's carries that were stuffed at or behind the line of scrimmage.
rushing_stoppedintegerCount of rushing attempts stopped at or behind the line of scrimmage.
rushing_stopped_ratedoubleShare of carries stopped at or behind the line of scrimmage.
rushing_opportunityintegerCount of rushing opportunities – carries that reached ESPN's opportunity threshold.
rushing_opportunity_ratedoubleShare of carries that qualified as rushing opportunities.
rushing_highlightintegerHighlight yards – rushing yardage credited to the back rather than the offensive line.
rushing_highlight_ratedoubleShare of rushing yardage that was highlight (back-credited) yardage.
rushing_highlight_yardsdoubleTotal highlight yards the team accumulated – the yardage credited to ball carriers rather than the line. The per-carry figure is rushing_highlight_yards_per_opp.
line_yardsdoubleLine yards – the portion of rushing yardage credited to the offensive line under the standard rushing decomposition. ESPN applies its own qualifying threshold for the yardage split.
line_yards_per_carrydoubleLine yards per rushing attempt.
second_level_yardsdoubleSecond-level yards – rushing yardage earned just beyond the line of scrimmage.
open_field_yardsdoubleOpen-field yards – rushing yardage earned well downfield, past the second level.
game_idinteger
seasoninteger
weekinteger

Author

Saiem Gilani

Examples

# \donttest{
  try(load_espn_cfb_adv_team(2004))
#> ── college football advanced team from the SportsDataverse data repo ───────────
#>  Data updated: 2026-09-10 05:49:45 UTC
#> # A tibble: 926 × 80
#>    pos_team_id pos_team       rushing_highlight_ya…¹ total_pen_yards EPA_penalty
#>          <int> <chr>                           <dbl>           <int>       <dbl>
#>  1         259 Virginia Tech…                   5.17               5        1.86
#>  2          30 USC Trojans                      4.2               -5       -0.56
#>  3         245 Texas A&M Agg…                   7.27             -40       -5.99
#>  4         254 Utah Utes                        4.47             -75       -5.97
#>  5         103 Boston Colleg…                   4.71             -16       -0.69
#>  6        2050 Ball State Ca…                   1.72             -10       -1.29
#>  7        2628 TCU Horned Fr…                   3.57             -15       -1.59
#>  8          77 Northwestern …                   4.12              45        6.3 
#>  9        2638 UTEP Miners                      2.29              10        1.07
#> 10           9 Arizona State…                   2.27             -21       -0.13
#> # ℹ 916 more rows
#> # ℹ abbreviated name: ¹​rushing_highlight_yards_per_opp
#> # ℹ 75 more variables: penalty_first_downs_created <int>,
#> #   penalty_first_downs_created_rate <dbl>, penalties <int>,
#> #   penalty_yards <int>, special_teams_plays <int>, EPA_sp <dbl>,
#> #   EPA_special_teams <dbl>, field_goals <int>, EPA_fg <dbl>, punt_plays <int>,
#> #   EPA_punt <dbl>, kickoff_plays <int>, EPA_kickoff <dbl>, rushes <int>, …
# }