cfb_game_team_stats: Get Team Statistics by Game

Description Usage Arguments Value Source Examples

View source: R/cfb_game_team_stats.R

Description

Get Team Statistics by Game

Usage

1
2
3
4
5
6
7
8
9
cfb_game_team_stats(
  year,
  week = NULL,
  season_type = "regular",
  team = NULL,
  conference = NULL,
  game_id = NULL,
  rows_per_team = 1
)

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

season_type

(String default: regular): Select Season Type - regular, postseason, or both

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

game_id

(Integer optional): Game ID filter for querying a single game
Can be found using the cfbscrapR::cfb_game_info() function

rows_per_team

(Integer default 1): Both Teams for each game on one or two row(s), Options: 1 or 2

Value

A data frame with 78 variables:

game_id

integer.

school

character.

conference

character.

home_away

character.

points

integer.

total_yards

character.

net_passing_yards

character.

completion_attempts

character.

passing_tds

character.

yards_per_pass

character.

passes_intercepted

character.

interception_yards

character.

interception_tds

character.

rushing_attempts

character.

rushing_yards

character.

rush_tds

character.

yards_per_rush_attempt

character.

first_downs

character.

third_down_eff

character.

fourth_down_eff

character.

punt_returns

character.

punt_return_yards

character.

punt_return_tds

character.

kick_return_yards

character.

kick_return_tds

character.

kick_returns

character.

kicking_points

character.

fumbles_recovered

character.

fumbles_lost

character.

total_fumbles

character.

tackles

character.

tackles_for_loss

character.

sacks

character.

qb_hurries

character.

interceptions

character.

passes_deflected

character.

turnovers

character.

defensive_tds

character.

total_penalties_yards

character.

possession_time

character.

conference_allowed

character.

home_away_allowed

character.

points_allowed

integer.

total_yards_allowed

character.

net_passing_yards_allowed

character.

completion_attempts_allowed

character.

passing_tds_allowed

character.

yards_per_pass_allowed

character.

passes_intercepted_allowed

character.

interception_yards_allowed

character.

interception_tds_allowed

character.

rushing_attempts_allowed

character.

rushing_yards_allowed

character.

rush_tds_allowed

character.

yards_per_rush_attempt_allowed

character.

first_downs_allowed

character.

third_down_eff_allowed

character.

fourth_down_eff_allowed

character.

punt_returns_allowed

character.

punt_return_yards_allowed

character.

punt_return_tds_allowed

character.

kick_return_yards_allowed

character.

kick_return_tds_allowed

character.

kick_returns_allowed

character.

kicking_points_allowed

character.

fumbles_recovered_allowed

character.

fumbles_lost_allowed

character.

total_fumbles_allowed

character.

tackles_allowed

character.

tackles_for_loss_allowed

character.

sacks_allowed

character.

qb_hurries_allowed

character.

interceptions_allowed

character.

passes_deflected_allowed

character.

turnovers_allowed

character.

defensive_tds_allowed

character.

total_penalties_yards_allowed

character.

possession_time_allowed

character.

Source

https://api.collegefootballdata.com/games/teams

Examples

1
2
3
cfb_game_team_stats(2019, team = 'LSU')

cfb_game_team_stats(2013, team = "Florida State")

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