
NHL Edge Goalie Shot Location Detail
Source:R/nhl_edge_goalie_shot_location_detail.R
nhl_edge_goalie_shot_location_detail.RdReturns the NHL Edge shot-location detail payload for a
single goalie. Wraps
https://api-web.nhle.com/v1/edge/goalie-shot-location-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 |
| area | character | Net/ice zone the shots were taken from. |
| shots_against | integer | Shots faced from the area. |
| saves | integer | Saves made from the area. |
| goals_against | integer | Goals against from the area. |
| save_pctg | numeric | Save percentage for the area. |
| shots_against_percentile | numeric | League percentile rank for shots against. |
| saves_percentile | numeric | League percentile rank for saves. |
| goals_against_percentile | numeric | League percentile rank for goals against. |
| save_pctg_percentile | numeric | League percentile rank for save percentage. |
Returns NULL on failure / empty response.
Examples
# \donttest{
try(nhl_edge_goalie_shot_location_detail(player_id = 8475883))
#> ── NHL Edge Goalie Shot Location Detail ─────────────────── fastRhockey 1.0.0 ──
#> ℹ Data updated: 2026-07-18 18:47:45 UTC
#> # A tibble: 17 × 9
#> area shots_against saves goals_against save_pctg shots_against_percen…¹
#> <chr> <int> <int> <int> <dbl> <dbl>
#> 1 Behind th… 11 11 0 1 0.867
#> 2 Beyond Re… 37 37 0 1 0.888
#> 3 Center Po… 44 41 3 0.932 0.398
#> 4 Crease 40 28 12 0.7 0.796
#> 5 High Slot 86 70 16 0.814 0.612
#> 6 L Circle 78 71 7 0.910 0.520
#> 7 L Corner 1 1 0 1 0.561
#> 8 L Net Side 17 14 3 0.824 0.5
#> 9 L Point 45 44 1 0.978 0.510
#> 10 Low Slot 255 207 48 0.812 0.674
#> 11 Offensive… 18 18 0 1 0.602
#> 12 Outside L 54 53 1 0.981 0.663
#> 13 Outside R 31 31 0 1 0.398
#> 14 R Circle 62 51 11 0.823 0.418
#> 15 R Corner 1 1 0 1 0.765
#> 16 R Net Side 22 17 5 0.773 0.663
#> 17 R Point 47 47 0 1 0.5
#> # ℹ abbreviated name: ¹shots_against_percentile
#> # ℹ 3 more variables: saves_percentile <dbl>, goals_against_percentile <dbl>,
#> # save_pctg_percentile <dbl>
# }