get_plays: Gets a set of college football plays

Description Usage Arguments

View source: R/get_plays.R

Description

Get all of the plays from games that meet the provided criteria

Usage

1
2
3
4
get_plays(year, week, seasonType = "regular", team = NULL,
  offense = NULL, defense = NULL, conference = NULL,
  offenseConference = NULL, defenseConference = NULL,
  playTypeId = NULL)

Arguments

year

(required) Year for desired games

week

(required) Week number

seasonType

(optional) [regular/postseason] Season Type for desired games

team

(optional) Name for team. "Michigan" and 'Oregon State' are valid examples.

offense

(optional) Name for team on offense. "Michigan" and 'Oregon State' are valid examples.

defense

(optional) Name for team on defense. "Michigan" and 'Oregon State' are valid examples.

offenseConference

(optional) Abbreviation for conference of team on defense. "B1G", "PAC", and "CUSA" are valid examples.

defenseConference

(optional) Abbreviation for conference of team on defense. "B1G", "PAC", and "CUSA" are valid examples.

playTypeId

(optional) playTypeId for desired type of play to return


zmalosh/CollegeFootballDataR documentation built on Nov. 5, 2019, 1:28 p.m.