cfb_stats_season_player: Get Season Statistics by Player

Description Usage Arguments Value Source Examples

View source: R/cfb_stats_season_player.R

Description

Get Season Statistics by Player

Usage

1
2
3
4
5
6
7
8
9
cfb_stats_season_player(
  year,
  season_type = "regular",
  team = NULL,
  conference = NULL,
  start_week = NULL,
  end_week = NULL,
  category = 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 fom 1-15, 1-14 for seasons pre-playoff, i.e. 2013 or earlier

category

(String optional): Category filter (e.g defensive)
Offense: passing, receiving, rushing
Defense: defensive, fumbles, interceptions
Special Teams: punting, puntReturns, kicking, kickReturns

Value

A data frame with 59 variables:

team

character.

conference

character.

athlete_id

character.

player

character.

category

character.

passing_completions

double.

passing_att

double.

passing_pct

double.

passing_yds

double.

passing_td

double.

passing_int

double.

passing_ypa

double.

rushing_car

double.

rushing_yds

double.

rushing_td

double.

rushing_ypc

double.

rushing_long

double.

receiving_rec

double.

receiving_yds

double.

receiving_td

double.

receiving_ypr

double.

receiving_long

double.

fumbles_fum

double.

fumbles_rec

double.

fumbles_lost

double.

defensive_solo

double.

defensive_tot

double.

defensive_tfl

double.

defensive_sacks

double.

defensive_qb_hur

double.

interceptions_int

double.

interceptions_yds

double.

interceptions_avg

double.

interceptions_td

double.

defensive_pd

double.

defensive_td

double.

kicking_fgm

double.

kicking_fga

double.

kicking_pct

double.

kicking_xpa

double.

kicking_xpm

double.

kicking_pts

double.

kicking_long

double.

kick_returns_no

double.

kick_returns_yds

double.

kick_returns_avg

double.

kick_returns_td

double.

kick_returns_long

double.

punting_no

double.

punting_yds

double.

punting_ypp

double.

punting_long

double.

punting_in_20

double.

punting_tb

double.

punt_returns_no

double.

punt_returns_yds

double.

punt_returns_avg

double.

punt_returns_td

double.

punt_returns_long

double.

Source

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

Examples

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

cfb_stats_season_player(2019, team = 'LSU', category = 'passing')

cfb_stats_season_player(2013, team = "Florida State", category = 'passing')

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