Description Usage Arguments Value Source Examples
View source: R/cfb_metrics_ppa_players_games.R
Get player game averages for Predicted Points Added (PPA)
1 2 3 4 5 6 7 8 9 |
year |
(Integer required): Year, 4 digit format (YYYY) |
week |
(Integer optional): Week - values range from 1-15, 1-14 for seasons pre-playoff, i.e. 2013 or earlier |
team |
(String optional): D-I Team |
position |
(string optional): Position abbreviation of the player you are searching for. |
athlete_id |
(Integer optional): Athlete ID filter for querying a single athlete |
threshold |
(Integer optional): Minimum threshold of plays. |
excl_garbage_time |
(Logical default FALSE): Select whether to exclude Garbage Time (TRUE or FALSE) |
A data frame with 9 variables:
season
integer.
week
integer.
name
character.
position
character.
team
character.
opponent
character.
avg_PPA_all
double.
avg_PPA_pass
double.
avg_PPA_rush
double.
https://api.collegefootballdata.com/ppa/players/games
1 | cfb_metrics_ppa_players_games(year = 2019,week=3, team = 'TCU')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.