Skip to contents

Search for PWHL players by name.

Usage

pwhl_player_search(search_term)

Arguments

search_term

Character string to search for (e.g., a player name or partial name).

Value

A data frame (fastRhockey_data) with the following columns:

col_nametypesdescription
player_idnumericUnique player identifier.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
positioncharacterPlayer position.
team_idnumericUnique team identifier.
person_idnumericUnique person identifier.
team_namecharacterMost recent team name.
team_codecharacterMost recent team abbreviation.
jersey_numbercharacterJersey number.
shootscharacterShooting hand.
catchescharacterCatching hand (goalies).
heightcharacterPlayer height.
weightcharacterPlayer weight.
birthdatecharacterDate of birth.
image_urlcharacterPlayer headshot URL.

Examples

# \donttest{
  try(pwhl_player_search(search_term = "Poulin"))
#> ── PWHL Player Search ───────────────────────────────────── fastRhockey 1.0.0 ──
#>  Data updated: 2026-06-13 03:26:32 UTC
#> # A tibble: 2 × 15
#>   player_id first_name  last_name position team_id person_id team_name team_code
#>       <dbl> <chr>       <chr>     <chr>      <dbl>     <dbl> <chr>     <chr>    
#> 1       165 Maude       Poulin-L… D              1       200 Boston F… BOS      
#> 2        31 Marie-Phil… Poulin    F              3        33 Montréal… MTL      
#> # ℹ 7 more variables: jersey_number <chr>, shoots <chr>, catches <chr>,
#> #   height <chr>, weight <chr>, birthdate <chr>, image_url <chr>
# }