Skip to contents

Get ESPN NHL Player Bio

Usage

espn_nhl_player_bio(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric, e.g. "5149125"). Obtain via espn_nhl_team_roster().

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with athlete bio fields, or an empty data.frame() when ESPN returns HTTP 404. As of 2026-06-08, ESPN's site_v2 NHL athletes/{id}/bio endpoint returns 404; use espn_nhl_player_core() for athlete metadata in the meantime.

col_nametypesdescription
athlete_idcharacterESPN athlete identifier (echoed from arg).
athlete_espn_idcharacterESPN athlete id from payload.
display_namecharacterPlayer display name.
short_namecharacterPlayer short name.
full_namecharacterPlayer full name.
first_namecharacterFirst name.
last_namecharacterLast name.
jerseycharacterJersey number.
positioncharacterPosition abbreviation.
ageintegerCurrent age.
date_of_birthcharacterDate of birth (ISO 8601).
birth_citycharacterBirth city.
birth_statecharacterBirth state/province.
birth_countrycharacterBirth country.
weightcharacterFormatted weight string.
heightcharacterFormatted height string.
team_idcharacterESPN team identifier.
team_display_namecharacterTeam display name.
team_abbreviationcharacterTeam abbreviation.
slugcharacterPlayer URL slug.
debut_yearintegerYear of NHL debut.
activelogicalWhether athlete is currently active.
descriptioncharacterBiographical description, if available.

See also

family_espn_nhl lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_nhl_player_bio(athlete_id = "5149125"))
#> ! ESPN site_v2 athlete bio (athletes/[id]/bio) returns HTTP 404 for NHL; use espn_nhl_player_core() instead.
#> data frame with 0 columns and 0 rows
# }