Skip to contents

OHL 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

ohl_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(ohl_schedule()) 
#> ── OHL Schedule from HockeyTech ────────────────────── fastRhockey 1.0.0.9000 ──
#> ℹ Data updated: 2026-10-13 01:58:43 UTC
#> # A tibble: 684 × 12
#>    game_id game_date     game_status home_team home_team_id home_score away_team
#>    <chr>   <chr>         <chr>       <chr>     <chr>        <chr>      <chr>    
#>  1 28992   2026-09-17T1… Final       Peterbor… 6            3          Kingston…
#>  2 28993   2026-09-18T1… Final       Brampton… 18           2          Oshawa G…
#>  3 28998   2026-09-18T1… Final       North Ba… 19           2          Barrie C…
#>  4 28994   2026-09-18T1… Final       Brantfor… 1            3          Niagara …
#>  5 28996   2026-09-18T1… Final       Kitchene… 10           0          Owen Sou…
#>  6 28997   2026-09-18T1… Final OT    London K… 14           3          Windsor …
#>  7 29000   2026-09-18T1… Final       Sudbury … 12           2          Peterbor…
#>  8 28995   2026-09-18T1… Final       Guelph S… 9            1          Erie Ott…
#>  9 28999   2026-09-18T1… Final OT    Soo Grey… 16           5          Saginaw …
#> 10 29002   2026-09-19T1… Final       Brantfor… 1            6          Guelph S…
#> # ℹ 674 more rows
#> # ℹ 5 more variables: away_team_id <chr>, away_score <chr>, venue <chr>,
#> #   season_id <chr>, game_type <chr>