Returns a list of all seasons from the Stats REST API.
Value
A data frame (fastRhockey_data) with the following columns:
| col_name | types | description |
| id | integer | Season identifier (YYYYYYYY). |
| all_star_game_in_use | integer | Whether an All-Star Game was held this season. |
| conferences_in_use | integer | Whether conferences were in use this season. |
| divisions_in_use | integer | Whether divisions were in use this season. |
| end_date | character | Season end date. |
| entry_draft_in_use | integer | Whether an entry draft was in use this season. |
| formatted_season_id | character | Human-readable season string (e.g. "2023-24"). |
| minimum_playoff_minutes_for_goalie_stats_leaders | integer | Minimum playoff minutes to qualify for goalie stats leaders. |
| minimum_regular_games_for_goalie_stats_leaders | integer | Minimum regular-season games to qualify for goalie stats leaders. |
| nhl_stanley_cup_owner | integer | Whether the NHL owned the Stanley Cup this season. |
| number_of_games | integer | Number of games per team this season. |
| olympics_participation | integer | Whether NHL players participated in the Olympics this season. |
| point_for_ot_loss_in_use | integer | Whether the overtime-loss point was in use this season. |
| preseason_startdate | character | Preseason start date. |
| regular_season_end_date | character | Regular-season end date. |
| row_in_use | integer | Whether the regulation/overtime/shootout format was in use. |
| season_ordinal | integer | Ordinal sequence number of the season. |
| start_date | character | Season start date. |
| supplemental_draft_in_use | integer | Whether a supplemental draft was in use this season. |
| ties_in_use | integer | Whether ties were in use this season. |
| total_playoff_games | integer | Total number of playoff games this season. |
| total_regular_season_games | integer | Total number of regular-season games this season. |
| wildcard_in_use | integer | Whether the wild-card playoff format was in use this season. |
Examples
# \donttest{
try(nhl_stats_seasons())
#> ── NHL Stats Seasons ────────────────────────────────────── fastRhockey 1.0.0 ──
#> ℹ Data updated: 2026-06-13 03:26:05 UTC
#> # A tibble: 108 × 23
#> id all_star_game_in_use conferences_in_use divisions_in_use end_date
#> <int> <int> <int> <int> <chr>
#> 1 19531954 1 0 0 1954-04-16…
#> 2 20162017 1 1 1 2017-06-11…
#> 3 19421943 0 0 0 1943-04-08…
#> 4 19231924 0 0 0 1924-03-25…
#> 5 19441945 0 0 0 1945-04-22…
#> 6 19451946 0 0 0 1946-04-09…
#> 7 19981999 1 1 1 1999-06-19…
#> 8 19691970 1 0 1 1970-05-10…
#> 9 19321933 0 0 1 1933-04-13…
#> 10 19461947 1 0 0 1947-04-19…
#> # ℹ 98 more rows
#> # ℹ 18 more variables: entry_draft_in_use <int>, formatted_season_id <chr>,
#> # minimum_playoff_minutes_for_goalie_stats_leaders <int>,
#> # minimum_regular_games_for_goalie_stats_leaders <int>,
#> # nhl_stanley_cup_owner <int>, number_of_games <int>,
#> # olympics_participation <int>, point_for_ot_loss_in_use <int>,
#> # preseason_startdate <chr>, regular_season_end_date <chr>, …
# }
