Skip to contents

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

Usage

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

espn_wch_game_team_statistics(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 wide one-row fastRhockey_data tibble. The first three columns are always present; the remaining stat columns are named <category>_<stat> (display value) and <category>_<stat>_value (numeric value) for each stat in each category. For a typical completed MCH game there are 5 stat categories (defensive, general, offensive, specialTeams, goalie) producing ~30 column pairs:

col_nametypesdescription
event_idcharacterESPN event id (echoed from arg).
cidcharacterCompetition id (echoed from arg).
team_idcharacterESPN team id (echoed from arg).
category_statcharacterDisplay value for a stat within a category (e.g. offensive_goals).
category_stat_valuenumericNumeric value for a stat within a category (e.g. offensive_goals_value).

Details

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

espn_wch_game_team_statistics() 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_statistics(event_id = eid, team_id = tms$team_id[1])
  })
#> ✖ 2026-11-13 21:26:17.082888: Invalid arguments or no ESPN mens-college-hockey game team statistics 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_statistics(event_id = eid, team_id = tms$team_id[1])
  })
#> ✖ 2026-11-13 21:26:17.152531: 
#> ✖ Args: league = "womens-college-hockey", event_id = NULL, cid = NULL
#> ✖ Error: The API returned an error
#> ✖ 2026-11-13 21:26:17.187959: 
#> ✖ 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
# }