Skip to contents

Get ESPN NHL Player Core (core-v2)

Usage

espn_nhl_player_core(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with athlete metadata:

col_nametypesdescription
athlete_idcharacterESPN athlete id (echoed from arg).
uidcharacterAthlete uid string.
guidcharacterAthlete global unique identifier.
typecharacterSport type (e.g. "hockey").
first_namecharacterFirst name.
last_namecharacterLast name.
full_namecharacterFull display name.
display_namecharacterDisplay name.
short_namecharacterShort name (e.g. "P. Laine").
weightnumericWeight in pounds.
display_weightcharacterFormatted weight string.
heightnumericHeight in inches.
display_heightcharacterFormatted height string.
ageintegerCurrent age.
date_of_birthcharacterDate of birth (ISO 8601).
debut_yearintegerYear of NHL debut.
birth_citycharacterBirth city.
birth_countrycharacterBirth country abbreviation.
slugcharacterURL slug.
jerseycharacterJersey number.
handcharacterHandedness (e.g. "L" or "R").
activelogicalWhether athlete is currently active.
position_refcharacter$ref URL for the position object.
team_refcharacter$ref URL for the current team object.
statistics_refcharacter$ref URL for career statistics.
contracts_refcharacter$ref URL for contracts.
statisticslog_refcharacter$ref URL for the statistics log.
athlete_refcharacter$ref URL for this athlete object.

See also

family_espn_nhl lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_nhl_player_core(athlete_id = "4024820"))
#> ── NHL Player Core data from ESPN core-v2 ───────────────── fastRhockey 1.1.0 ──
#> ℹ Data updated: 2026-11-13 21:27:08 UTC
#> # A tibble: 1 × 28
#>   athlete_id uid         guid  type  first_name last_name full_name display_name
#>   <chr>      <chr>       <chr> <chr> <chr>      <chr>     <chr>     <chr>       
#> 1 4024820    s:70~l:90~… b065… hock… Patrik     Laine     Patrik L… Patrik Laine
#> # ℹ 20 more variables: short_name <chr>, weight <dbl>, display_weight <chr>,
#> #   height <dbl>, display_height <chr>, age <int>, date_of_birth <chr>,
#> #   debut_year <int>, birth_city <chr>, birth_country <chr>, slug <chr>,
#> #   jersey <chr>, hand <chr>, active <lgl>, position_ref <chr>, team_ref <chr>,
#> #   statistics_ref <chr>, contracts_ref <chr>, statisticslog_ref <chr>,
#> #   athlete_ref <chr>
# }