
NHL Records - Franchise Totals
Source:R/nhl_records_franchise_totals.R
nhl_records_franchise_totals.RdReturns all-time franchise totals from the NHL Records API
(https://records.nhl.com/site/api/franchise-totals). Optionally filter
by franchise ID or a cayenneExp expression.
Value
A data frame (fastRhockey_data) with the following columns:
| col_name | types | description |
| id | integer | Unique record identifier. |
| active_franchise | integer | Indicator of whether the franchise is active. |
| cups | integer | Number of Stanley Cup championships. |
| first_season_id | integer | Season ID of the franchise's first season. |
| franchise_id | integer | Unique franchise identifier. |
| game_type_id | integer | Game type the totals belong to. |
| game_win_pctg | numeric | Game-winning percentage. |
| games_played | integer | Total games played. |
| goals_against | integer | Goals against. |
| goals_for | integer | Goals for. |
| home_losses | integer | Losses at home. |
| home_overtime_losses | integer | Overtime losses at home. |
| home_ties | integer | Ties at home. |
| home_wins | integer | Wins at home. |
| last_season_id | integer | Season ID of the franchise's last season. |
| losses | integer | Total losses. |
| overtime_losses | integer | Total overtime losses. |
| penalty_minutes | integer | Penalty minutes. |
| playoff_seasons | integer | Number of playoff seasons. |
| point_pctg | numeric | Points percentage. |
| points | integer | Total standings points. |
| road_losses | integer | Losses on the road. |
| road_overtime_losses | integer | Overtime losses on the road. |
| road_ties | integer | Ties on the road. |
| road_wins | integer | Wins on the road. |
| series_losses | integer | Playoff series losses. |
| series_played | integer | Playoff series played. |
| series_win_pctg | numeric | Playoff series win percentage. |
| series_wins | integer | Playoff series wins. |
| shootout_losses | integer | Shootout losses. |
| shootout_wins | integer | Shootout wins. |
| shutouts | integer | Shutouts recorded. |
| team_abbrev | character | Team abbreviation. |
| team_id | integer | Unique team identifier. |
| team_name | character | Team name. |
| ties | integer | Total ties. |
| wins | integer | Total wins. |
Examples
# \donttest{
try(nhl_records_franchise_totals())
#> ── NHL Records Franchise Totals ─────────────────────────── fastRhockey 1.0.0 ──
#> ℹ Data updated: 2026-06-13 03:25:41 UTC
#> # A tibble: 80 × 37
#> id active_franchise cups first_season_id franchise_id game_type_id
#> <int> <int> <int> <int> <int> <int>
#> 1 1 0 3 19791980 27 3
#> 2 2 1 1 19741975 24 3
#> 3 3 0 0 19191920 4 2
#> 4 4 0 2 19241925 7 2
#> 5 5 1 0 19921993 30 3
#> 6 6 1 4 19261927 10 2
#> 7 7 1 1 19671968 18 3
#> 8 8 0 0 19671968 13 2
#> 9 9 1 0 20212022 39 3
#> 10 10 1 2 19931994 33 2
#> # ℹ 70 more rows
#> # ℹ 31 more variables: game_win_pctg <dbl>, games_played <int>,
#> # goals_against <int>, goals_for <int>, home_losses <int>,
#> # home_overtime_losses <int>, home_ties <int>, home_wins <int>,
#> # last_season_id <int>, losses <int>, overtime_losses <int>,
#> # penalty_minutes <int>, playoff_seasons <int>, point_pctg <dbl>,
#> # points <int>, road_losses <int>, road_overtime_losses <int>, …
# }