Skip to contents

Get ESPN NHL Scoreboard

Usage

espn_nhl_scoreboard(dates = NULL, ...)

Arguments

dates

Optional date or date-range string in "YYYYMMDD" or "YYYYMMDD-YYYYMMDD" format. When NULL (default) the current day is used.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per game:

col_nametypesdescription
game_idcharacterESPN event identifier.
uidcharacterESPN event uid.
datecharacterGame date-time (ISO 8601).
namecharacterFull game name.
short_namecharacterShort game name.
season_yearintegerSeason end year.
season_typeintegerSeason type code (1=pre, 2=regular, 3=post).
season_slugcharacterSeason type slug.
status_type_idcharacterStatus type identifier.
status_type_namecharacterStatus type name.
status_type_statecharacterStatus state (pre/in/post).
status_type_completedlogicalWhether the game is complete.
status_type_descriptioncharacterStatus description.
status_type_detailcharacterStatus detail text.
status_type_short_detailcharacterShort status detail.
status_clocknumericGame clock in seconds.
status_display_clockcharacterDisplay clock string.
status_periodintegerCurrent period.
neutral_sitelogicalWhether the game is at a neutral site.
conference_competitioncharacterWhether it is a conference competition.
attendanceintegerGame attendance.
venue_idcharacterESPN venue identifier.
venue_full_namecharacterVenue full name.
venue_citycharacterVenue city.
venue_statecharacterVenue state.
venue_indoorlogicalWhether the venue is indoors.
broadcastcharacterEvery network name, feed order, deduped, joined with ", " (e.g. "ESPNU, ESPN+"); a broadcast without names gives its market; "" when none.
notecharacterGame note or headline.
home_idcharacterHome team ESPN identifier.
home_namecharacterHome team name.
home_abbreviationcharacterHome team abbreviation.
home_display_namecharacterHome team display name.
home_locationcharacterHome team city/location.
home_colorcharacterHome team primary color hex.
home_alternate_colorcharacterHome team alternate color hex.
home_logocharacterHome team logo URL.
home_scorecharacterHome team score.
home_winnerlogicalWhether the home team won.
home_rankintegerHome team rank (if ranked).
away_idcharacterAway team ESPN identifier.
away_namecharacterAway team name.
away_abbreviationcharacterAway team abbreviation.
away_display_namecharacterAway team display name.
away_locationcharacterAway team city/location.
away_colorcharacterAway team primary color hex.
away_alternate_colorcharacterAway team alternate color hex.
away_logocharacterAway team logo URL.
away_scorecharacterAway team score.
away_winnerlogicalWhether the away team won.
away_rankintegerAway team rank (if ranked).

See also

family_espn_nhl lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_nhl_scoreboard(dates = "20250110"))
#> ── NHL Scoreboard data from ESPN.com ────────────────────── fastRhockey 1.1.0 ──
#> ℹ Data updated: 2026-11-13 21:27:19 UTC
#> # A tibble: 5 × 50
#>   game_id   uid       date  name  short_name season_year season_type season_slug
#>   <chr>     <chr>     <chr> <chr> <chr>            <int>       <int> <chr>      
#> 1 401688263 s:70~l:9… 2025… Chic… CHI @ DET         2025           2 regular-se…
#> 2 401688264 s:70~l:9… 2025… Mont… MTL @ WSH         2025           2 regular-se…
#> 3 401688265 s:70~l:9… 2025… Vanc… VAN @ CAR         2025           2 regular-se…
#> 4 401688266 s:70~l:9… 2025… Los … LA @ WPG          2025           2 regular-se…
#> 5 401688267 s:70~l:9… 2025… San … SJ @ UTAH         2025           2 regular-se…
#> # ℹ 42 more variables: status_type_id <chr>, status_type_name <chr>,
#> #   status_type_state <chr>, status_type_completed <lgl>,
#> #   status_type_description <chr>, status_type_detail <chr>,
#> #   status_type_short_detail <chr>, status_clock <dbl>,
#> #   status_display_clock <chr>, status_period <int>, neutral_site <lgl>,
#> #   conference_competition <chr>, attendance <int>, venue_id <chr>,
#> #   venue_full_name <chr>, venue_city <chr>, venue_state <chr>, …
# }