Skip to contents

Loaders for season-level PWHL datasets published as GitHub releases on sportsdataverse/sportsdataverse-data. Each helper is a thin wrapper around .pwhl_release_loader() which validates seasons, builds the per-asset URLs from a (release_tag, file_prefix) pair, downloads in parallel with optional progressr progress + optional DBI::DBIConnection insertion, and tags the result with the fastRhockey_data S3 class. Adding a new dataset is one new row in the catalog table below.

Details

Loader catalog

FunctionRelease tagFile prefix
load_pwhl_pbp()pwhl_pbpplay_by_play
load_pwhl_player_box()pwhl_player_boxscoresplayer_box
load_pwhl_skater_box()pwhl_skater_boxscoresskater_box
load_pwhl_goalie_box()pwhl_goalie_boxscoresgoalie_box
load_pwhl_team_box()pwhl_team_boxscoresteam_box
load_pwhl_schedule()pwhl_schedulespwhl_schedule
load_pwhl_rosters()pwhl_rostersrosters
load_pwhl_game_rosters()pwhl_game_rostersgame_rosters
load_pwhl_game_info()pwhl_game_infogame_info
load_pwhl_scoring_summary()pwhl_scoring_summaryscoring_summary
load_pwhl_penalty_summary()pwhl_penalty_summarypenalty_summary
load_pwhl_three_stars()pwhl_three_starsthree_stars
load_pwhl_officials()pwhl_officialsofficials
load_pwhl_shots_by_period()pwhl_shots_by_periodshots_by_period
load_pwhl_shootout()pwhl_shootoutshootout_summary

DB helper

FunctionPurpose
update_pwhl_db()Idempotent loader -> DB writer (delta only)

Season Convention

PWHL loaders use the end year of the season (e.g. 2026 for the 2025-26 season), matching most_recent_pwhl_season().

Default season

When seasons is left at its default and the newest season's file is not published yet (it appears with the season's first games), the loader falls back to the season before it and says so in a message. An explicit request for that season is kept as asked and returns an empty frame with a warning.