Skip to contents

Get live college football play-by-play data.

Usage

cfbd_live_plays(game_id)

Arguments

game_id

(Integer Required): Game ID filter for querying a single game Can be found using the cfbd_game_info() function

Value

cfbd_live_plays() - A data frame with 94 columns:

col_nametypes
game_idinteger
home_team_idinteger
home_teamcharacter
away_team_idinteger
away_teamcharacter
play_idcharacter
home_scoreinteger
away_scoreinteger
periodinteger
clockcharacter
wall_clockcharacter
offense_team_idinteger
offense_teamcharacter
downinteger
distanceinteger
yards_to_goalinteger
yards_gainedinteger
play_type_idinteger
play_typecharacter
ppanumeric
garbage_timelogical
successlogical
rush_passcharacter
down_typecharacter
play_textcharacter
drive_idcharacter
drive_offense_idinteger
drive_offense_teamcharacter
drive_defense_idinteger
drive_defense_teamcharacter
drive_play_countinteger
drive_yards_gainedinteger
drive_start_periodinteger
drive_start_clockcharacter
drive_start_yards_to_goalinteger
drive_end_periodinteger
drive_end_clockcharacter
drive_end_yards_to_goalinteger
drive_durationcharacter
drive_scoring_opportunitylogical
drive_resultcharacter
drive_points_gainedinteger
current_clockcharacter
current_possessioncharacter
home_line_scores_q1integer
home_line_scores_q2integer
home_line_scores_q3integer
home_line_scores_q4integer
home_pointsinteger
home_drivesinteger
home_scoring_opportunitiesinteger
home_points_per_opportunitynumeric
home_playsinteger
home_line_yardsnumeric
home_line_yards_per_rushnumeric
home_second_level_yardsinteger
home_second_level_yards_per_rushnumeric
home_open_field_yardsinteger
home_open_field_yards_per_rushnumeric
home_ppa_per_playnumeric
home_total_ppanumeric
home_passing_ppanumeric
home_ppa_per_passnumeric
home_rushing_ppanumeric
home_ppa_per_rushnumeric
home_success_ratenumeric
home_standard_down_success_ratenumeric
home_passing_down_success_ratenumeric
home_explosivenessnumeric
away_line_scores_q1integer
away_line_scores_q2integer
away_line_scores_q3integer
away_line_scores_q4integer
away_pointsinteger
away_drivesinteger
away_scoring_opportunitiesinteger
away_points_per_opportunitynumeric
away_playsinteger
away_line_yardsnumeric
away_line_yards_per_rushnumeric
away_second_level_yardsinteger
away_second_level_yards_per_rushnumeric
away_open_field_yardsinteger
away_open_field_yards_per_rushnumeric
away_ppa_per_playnumeric
away_total_ppanumeric
away_passing_ppanumeric
away_ppa_per_passnumeric
away_rushing_ppanumeric
away_ppa_per_rushnumeric
away_success_ratenumeric
away_standard_down_success_ratenumeric
away_passing_down_success_ratenumeric
away_explosivenessnumeric

Examples

if (FALSE) { # \dontrun{
  try(cfbd_live_plays(game_id=401520182))
} # }