Skip to contents

Get ESPN MCH / WCH Season Group (core-v2)

Usage

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

espn_wch_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_mch_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.

Details

League slug mens-college-hockey; season is the END year (2026 = 2025-26). Same ESPN helper as espn_nhl_season_group() (columns inherited); a collection may be empty.

espn_wch_season_group() is the same wrapper for women's college hockey (league slug womens-college-hockey): same arguments, same columns.

See also

family_espn_mch lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_mch_season_group(season = 2026, season_type = 2, group_id = 7))
#> ✖ 2026-11-13 21:26:31.583438: Invalid arguments or no ESPN mens-college-hockey season group 7 for 2026 type 2 available!
#> ✖ Args: league = "mens-college-hockey", season = 2026, season_type = 2, group_id = 7
#> ✖ Error: The API returned an error
#> data frame with 0 columns and 0 rows
# }
# \donttest{
  try(espn_wch_season_group(season = 2026, season_type = 2, group_id = 7))
#> ✖ 2026-11-13 21:26:31.619717: Invalid arguments or no ESPN womens-college-hockey season group 7 for 2026 type 2 available!
#> ✖ Args: league = "womens-college-hockey", season = 2026, season_type = 2, group_id = 7
#> ✖ Error: The API returned an error
#> data frame with 0 columns and 0 rows
# }