cfb_metrics_ppa_players_season: Get player season averages for Predicted Points Added (PPA)

Description Usage Arguments Value Source Examples

View source: R/cfb_metrics_ppa_players_season.R

Description

Get player season averages for Predicted Points Added (PPA)

Usage

1
2
3
4
5
6
7
8
9
cfb_metrics_ppa_players_season(
  year = NULL,
  team = NULL,
  conference = NULL,
  position = NULL,
  athlete_id = NULL,
  threshold = NULL,
  excl_garbage_time = FALSE
)

Arguments

year

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

team

(String optional): D-I Team

conference

(String optional): Conference abbreviation - S&P+ information by conference
Conference abbreviations P5: ACC, B12, B1G, SEC, PAC
Conference abbreviations G5 and FBS Independents: CUSA, MAC, MWC, Ind, SBC, AAC

position

(string optional): Position abbreviation of the player you are searching for.
Position Group - options include:
* Offense: QB, RB, FB, TE, OL, G, OT, C, WR
* Defense: DB, CB, S, LB, DE, DT, NT, DL
* Special Teams: K, P, LS, PK

athlete_id

(Integer optional): Athlete ID filter for querying a single athlete
Can be found using the cfbscrapR::cfb_player_info() function.

threshold

(Integer optional): Minimum threshold of plays.

excl_garbage_time

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

Value

A data frame with 23 variables:

season

integer.

id

character.

name

character.

position

character.

team

character.

conference

character.

countable_plays

integer.

avg_PPA_all

double.

avg_PPA_pass

double.

avg_PPA_rush

double.

avg_PPA_first_down

double.

avg_PPA_second_down

double.

avg_PPA_third_down

double.

avg_PPA_standard_downs

double.

avg_PPA_passing_downs

double.

total_PPA_all

double.

total_PPA_pass

double.

total_PPA_rush

double.

total_PPA_first_down

double.

total_PPA_second_down

double.

total_PPA_third_down

double.

total_PPA_standard_downs

double.

total_PPA_passing_downs

double.

Source

https://api.collegefootballdata.com/ppa/players/season

Examples

1
cfb_metrics_ppa_players_season(year = 2019, team = 'TCU')

meysubb/cfbscrapR documentation built on Dec. 15, 2020, 11:26 p.m.