Skip to contents

WHL schedule from the HockeyTech feed: one row per game of one season (modulekit/schedule). A season's playoffs and preseason are separate HockeyTech season ids; pass season_id for them.

Usage

whl_schedule(season = NULL, season_id = NULL)

Arguments

season

End-year season (e.g. 2025); optional. Defaults to the newest regular season when neither season nor season_id is given.

season_id

Explicit HockeyTech season id; optional.

Value

A fastRhockey_data data frame, one row per game.

Examples

 try(whl_schedule()) 
#> ── WHL Schedule from HockeyTech ────────────────────── fastRhockey 1.0.0.9000 ──
#> ℹ Data updated: 2026-10-13 02:00:46 UTC
#> # A tibble: 782 × 12
#>    game_id game_date     game_status home_team home_team_id home_score away_team
#>    <chr>   <chr>         <chr>       <chr>     <chr>        <chr>      <chr>    
#>  1 1023081 2026-09-18T1… Final       Brandon … 201          5          Saskatoo…
#>  2 1023084 2026-09-18T1… Final       Prince A… 209          7          Regina P…
#>  3 1023082 2026-09-18T1… Final SO    Calgary … 202          3          Red Deer…
#>  4 1023083 2026-09-18T1… Final       Lethbrid… 205          2          Medicine…
#>  5 1023085 2026-09-18T1… Final       Prince G… 210          4          Penticto…
#>  6 1023089 2026-09-19T1… Final OT    Moose Ja… 207          7          Saskatoo…
#>  7 1023092 2026-09-19T1… Final       Swift Cu… 216          5          Prince A…
#>  8 1023091 2026-09-19T1… Final       Red Deer… 211          1          Edmonton…
#>  9 1023088 2026-09-19T1… Final       Medicine… 206          5          Lethbrid…
#> 10 1023087 2026-09-19T1… Final       Kamloops… 203          2          Victoria…
#> # ℹ 772 more rows
#> # ℹ 5 more variables: away_team_id <chr>, away_score <chr>, venue <chr>,
#> #   season_id <chr>, game_type <chr>