
Get ESPN NHL Game Team Record (core-v2)
Source:R/espn_nhl_events_extra.R
espn_nhl_game_team_record.RdGet ESPN NHL Game Team Record (core-v2)
Value
A fastRhockey_data tibble with one row per record type (e.g.
overall, home, road). Note: this endpoint returns 404 for most NHL
games tested; an empty data.frame() is returned in that case.
| col_name | types | description |
| event_id | character | ESPN event id (echoed from arg). |
| cid | character | Competition id (echoed from arg). |
| team_id | character | ESPN team id (echoed from arg). |
| name | character | Record type name (e.g. "overall", "home", "road"). |
| abbreviation | character | Record type abbreviation. |
| type | character | Record type slug. |
| summary | character | Record summary string (e.g. "25-15-10"). |
| display_value | character | Record display value. |
| value | numeric | Record numeric value (e.g. win percentage). |
| record_ref | character | $ref URL for this record item. |
See also
family_espn_nhl lists every function in this family.
Examples
# \donttest{
try({
sb <- espn_nhl_scoreboard(dates = "20250110")
eid <- sb$game_id[1]
tms <- espn_nhl_game_teams(event_id = eid)
espn_nhl_game_team_record(event_id = eid, team_id = tms$team_id[1])
})
#> ✖ 2026-11-13 21:27:01.602368: Invalid arguments or no ESPN nhl game record for event 401688263 / team 5 available!
#> ✖ Args: league = "nhl", event_id = "401688263", cid = "401688263", team_id = "5"
#> ✖ Error: The API returned an error
#> data frame with 0 columns and 0 rows
# }