cfb_metrics_ppa_games: Get team game averages for Predicted Points Added (PPA)

Description Usage Arguments Value Examples

View source: R/cfb_metrics_ppa_games.R

Description

Get team game averages for Predicted Points Added (PPA)

Usage

1
2
3
4
5
6
7
cfb_metrics_ppa_games(
  year,
  week = NULL,
  team = NULL,
  conference = NULL,
  excl_garbage_time = FALSE
)

Arguments

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

conference

(String optional): Conference abbreviation - Select a valid FBS conference
Conference abbreviations P5: ACC, B12, B1G, SEC, PAC
Conference abbreviations G5 and FBS Independents: CUSA, MAC, MWC, Ind, SBC, AAC

excl_garbage_time

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

Value

A data frame with 18 variables:

game_id

integer.

season

integer.

week

integer.

conference

character.

team

character.

opponent

character.

off_overall

character.

off_passing

character.

off_rushing

character.

off_first_down

character.

off_second_down

character.

off_third_down

character.

def_overall

character.

def_passing

character.

def_rushing

character.

def_first_down

character.

def_second_down

character.

def_third_down

character.

Examples

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

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