yahoo_cfb_team_season_stats_legacy: *Get Yahoo Sports CFB legacy per-category team stats*

View source: R/yahoo_cfb.R

yahoo_cfb_team_season_stats_legacyR Documentation

Get Yahoo Sports CFB legacy per-category team stats

Description

Flattens a legacy ⁠seasonTeamStatsFootball{Category}⁠ query into a wide team tibble.

Usage

yahoo_cfb_team_season_stats_legacy(
  season = most_recent_cfb_season(),
  category = "Passing",
  sort_stat = "PASSING_YARDS",
  league_structure = "ncaaf.struct.div.1",
  count = 200
)

Arguments

season

(integer): Season year. Defaults to most_recent_cfb_season().

category

(character): One of Passing, Rushing, Receiving, Defense, Kicking, Punting, Returns, Kickoffs, Offense. Defaults to "Passing".

sort_stat

(character): Required sort stat id. Defaults to "PASSING_YARDS".

league_structure

(character): Defaults to "ncaaf.struct.div.1".

count

(integer): Defaults to 200.

Value

A cfbfastR-tagged tibble: team, team_abbreviation, season, category, plus one column per statId.

See Also

Other Yahoo CFB Functions: yahoo_cfb_boxscore(), yahoo_cfb_player_season_stats(), yahoo_cfb_player_season_stats_legacy(), yahoo_cfb_scoreboard(), yahoo_cfb_team_season_stats()

Examples


  try(yahoo_cfb_team_season_stats_legacy(season = 2024, category = "Rushing",
                                         sort_stat = "RUSHING_YARDS"))


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