
NHL Edge Team Zone Time Top 10
Source:R/nhl_edge_team_zone_time_top_10.R
nhl_edge_team_zone_time_top_10.RdReturns the NHL Edge top-10 team zone-time leaderboard.
Wraps
https://api-web.nhle.com/v1/edge/team-zone-time-top-10/{strength}/{sortBy}/....
When season is NULL (default) the /now endpoint is used to fetch
the current season.
Arguments
- strength
Character strength state (e.g.,
"all","ev","pp","pk").- sort_by
Character metric to sort the leaderboard by (e.g.,
"offensive","defensive","neutral").- 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 |
| offensive_zone_time | numeric | Percentage of time spent in the offensive zone. |
| neutral_zone_time | numeric | Percentage of time spent in the neutral zone. |
| defensive_zone_time | numeric | Percentage of time spent in the defensive zone. |
| team_abbrev | character | Team abbreviation. |
| team_slug | character | Team URL slug. |
| team_common_name_default | character | Team common name. |
| team_place_name_with_preposition_default | character | Team place name with preposition. |
| team_place_name_with_preposition_fr | character | Team place name with preposition (French). |
| team_team_logo_light | character | Team light logo URL. |
| team_team_logo_dark | character | Team dark logo URL. |
Examples
# \donttest{
try(nhl_edge_team_zone_time_top_10(
strength = "all",
sort_by = "offensive"
))
#> ── NHL Edge Team Zone Time Top 10 ───────────────────────── fastRhockey 1.0.0 ──
#> ℹ Data updated: 2026-06-13 04:21:22 UTC
#> # A tibble: 10 × 10
#> offensive_zone_time neutral_zone_time defensive_zone_time team_abbrev
#> <dbl> <dbl> <dbl> <chr>
#> 1 0.456 0.183 0.361 CAR
#> 2 0.432 0.177 0.391 TBL
#> 3 0.431 0.166 0.402 DAL
#> 4 0.428 0.177 0.395 PIT
#> 5 0.426 0.173 0.402 BUF
#> 6 0.422 0.186 0.392 COL
#> 7 0.414 0.182 0.404 ANA
#> 8 0.406 0.189 0.405 VGK
#> 9 0.405 0.186 0.409 LAK
#> 10 0.402 0.182 0.417 EDM
#> # ℹ 6 more variables: team_slug <chr>, team_common_name_default <chr>,
#> # team_place_name_with_preposition_default <chr>,
#> # team_place_name_with_preposition_fr <chr>, team_team_logo_light <chr>,
#> # team_team_logo_dark <chr>
# }