Skip to contents

Get team averages for predicted points added (PPA)

Usage

cfbd_metrics_ppa_teams(
  year = NULL,
  team = NULL,
  conference = NULL,
  excl_garbage_time = FALSE
)

Arguments

year

(Integer optional): Year, 4 digit format (YYYY)

team

(String optional): D-I Team

conference

(String optional): Conference name - select a valid FBS conference Conference names P5: ACC, Big 12, Big Ten, SEC, Pac-12 Conference names G5 and FBS Independents: Conference USA, Mid-American, Mountain West, FBS Independents, American Athletic

excl_garbage_time

(Logical default FALSE): Select whether to exclude Garbage Time (TRUE or FALSE)

Value

cfbd_metrics_ppa_teams() - A data frame with 21 variables:

season: integer.

.

conference: character.

.

team: character.

.

off_overall: character.

Offense overall predicted points added (PPA).

off_passing: character.

Offense passing predicted points added (PPA).

off_rushing: character.

Offense rushing predicted points added (PPA).

off_first_down: character.

Offense 1st down predicted points added (PPA).

off_second_down: character.

Offense 2nd down predicted points added (PPA).

off_third_down: character.

Offense 3rd down predicted points added (PPA).

off_cumulative_total: character.

Offense cumulative total predicted points added (PPA).

off_cumulative_passing: character.

Offense cumulative total passing predicted points added (PPA).

off_cumulative_rushing: character.

Offense cumulative total rushing predicted points added (PPA).

def_overall: character.

Defense overall predicted points added (PPA).

def_passing: character.

Defense passing predicted points added (PPA).

def_rushing: character.

Defense rushing predicted points added (PPA).

def_first_down: character.

Defense 1st down predicted points added (PPA).

def_second_down: character.

Defense 2nd down predicted points added (PPA).

def_third_down: character.

Defense 3rd down predicted points added (PPA).

def_cumulative_total: character.

Defense cumulative total predicted points added (PPA).

def_cumulative_passing: character.

Defense cumulative total passing predicted points added (PPA).

def_cumulative_rushing: character.

Defense cumulative total rushing predicted points added (PPA).

Examples

# \donttest{
  try(cfbd_metrics_ppa_teams(year = 2019, team = "TCU"))
#> ── Team PPA data from CollegeFootballData.com ──────────────── cfbfastR 1.9.5 ──
#>  Data updated: 2024-02-01 16:00:40 UTC
#> # A tibble: 1 × 21
#>   season conference team  off_overall     off_passing off_rushing off_first_down
#>    <int> <chr>      <chr> <chr>           <chr>       <chr>       <chr>         
#> 1   2019 Big 12     TCU   0.142849007102… 0.05969839… 0.24555316… 0.02767274681…
#> # ℹ 14 more variables: off_second_down <chr>, off_third_down <chr>,
#> #   off_cumulative_total <chr>, off_cumulative_passing <chr>,
#> #   off_cumulative_rushing <chr>, def_overall <chr>, def_passing <chr>,
#> #   def_rushing <chr>, def_first_down <chr>, def_second_down <chr>,
#> #   def_third_down <chr>, def_cumulative_total <chr>,
#> #   def_cumulative_passing <chr>, def_cumulative_rushing <chr>
# }