Skip to contents

Get ESPN NHL Player Gamelog

Usage

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

Arguments

athlete_id

ESPN athlete identifier (character or numeric, e.g. "5149125"). Obtain via espn_nhl_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_nhl_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.

See also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_nhl_player_gamelog(athlete_id = "5149125"))
#> ── NHL Player Gamelog data from ESPN.com ────────────────── fastRhockey 1.0.0 ──
#>  Data updated: 2026-06-12 14:17:51 UTC
#> # A tibble: 69 × 35
#>    athlete_id event_id  season_type_display    category_display category_type
#>    <chr>      <chr>     <chr>                  <chr>            <chr>        
#>  1 5149125    401803656 2025-26 Regular Season April            event        
#>  2 5149125    401803639 2025-26 Regular Season April            event        
#>  3 5149125    401803617 2025-26 Regular Season April            event        
#>  4 5149125    401803606 2025-26 Regular Season April            event        
#>  5 5149125    401803582 2025-26 Regular Season April            event        
#>  6 5149125    401803572 2025-26 Regular Season April            event        
#>  7 5149125    401803551 2025-26 Regular Season April            event        
#>  8 5149125    401803537 2025-26 Regular Season March            event        
#>  9 5149125    401803522 2025-26 Regular Season March            event        
#> 10 5149125    401803502 2025-26 Regular Season March            event        
#> # ℹ 59 more rows
#> # ℹ 30 more variables: category_split_type <chr>, game_date <chr>, at_vs <chr>,
#> #   score <chr>, home_team_id <chr>, away_team_id <chr>, home_team_score <chr>,
#> #   away_team_score <chr>, game_result <chr>, opponent_id <chr>,
#> #   opponent_name <chr>, opponent_abbr <chr>, team_id <chr>, team_abbr <chr>,
#> #   league_name <chr>, league_abbreviation <chr>, goals <chr>, assists <chr>,
#> #   points <chr>, plus_minus <chr>, penalty_minutes <chr>, shots_total <chr>, …
# }