Skip to contents

Get ESPN NHL Player Event Log (core-v2)

Usage

espn_nhl_player_eventlog(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per event (game) in the current season. Use statistics_ref to retrieve per-game statistics.

col_nametypesdescription
athlete_idcharacterESPN athlete id (echoed from arg).
event_idcharacterESPN event (game) id.
team_idcharacterTeam id the athlete played for in this event.
playedlogicalWhether the athlete played in the event.
event_refcharacter$ref URL for the event object.
competition_refcharacter$ref URL for the competition object.
statistics_refcharacter$ref URL for per-game athlete statistics.
countintegerTotal event count for this athlete.
page_countintegerTotal page count for this endpoint.

See also

family_espn_nhl lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_nhl_player_eventlog(athlete_id = "4024820"))
#> ✖ 2026-11-13 21:27:08.750669: Invalid arguments or no ESPN nhl player eventlog for athlete 4024820 available!
#> ✖ Args: league = "nhl", athlete_id = "4024820"
#> ✖ Error: The API returned an error
#> data frame with 0 columns and 0 rows
# }