Skip to contents

Get ESPN MCH / WCH Player Gamelog

Usage

espn_mch_player_gamelog(athlete_id, season = NULL, ...)

espn_wch_player_gamelog(athlete_id, season = NULL, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric, e.g. "5136656"). Obtain via espn_mch_team_roster().

season

Season end-year (e.g. 2025). When NULL ESPN returns the current season. Defaults to NULL.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per game, or an empty data.frame() when no data is available (e.g. if the endpoint returns HTTP 404 in a future ESPN schema change). If the endpoint becomes unavailable, use espn_mch_player_statisticslog() from the core-v2 host as a reliable substitute.

col_nametypesdescription
athlete_idcharacterESPN athlete identifier (echoed from arg).
event_idcharacterESPN event identifier.
season_type_displaycharacterSeason type label (e.g. "2025-26 Regular Season").
category_displaycharacterStat category display name.
category_typecharacterStat category type.
category_split_typecharacterStat category split type.
game_datecharacterGame date-time (ISO 8601).
at_vscharacter"at" or "vs" home/away indicator.
scorecharacterFinal score string.
home_team_idcharacterESPN home team identifier.
away_team_idcharacterESPN away team identifier.
home_team_scorecharacterHome team final score.
away_team_scorecharacterAway team final score.
game_resultcharacterGame result for the player's team (W/L/OT).
opponent_idcharacterESPN opponent team identifier.
opponent_namecharacterOpponent team display name.
opponent_abbrcharacterOpponent team abbreviation.
team_idcharacterPlayer's team ESPN identifier.
team_abbrcharacterPlayer's team abbreviation.
league_namecharacterLeague name.
league_abbreviationcharacterLeague abbreviation.
goalscharacterGoals scored.
assistscharacterAssists.
pointscharacterPoints (G+A).
plus_minuscharacterPlus/minus.
penalty_minutescharacterPenalty minutes.
shots_totalcharacterShots on goal.
shooting_pctcharacterShooting percentage.
power_play_goalscharacterPower-play goals.
power_play_assistscharacterPower-play assists.
short_handed_goalscharacterShort-handed goals.
short_handed_assistscharacterShort-handed assists.
game_winning_goalscharacterGame-winning goals.
time_on_ice_per_gamecharacterAverage time on ice.
productioncharacterProduction metric.

Details

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

espn_wch_player_gamelog() 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_player_gamelog(athlete_id = "5136656"))
#> ! ESPN web-v3 gamelog returned HTTP 404 for NHL athlete 5136656; use espn_nhl_player_statisticslog() instead.
#> data frame with 0 columns and 0 rows
# }
# \donttest{
  try(espn_wch_player_gamelog(athlete_id = "5263060"))
#> ! ESPN web-v3 gamelog returned HTTP 404 for NHL athlete 5263060; use espn_nhl_player_statisticslog() instead.
#> data frame with 0 columns and 0 rows
# }