Skip to contents

Get ESPN NHL Game Officials (core-v2)

Usage

espn_nhl_game_officials(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per official (typically 4 - 2 referees + 2 linesmen):

col_nametypesdescription
event_idcharacterESPN event id (echoed from arg).
cidcharacterCompetition id (echoed from arg).
official_idcharacterESPN official identifier.
first_namecharacterOfficial first name.
last_namecharacterOfficial last name.
full_namecharacterOfficial full name.
display_namecharacterOfficial display name.
orderintegerDisplay order within officials list.
position_idcharacterOfficial position identifier.
position_namecharacterOfficial position name (e.g. "Referee", "Linesman").
position_displaycharacterOfficial position display name.
official_refcharacter$ref URL for this official object.

See also

family_espn_nhl lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_officials(event_id = sb$game_id[1])
  })
#> ── NHL Game Officials data from ESPN core-v2 ────────────── fastRhockey 1.1.0 ──
#> ℹ Data updated: 2026-11-13 21:26:55 UTC
#> # A tibble: 4 × 12
#>   event_id  cid    official_id first_name last_name full_name display_name order
#>   <chr>     <chr>  <chr>       <chr>      <chr>     <chr>     <chr>        <int>
#> 1 401688263 40168… 2553192     Derek      Nansen    Derek Na… Derek Nansen     0
#> 2 401688263 40168… 2553195     Brian      Pochmara  Brian Po… Brian Pochm…     0
#> 3 401688263 40168… 4271781     Andrew     Smith     Andrew S… Andrew Smith     0
#> 4 401688263 40168… 4392737     Mitch      Dunning   Mitch Du… Mitch Dunni…     0
#> # ℹ 4 more variables: position_id <chr>, position_name <chr>,
#> #   position_display <chr>, official_ref <chr>
# }