Skip to contents

Retrieves biographical and profile information for a PWHL player.

Usage

pwhl_player_info(player_id)

Arguments

player_id

Numeric player ID

Value

A data frame (fastRhockey_data) with the following columns:

col_nametypesdescription
player_idnumericUnique player identifier.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
namecharacterPlayer full name.
jersey_numbercharacterJersey number.
positioncharacterPlayer position.
shootscharacterShooting hand.
catchescharacterCatching hand (goalies).
birthdatecharacterDate of birth.
heightcharacterPlayer height.
weightcharacterPlayer weight.
birthtowncharacterTown of birth.
birthprovcharacterProvince/state of birth.
birthcntrycharacterCountry of birth.
nationalitycharacterPlayer nationality.
team_idnumericCurrent team unique identifier.
team_namecharacterCurrent team name.
team_codecharacterCurrent team abbreviation.
image_urlcharacterPlayer headshot URL.
draft_infocharacterDraft information.

Examples

# \donttest{
  try(pwhl_player_info(player_id = 28))
#> ── PWHL Player Info ─────────────────────────────────────── fastRhockey 1.0.0 ──
#>  Data updated: 2026-06-09 20:30:10 UTC
#> # A tibble: 1 × 20
#>   player_id first_name last_name name      jersey_number position shoots catches
#>       <dbl> <chr>      <chr>     <chr>     <chr>         <chr>    <chr>  <chr>  
#> 1        28 Ann-Renée  Desbiens  Ann-René… 35            G        L      L      
#> # ℹ 12 more variables: birthdate <chr>, height <chr>, weight <chr>,
#> #   birthtown <chr>, birthprov <chr>, birthcntry <chr>, nationality <chr>,
#> #   team_id <dbl>, team_name <chr>, team_code <chr>, image_url <chr>,
#> #   draft_info <chr>
# }