| fox_cfb_pbp | R Documentation |
Flattens the Bifrost event/{id}/data play-by-play layout
(quarters -> drives -> plays) into one tidy play-level tibble.
fox_cfb_pbp(game_id)
game_id |
(character/numeric, required): Fox Bifrost event id (e.g. |
A cfbfastR-tagged tibble with one row per play:
game_id: character.: Fox event id echoed back.
quarter: character.: Period title (e.g. "1ST QUARTER", "OVERTIME").
drive_id: character.: Drive identifier within the game.
drive_result: character.: Drive outcome (e.g. "TOUCHDOWN", "PUNT").
drive_summary: character.: Drive summary ("4 plays, 65 yards, 1:21").
drive_team: character.: Team on offense for the drive.
play_id: character.: Play identifier.
period: character.: Period of the play ("1ST", "OT").
clock: character.: Game clock at the play ("15:00").
field_position: character.: Field-position label ("KENT 35").
play_text: character.: Full play description.
play_team: character.: Team credited with the play.
try(fox_cfb_pbp(game_id = "41616"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.