
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-07-18 18:47:53 UTC
#> # A tibble: 10 × 11
#> offensive_zone_time neutral_zone_time defensive_zone_time team_abbrev
#> <dbl> <dbl> <dbl> <chr>
#> 1 0.455 0.184 0.361 CAR
#> 2 0.434 0.175 0.390 OTT
#> 3 0.428 0.182 0.390 COL
#> 4 0.423 0.184 0.393 VGK
#> 5 0.422 0.178 0.400 FLA
#> 6 0.420 0.180 0.399 NSH
#> 7 0.418 0.176 0.405 EDM
#> 8 0.416 0.184 0.400 ANA
#> 9 0.416 0.174 0.410 NYR
#> 10 0.414 0.177 0.409 PIT
#> # ℹ 7 more variables: team_slug <chr>, team_common_name_default <chr>,
#> # team_common_name_fr <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>
# }