Skip to contents

Get ESPN NHL Season Group (core-v2)

Usage

espn_nhl_season_group(
  season = most_recent_nhl_season(),
  season_type = 2,
  group_id,
  ...
)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

season_type

Season type code: 1=pre-season, 2=regular season, 3=post-season, 4=off-season. Defaults to 2.

group_id

ESPN group identifier (integer or character). Use espn_nhl_season_groups() to discover valid ids for a season/type.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with group metadata:

col_nametypesdescription
seasonintegerSeason year (echoed from arg).
season_typeintegerSeason type code (echoed from arg).
group_idintegerGroup id (echoed from arg).
idcharacterESPN group identifier.
uidcharacterGroup uid string.
namecharacterGroup name (e.g. "Eastern Conference").
abbreviationcharacterGroup abbreviation (e.g. "East").
slugcharacterGroup slug.
is_conferencelogicalWhether this group is a conference (vs. division).
group_refcharacter$ref URL for this group object.
season_refcharacter$ref URL for the group's season.
parent_refcharacter$ref URL for the parent group (if any).
children_refcharacter$ref URL for child groups (divisions).
standings_refcharacter$ref URL for group standings.
teams_refcharacter$ref URL for the teams in this group.

See also

family_espn_nhl lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_nhl_season_group(season = 2026, season_type = 2, group_id = 7))
#> ── NHL Season Group data from ESPN core-v2 ──────────────── fastRhockey 1.1.0 ──
#> ℹ Data updated: 2026-11-13 21:27:21 UTC
#> # A tibble: 1 × 15
#>   season season_type group_id id    uid   name  abbreviation slug  is_conference
#>    <int>       <int>    <int> <chr> <chr> <chr> <chr>        <chr> <lgl>        
#> 1   2026           2        7 7     s:70… East… East         east… TRUE         
#> # ℹ 6 more variables: group_ref <chr>, season_ref <chr>, parent_ref <chr>,
#> #   children_ref <chr>, standings_ref <chr>, teams_ref <chr>
# }