Skip to contents

Returns season-by-season stats metadata for a club, including which game types (regular season, playoffs) are available for each season.

Usage

nhl_club_stats_season(team_abbr)

Arguments

team_abbr

Three-letter team abbreviation (e.g., "TOR", "BOS")

Value

A data frame (fastRhockey_data) with the following columns:

col_nametypesdescription
seasonintegerSeason in 8-digit API format (e.g., 20252026).
game_typeslistGame types available for the season (regular/playoff).
team_abbrcharacterTeam abbreviation queried.

Examples

# \donttest{
  try(nhl_club_stats_season(team_abbr = "TOR"))
#> ── NHL Club Stats Season ───────────────────────────── fastRhockey 1.0.0.9000 ──
#> ℹ Data updated: 2026-10-13 01:57:11 UTC
#> # A tibble: 99 × 3
#>      season game_types team_abbr
#>       <int> <list>     <chr>    
#>  1 20262027 <int [1]>  TOR      
#>  2 20252026 <int [1]>  TOR      
#>  3 20242025 <int [2]>  TOR      
#>  4 20232024 <int [2]>  TOR      
#>  5 20222023 <int [2]>  TOR      
#>  6 20212022 <int [2]>  TOR      
#>  7 20202021 <int [2]>  TOR      
#>  8 20192020 <int [2]>  TOR      
#>  9 20182019 <int [2]>  TOR      
#> 10 20172018 <int [2]>  TOR      
#> # ℹ 89 more rows
# }