Get live college football play-by-play data.
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_name | types |
game_id | integer |
home_team_id | integer |
home_team | character |
away_team_id | integer |
away_team | character |
play_id | character |
home_score | integer |
away_score | integer |
period | integer |
clock | character |
wall_clock | character |
offense_team_id | integer |
offense_team | character |
down | integer |
distance | integer |
yards_to_goal | integer |
yards_gained | integer |
play_type_id | integer |
play_type | character |
ppa | numeric |
garbage_time | logical |
success | logical |
rush_pass | character |
down_type | character |
play_text | character |
drive_id | character |
drive_offense_id | integer |
drive_offense_team | character |
drive_defense_id | integer |
drive_defense_team | character |
drive_play_count | integer |
drive_yards_gained | integer |
drive_start_period | integer |
drive_start_clock | character |
drive_start_yards_to_goal | integer |
drive_end_period | integer |
drive_end_clock | character |
drive_end_yards_to_goal | integer |
drive_duration | character |
drive_scoring_opportunity | logical |
drive_result | character |
drive_points_gained | integer |
current_clock | character |
current_possession | character |
home_line_scores_q1 | integer |
home_line_scores_q2 | integer |
home_line_scores_q3 | integer |
home_line_scores_q4 | integer |
home_points | integer |
home_drives | integer |
home_scoring_opportunities | integer |
home_points_per_opportunity | numeric |
home_plays | integer |
home_line_yards | numeric |
home_line_yards_per_rush | numeric |
home_second_level_yards | integer |
home_second_level_yards_per_rush | numeric |
home_open_field_yards | integer |
home_open_field_yards_per_rush | numeric |
home_ppa_per_play | numeric |
home_total_ppa | numeric |
home_passing_ppa | numeric |
home_ppa_per_pass | numeric |
home_rushing_ppa | numeric |
home_ppa_per_rush | numeric |
home_success_rate | numeric |
home_standard_down_success_rate | numeric |
home_passing_down_success_rate | numeric |
home_explosiveness | numeric |
away_line_scores_q1 | integer |
away_line_scores_q2 | integer |
away_line_scores_q3 | integer |
away_line_scores_q4 | integer |
away_points | integer |
away_drives | integer |
away_scoring_opportunities | integer |
away_points_per_opportunity | numeric |
away_plays | integer |
away_line_yards | numeric |
away_line_yards_per_rush | numeric |
away_second_level_yards | integer |
away_second_level_yards_per_rush | numeric |
away_open_field_yards | integer |
away_open_field_yards_per_rush | numeric |
away_ppa_per_play | numeric |
away_total_ppa | numeric |
away_passing_ppa | numeric |
away_ppa_per_pass | numeric |
away_rushing_ppa | numeric |
away_ppa_per_rush | numeric |
away_success_rate | numeric |
away_standard_down_success_rate | numeric |
away_passing_down_success_rate | numeric |
away_explosiveness | numeric |
See also
Other CFBD PBP:
cfbd_pbp_data()
,
cfbd_play_stats_player()
,
cfbd_play_stats_types()
,
cfbd_play_types()
,
cfbd_plays()
Examples
if (FALSE) { # \dontrun{
try(cfbd_live_plays(game_id=401520182))
} # }