Skip to contents

Retrieves player transactions for a PWHL season.

Usage

pwhl_transactions(season = most_recent_pwhl_season(), game_type = "regular")

Arguments

season

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

game_type

Game type: "regular" (default), "preseason", or "playoffs".

Value

A data frame (fastRhockey_data) with the following columns:

col_nametypesdescription
transaction_typecharacterType of transaction.
titlecharacterTransaction title/headline.
ttypecharacterTransaction type code.
ttype_textcharacterTransaction type description.
transaction_datecharacterTransaction date.
transaction_timecharacterTransaction time.
formatted_transaction_datecharacterHuman-readable transaction date.
timezonecharacterTime zone of the transaction.
player_idcharacterUnique player identifier.
response1characterFirst response/detail field.
response2characterSecond response/detail field.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
player_namecharacterFull player name.
positioncharacterPlayer position.
team_idcharacterUnique team identifier.
team_citycharacterTeam city.
team_namecharacterTeam name.
team_codecharacterTeam abbreviation/code.
divisioncharacterDivision identifier.
team_logocharacterURL to the team logo image.
detailcharacterAdditional transaction detail.

Examples

# \donttest{
  try(pwhl_transactions(season = 2025))
#> ── PWHL Transactions ────────────────────────────────────── fastRhockey 1.0.0 ──
#>  Data updated: 2026-06-13 03:26:37 UTC
#> # A tibble: 20 × 22
#>    transaction_type title     ttype ttype_text transaction_date transaction_time
#>    <chr>            <chr>     <chr> <chr>      <chr>            <chr>           
#>  1 2                Signed    1     ADD        2025-03-31       "16:32:23"      
#>  2 2                Signed    1     ADD        2025-03-25       "22:00:45"      
#>  3 4                Traded f… 0     DEL        2025-03-21       "14:15:00"      
#>  4 2                Signed    1     ADD        2025-03-14       "14:35:51"      
#>  5 4                Traded f… 0     DEL        2025-03-13       ""              
#>  6 2                Signed    1     ADD        2025-03-13       "21:44:40"      
#>  7 3                Traded to 1     ADD        2025-03-13       ""              
#>  8 3                Traded to 1     ADD        2025-03-13       ""              
#>  9 4                Traded f… 0     DEL        2025-03-13       ""              
#> 10 2                Signed    1     ADD        2025-03-11       "12:00:00"      
#> 11 2                Signed    1     ADD        2025-02-11       "19:06:40"      
#> 12 4                Traded f… 0     DEL        2025-01-21       ""              
#> 13 3                Traded to 1     ADD        2025-01-21       ""              
#> 14 3                Traded to 1     ADD        2025-01-21       ""              
#> 15 4                Traded f… 0     DEL        2025-01-21       ""              
#> 16 1                Retired   0     DEL        2025-01-04       "21:33:00"      
#> 17 3                Traded to 1     ADD        2024-12-30       ""              
#> 18 4                Traded f… 0     DEL        2024-12-30       ""              
#> 19 3                Traded to 1     ADD        2024-12-30       ""              
#> 20 4                Traded f… 0     DEL        2024-12-30       ""              
#> # ℹ 16 more variables: formatted_transaction_date <chr>, timezone <chr>,
#> #   player_id <chr>, response1 <chr>, response2 <chr>, first_name <chr>,
#> #   last_name <chr>, player_name <chr>, position <chr>, team_id <chr>,
#> #   team_city <chr>, team_name <chr>, team_code <chr>, division <chr>,
#> #   team_logo <chr>, detail <chr>
# }