Skip to contents

Get ESPN MCH / WCH Game Teams (Competitors Collection, core-v2)

Usage

espn_mch_game_teams(event_id, cid = event_id, ...)

espn_wch_game_teams(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per competitor (2 rows for a regular MCH game):

col_nametypesdescription
event_idcharacterESPN event id (echoed from arg).
cidcharacterCompetition id (echoed from arg).
team_idcharacterESPN competitor/team id.
uidcharacterCompetitor uid string.
typecharacterCompetitor type (e.g. "team").
orderintegerCompetitor display order.
home_awaycharacter"home" or "away".
winnerlogicalWhether this competitor won the game.
team_refcharacter$ref URL for the team-in-season object.
score_refcharacter$ref URL for the score object.
linescores_refcharacter$ref URL for the per-period linescores.
roster_refcharacter$ref URL for the game roster.
statistics_refcharacter$ref URL for the team game statistics.
leaders_refcharacter$ref URL for the team game leaders.
record_refcharacter$ref URL for the team record at the time of the game.
competitor_refcharacter$ref URL for this competitor object.

Details

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

espn_wch_game_teams() 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({
    sb <- espn_mch_scoreboard(dates = "20250110")
    espn_mch_game_teams(event_id = sb$game_id[1])
  })
#> ── MENS-COLLEGE-HOCKEY Game Teams data from ESPN core-v2 ── fastRhockey 1.1.0 ──
#> ℹ Data updated: 2026-11-13 21:26:17 UTC
#> # A tibble: 2 × 16
#>   event_id  cid    team_id uid   type  order home_away winner team_ref score_ref
#>   <chr>     <chr>  <chr>   <chr> <chr> <int> <chr>     <lgl>  <chr>    <chr>    
#> 1 401715296 40171… 194     s:70… team      0 home      TRUE   http://… http://s…
#> 2 401715296 40171… 135     s:70… team      1 away      FALSE  http://… http://s…
#> # ℹ 6 more variables: linescores_ref <chr>, roster_ref <chr>,
#> #   statistics_ref <chr>, leaders_ref <chr>, record_ref <chr>,
#> #   competitor_ref <chr>
# }
# \donttest{
  try({
    sb <- espn_wch_scoreboard(dates = "20250110")
    espn_wch_game_teams(event_id = sb$game_id[1])
  })
#> ✖ 2026-11-13 21:26:17.755783: 
#> ✖ Args: league = "womens-college-hockey", event_id = NULL, cid = NULL
#> ✖ Error: The API returned an error
#> data frame with 0 columns and 0 rows
# }