fox_cfb_pbp: *Get Fox Sports college football play-by-play*

View source: R/fox_cfb.R

fox_cfb_pbpR Documentation

Get Fox Sports college football play-by-play

Description

Flattens the Bifrost event/{id}/data play-by-play layout (quarters -> drives -> plays) into one tidy play-level tibble.

Usage

fox_cfb_pbp(game_id)

Arguments

game_id

(character/numeric, required): Fox Bifrost event id (e.g. "41616"). This is the Fox event id, not the ESPN game id.

Value

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.

Examples


  try(fox_cfb_pbp(game_id = "41616"))


cfbfastR documentation built on Aug. 24, 2026, 5:13 p.m.