Skip to contents

Retrieves player streak data for a PWHL season.

Usage

pwhl_streaks(season = most_recent_pwhl_season(), game_type = "both")

Arguments

season

Season (YYYY) to pull streaks from. Defaults to most_recent_pwhl_season().

game_type

Game type: "both" (default), "regular", "playoffs", or "preseason". When "both", regular-season and playoff streaks are combined and labeled by a game_type column. Game types with no streak data for the season are omitted rather than erroring.

Value

A data frame (fastRhockey_data) with the following columns:

col_nametypesdescription
idcharacterUnique streak identifier.
player_idcharacterUnique player identifier.
rookiecharacterWhether the player is a rookie.
first_game_datecharacterDate of the streak's first game.
last_game_datecharacterDate of the streak's last game.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
namecharacterPlayer full name.
lengthcharacterLength of the streak in games.
goalscharacterGoals scored during the streak.
assistscharacterAssists during the streak.
has_splitcharacterWhether the streak spans teams.
games_playedcharacterGames played during the streak.
ongoingcharacterWhether the streak is ongoing.
pointscharacterTotal points during the streak.
streak_start_team_idcharacterTeam identifier at streak start.
streak_end_team_idcharacterTeam identifier at streak end.
num_teamscharacterNumber of teams during the streak.
division_short_namecharacterShort division name.
division_long_namecharacterFull division name.
rankcharacterRank of the streak.
team_namecharacterTeam name.
team_citycharacterTeam city.
team_codecharacterTeam abbreviation.
team_nicknamecharacterTeam nickname.
game_typecharacterGame type the row belongs to.

Examples

# \donttest{
  try(pwhl_streaks(season = 2025))
#> ── PWHL Player Streaks ──────────────────────────────────── fastRhockey 1.0.0 ──
#>  Data updated: 2026-06-13 04:22:33 UTC
#> # A tibble: 26 × 26
#>    id    player_id rookie first_game_date last_game_date first_name last_name
#>    <chr> <chr>     <chr>  <chr>           <chr>          <chr>      <chr>    
#>  1 23158 205       1      Feb 23, 2025    Mar 16, 2025   Sarah      Fillier  
#>  2 23407 32        0      Feb 22, 2025    Mar  4, 2025   Laura      Stacey   
#>  3 23389 13        0      Mar 15, 2025    Mar 26, 2025   Hilary     Knight   
#>  4 23288 161       0      Feb 13, 2025    Feb 20, 2025   Tereza     Vanišová 
#>  5 23422 15        0      Feb 16, 2025    Feb 20, 2025   Alina      Müller   
#>  6 23414 157       0      Apr 26, 2025    present        Catherine  Dubois   
#>  7 23226 195       1      Dec  1, 2024    Dec  7, 2024   Dominique  Petrie   
#>  8 23327 53        0      Feb 22, 2025    Feb 26, 2025   Emily      Clark    
#>  9 23317 57        0      Feb 13, 2025    Feb 16, 2025   Gabbie     Hughes   
#> 10 23289 161       0      Mar 15, 2025    Mar 22, 2025   Tereza     Vanišová 
#> # ℹ 16 more rows
#> # ℹ 19 more variables: name <chr>, length <chr>, goals <chr>, assists <chr>,
#> #   has_split <chr>, games_played <chr>, ongoing <chr>, points <chr>,
#> #   streak_start_team_id <chr>, streak_end_team_id <chr>, num_teams <chr>,
#> #   division_short_name <chr>, division_long_name <chr>, rank <chr>,
#> #   team_name <chr>, team_city <chr>, team_code <chr>, team_nickname <chr>,
#> #   game_type <chr>
# }