Skip to contents

Returns the NHL Edge 5-on-5 advanced-metrics detail payload for a single goalie. Wraps https://api-web.nhle.com/v1/edge/goalie-5v5-detail/{playerId}/.... When season is NULL (default) the /now endpoint is used to fetch the current season.

Usage

nhl_edge_goalie_5v5_detail(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer NHL player ID (e.g., 8475883 for Andrei Vasilevskiy).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the /now endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_nametypesdescription
game_center_linkcharacterURL to the game center page.
save_pctgnumericSave percentage.
game_datecharacterGame date.
decisioncharacterGoalie decision (W/L/OT).
player_on_home_teamlogicalWhether the goalie played for the home team.
home_team_abbrevcharacterHome team abbreviation.
home_team_slugcharacterHome team slug.
home_team_common_name_defaultcharacterHome team common name (default language).
home_team_common_name_frcharacterHome team common name (French).
home_team_place_name_with_preposition_defaultcharacterHome team place name with preposition (def).
home_team_place_name_with_preposition_frcharacterHome team place name with preposition (FR).
home_team_team_logo_lightcharacterHome team logo URL (light variant).
home_team_team_logo_darkcharacterHome team logo URL (dark variant).
away_team_abbrevcharacterAway team abbreviation.
away_team_slugcharacterAway team slug.
away_team_common_name_defaultcharacterAway team common name (default language).
away_team_place_name_with_preposition_defaultcharacterAway team place name with preposition (def).
away_team_place_name_with_preposition_frcharacterAway team place name with preposition (FR).
away_team_team_logo_lightcharacterAway team logo URL (light variant).
away_team_team_logo_darkcharacterAway team logo URL (dark variant).

Examples

# \donttest{
  try(nhl_edge_goalie_5v5_detail(player_id = 8475883))
#> 2026-10-13 01:57:14.324784: No NHL Edge goalie 5v5 detail returned for player_id=8475883
#> NULL
# }