Skip to contents

Get ESPN NHL Coach (core-v2)

Usage

espn_nhl_coach(coach_id, ...)

Arguments

coach_id

ESPN coach identifier (character or numeric). Use espn_nhl_coaches() to discover valid coach ids.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with coach detail. Note that careerRecords and coachSeasons are sparse (empty arrays) for many NHL coaches - see espn_nhl_coach_record() for season-scoped records:

col_nametypesdescription
coach_idcharacterESPN coach id (echoed from arg).
idcharacterESPN coach identifier from response.
uidcharacterCoach uid string.
first_namecharacterCoach first name.
last_namecharacterCoach last name.
date_of_birthcharacterCoach date of birth (ISO 8601).
birth_citycharacterCoach birth city.
birth_countrycharacterCoach birth country.
experienceintegerYears of coaching experience (if returned).
coach_refcharacter$ref URL for this coach object.

See also

family_espn_nhl lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  try({
    ccs <- espn_nhl_coaches(season = 2026)
    espn_nhl_coach(coach_id = ccs$coach_id[1])
  })
#> ── NHL Coach data from ESPN core-v2 ─────────────────────── fastRhockey 1.1.0 ──
#> ℹ Data updated: 2026-11-13 21:26:49 UTC
#> # A tibble: 1 × 10
#>   coach_id id    uid              first_name last_name date_of_birth  birth_city
#>   <chr>    <chr> <chr>            <chr>      <chr>     <chr>          <chr>     
#> 1 900      900   s:70~l:90~co:900 Marco      Sturm     1978-09-08T07… Dingolfing
#> # ℹ 3 more variables: birth_country <chr>, experience <int>, coach_ref <chr>
# }