Skip to contents

Get ESPN NHL Team Core (core-v2)

Usage

espn_nhl_team_core(team_id, ...)

Arguments

team_id

ESPN team identifier (character or numeric, e.g. "4" for Chicago Blackhawks).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row containing enriched team metadata from the core-v2 endpoint, including $ref links to sub-resources:

col_nametypesdescription
team_idcharacterESPN team identifier (echoed from arg).
idcharacterESPN team identifier.
guidcharacterTeam global unique identifier.
uidcharacterTeam uid.
alternate_id_sdrcharacterSDR alternate identifier.
slugcharacterURL slug.
locationcharacterTeam city/location.
namecharacterTeam mascot name.
nicknamecharacterTeam nickname.
abbreviationcharacterTeam abbreviation.
display_namecharacterFull display name.
short_display_namecharacterShort display name.
colorcharacterPrimary color hex.
alternate_colorcharacterAlternate color hex.
is_activelogicalWhether the team is active.
is_all_starlogicalWhether the team is an all-star team.
logocharacterPrimary logo URL.
record_refcharacterRef URL for team record resource.
athletes_refcharacterRef URL for team athletes resource.
venue_refcharacterRef URL for team venue resource.
groups_refcharacterRef URL for team groups resource.
statistics_refcharacterRef URL for team statistics resource.
leaders_refcharacterRef URL for team leaders resource.
injuries_refcharacterRef URL for team injuries resource.
awards_refcharacterRef URL for team awards resource.
franchise_refcharacterRef URL for franchise resource.
events_refcharacterRef URL for team events resource.
transactions_refcharacterRef URL for team transactions resource.
coaches_refcharacterRef URL for team coaches resource.

See also

family_espn_nhl lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_nhl_team_core(team_id = "4"))
#> ── NHL Team Core data from ESPN core-v2 ─────────────────── fastRhockey 1.1.0 ──
#> ℹ Data updated: 2026-11-13 21:27:50 UTC
#> # A tibble: 1 × 29
#>   team_id id    guid        uid   alternate_id_sdr slug  location name  nickname
#>   <chr>   <chr> <chr>       <chr> <chr>            <chr> <chr>    <chr> <chr>   
#> 1 4       4     e1595aca-8… s:70… 2601             chic… Chicago  Blac… Blackha…
#> # ℹ 20 more variables: abbreviation <chr>, display_name <chr>,
#> #   short_display_name <chr>, color <chr>, alternate_color <chr>,
#> #   is_active <lgl>, is_all_star <lgl>, logo <chr>, record_ref <chr>,
#> #   athletes_ref <chr>, venue_ref <chr>, groups_ref <chr>,
#> #   statistics_ref <chr>, leaders_ref <chr>, injuries_ref <chr>,
#> #   awards_ref <chr>, franchise_ref <chr>, events_ref <chr>,
#> #   transactions_ref <chr>, coaches_ref <chr>
# }