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.3 ──
#>  Data updated: 2022-09-23 03:23:17 UTC
#> # A tibble: 1 × 21
#>   season confere…¹ team  off_o…² off_p…³ off_r…⁴ off_f…⁵ off_s…⁶ off_t…⁷ off_c…⁸
#>    <int> <chr>     <chr> <chr>   <chr>   <chr>   <chr>   <chr>   <chr>   <chr>  
#> 1   2019 Big 12    TCU   0.1428… 0.0596… 0.2455… 0.0276… 0.0077… 0.5822… 132.13…
#> # … with 11 more variables: 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>, and abbreviated
#> #   variable names ¹​conference, ²​off_overall, ³​off_passing, ⁴​off_rushing,
#> #   ⁵​off_first_down, ⁶​off_second_down, ⁷​off_third_down, ⁸​off_cumulative_total
# }