Skip to contents

Flattens the Bifrost team/{id}/gamelog into one tidy, long row per (game, stat-category, stat). The endpoint groups team per-game stats by category (passing, rushing, defense, ...) and season-type split.

Usage

fox_cfb_team_gamelog(team_id)

Arguments

team_id

(character/numeric, required): Fox Bifrost team id (e.g. "11").

Value

A cfbfastR-tagged tibble with one row per (game, stat):

  • team_id: character.: Fox team id echoed back.

  • season_type: character.: Split label ("REGULAR SEASON", "POSTSEASON").

  • category: character.: Stat category ("passing", "rushing", "defense", ...).

  • game_id: character.: Fox event id for the game.

  • game_date: character.: Game date (M/D).

  • opponent: character.: Opponent abbreviation ("@PITT").

  • stat: character.: Stat column name (deduped; e.g. "yds", "yds_2").

  • value: character.: Stat value as displayed.

Examples

# \donttest{
  try(fox_cfb_team_gamelog(team_id = "11"))
#> ── Team game log from Fox Sports (Bifrost) ─────────────────── cfbfastR 3.1.0 ──
#> ℹ Data updated: 2026-11-26 22:48:48 UTC
#> # A tibble: 340 × 8
#>    team_id season_type    category game_id game_date opponent stat     value
#>    <chr>   <chr>          <chr>    <chr>   <chr>     <chr>    <chr>    <chr>
#>  1 11      REGULAR SEASON passing  44303   11/21     VT       comp     25   
#>  2 11      REGULAR SEASON passing  44303   11/21     VT       att      37   
#>  3 11      REGULAR SEASON passing  44303   11/21     VT       pct      67.6 
#>  4 11      REGULAR SEASON passing  44303   11/21     VT       yds      241  
#>  5 11      REGULAR SEASON passing  44303   11/21     VT       pyds_att 10.7 
#>  6 11      REGULAR SEASON passing  44303   11/21     VT       td       0    
#>  7 11      REGULAR SEASON passing  44303   11/21     VT       int      2    
#>  8 11      REGULAR SEASON passing  44303   11/21     VT       sck      2    
#>  9 11      REGULAR SEASON passing  44303   11/21     VT       yds_2    15   
#> 10 11      REGULAR SEASON passing  44303   11/21     VT       qbr      111.5
#> # ℹ 330 more rows
# }