cfb_stats_season_team: Get Season Statistics by Team

Description Usage Arguments Value Source Examples

View source: R/cfb_stats_season_team.R

Description

Get Season Statistics by Team

Usage

1
2
3
4
5
6
7
8
cfb_stats_season_team(
  year,
  season_type = "regular",
  team = NULL,
  conference = NULL,
  start_week = NULL,
  end_week = NULL
)

Arguments

year

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

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

start_week

(Integer optional): Starting Week - values range from 1-15, 1-14 for seasons pre-playoff, i.e. 2013 or earlier

end_week

(Integer optional): Ending Week - values range from 1-15, 1-14 for seasons pre-playoff, i.e. 2013 or earlier

Value

A data frame with 43 variables:

games

integer.

time_of_poss_total

integer.

time_of_poss_pg

double.

pass_comps

integer.

pass_atts

integer.

completion_pct

double.

net_pass_yds

integer.

pass_ypa

double.

pass_ypr

double.

pass_TDs

integer.

interceptions

integer.

int_pct

double.

rush_atts

integer.

rush_yds

integer.

rush_TDs

integer.

rush_ypc

double.

total_yds

integer.

fumbles_lost

integer.

turnovers

integer.

turnovers_pg

double.

first_downs

integer.

third_downs

integer.

third_down_convs

integer.

third_conv_rate

double.

fourth_down_convs

integer.

fourth_downs

integer.

fourth_conv_rate

double.

penalties

integer.

penalty_yds

integer.

penalties_pg

double.

penalty_yds_pg

double.

yards_per_penalty

double.

kick_returns

integer.

kick_return_yds

integer.

kick_return_TDs

integer.

kick_return_avg

double.

punt_returns

integer.

punt_return_yds

integer.

punt_return_TDs

integer.

punt_return_avg

double.

passes_intercepted

integer.

passes_intercepted_yds

integer.

passes_intercepted_TDs

integer.

Source

https://api.collegefootballdata.com/stats/season

Examples

1
2
3
4
5
cfb_stats_season_team(year=2018, conference = 'B12', start_week = 1,end_week = 8)

cfb_stats_season_team(2019, team = 'LSU')

cfb_stats_season_team(2013, team = "Florida State")

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