Returns the categorical (CAT) variant of the NHL Edge
advanced-metrics detail payload for a single goalie. Wraps
https://api-web.nhle.com/v1/cat/edge/goalie-detail/{playerId}/....
When season is NULL (default) the /now endpoint is used to
fetch the current season.
Arguments
- player_id
Integer NHL player ID (e.g.,
8475883for Andrei Vasilevskiy).- season
Optional 4-digit end-year (e.g.,
2025for the 2024-25 season), an 8-character API season (e.g.,"20242025"), orNULL(default) for the current season via the/nowendpoint.- game_type
Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.
Value
A data frame (fastRhockey_data) with the following columns:
| col_name | types | description |
| id | integer | Categorical metric identifier. |
| game_types | list | Nested per-game-type categorical Edge metric values. |
Examples
# \donttest{
try(nhl_cat_edge_goalie_detail(player_id = 8475883))
#> ── NHL CAT Edge Goalie Detail ───────────────────────────── fastRhockey 1.0.0 ──
#> ℹ Data updated: 2026-06-13 03:24:52 UTC
#> # A tibble: 5 × 2
#> id game_types
#> <int> <list>
#> 1 20212022 <int [1]>
#> 2 20222023 <int [2]>
#> 3 20232024 <int [2]>
#> 4 20242025 <int [2]>
#> 5 20252026 <int [2]>
# }
