Skip to contents

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

Usage

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

espn_wch_season_group_children(
  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. Defaults to 2.

group_id

ESPN group identifier (integer or character). Pass a conference-level group_id from espn_mch_season_groups() to retrieve its child divisions.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per child group (division under a conference). Conference-level groups typically have 2 division children each:

col_nametypesdescription
refcharacter$ref URL for the child group object.
child_group_idcharacterChild group id parsed from the $ref URL.
seasonintegerSeason year (echoed from arg).
season_typeintegerSeason type code (echoed from arg).
group_idintegerParent group id (echoed from arg).
countintegerTotal children in the collection.
page_countintegerTotal pages in the collection.

Details

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

espn_wch_season_group_children() 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({
    grps <- espn_mch_season_groups(season = 2026, season_type = 2)
    espn_mch_season_group_children(season = 2026, season_type = 2,
                                    group_id = grps$group_id[1])
  })
#> ! ESPN MENS-COLLEGE-HOCKEY season group 61 has no children for 2026 type 2.
#> data frame with 0 columns and 0 rows
# }
# \donttest{
  try({
    grps <- espn_wch_season_groups(season = 2026, season_type = 2)
    espn_wch_season_group_children(season = 2026, season_type = 2,
                                    group_id = grps$group_id[1])
  })
#> ✖ 2026-11-13 21:26:31.930557: Invalid arguments or no ESPN womens-college-hockey season groups for 2026 type 2 available!
#> ✖ Args: league = "womens-college-hockey", season = 2026, season_type = 2
#> ✖ Error: replacement has 1 row, data has 0
#> ✖ 2026-11-13 21:26:31.966816: 
#> ✖ Args: league = "womens-college-hockey", season = 2026, season_type = 2, group_id = NULL
#> ✖ Error: The API returned an error
#> data frame with 0 columns and 0 rows
# }