Skip to contents

Get ESPN MCH / WCH Game Team Record (core-v2)

Usage

espn_mch_game_team_record(event_id, cid = event_id, team_id, ...)

espn_wch_game_team_record(event_id, cid = event_id, team_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

team_id

ESPN team/competitor identifier.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per record type (e.g. overall, home, road). Note: this endpoint returns 404 for most MCH games tested; an empty data.frame() is returned in that case.

col_nametypesdescription
event_idcharacterESPN event id (echoed from arg).
cidcharacterCompetition id (echoed from arg).
team_idcharacterESPN team id (echoed from arg).
namecharacterRecord type name (e.g. "overall", "home", "road").
abbreviationcharacterRecord type abbreviation.
typecharacterRecord type slug.
summarycharacterRecord summary string (e.g. "25-15-10").
display_valuecharacterRecord display value.
valuenumericRecord numeric value (e.g. win percentage).
record_refcharacter$ref URL for this record item.

Details

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

espn_wch_game_team_record() 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")
    eid <- sb$game_id[1]
    tms <- espn_mch_game_teams(event_id = eid)
    espn_mch_game_team_record(event_id = eid, team_id = tms$team_id[1])
  })
#> ✖ 2026-11-13 21:26:15.857505: Invalid arguments or no ESPN mens-college-hockey game record for event 401715296 / team 194 available!
#> ✖ Args: league = "mens-college-hockey", event_id = "401715296", cid = "401715296", team_id = "194"
#> ✖ Error: The API returned an error
#> data frame with 0 columns and 0 rows
# }
# \donttest{
  try({
    sb  <- espn_wch_scoreboard(dates = "20250110")
    eid <- sb$game_id[1]
    tms <- espn_wch_game_teams(event_id = eid)
    espn_wch_game_team_record(event_id = eid, team_id = tms$team_id[1])
  })
#> ✖ 2026-11-13 21:26:15.911922: 
#> ✖ Args: league = "womens-college-hockey", event_id = NULL, cid = NULL
#> ✖ Error: The API returned an error
#> ✖ 2026-11-13 21:26:15.947443: 
#> ✖ Args: league = "womens-college-hockey", event_id = NULL, cid = NULL, team_id = NULL
#> ✖ Error: The API returned an error
#> data frame with 0 columns and 0 rows
# }