
NHL Edge Team Skating Distance Top 10
Source:R/nhl_edge_team_skating_distance_top_10.R
nhl_edge_team_skating_distance_top_10.RdReturns the NHL Edge top-10 team skating-distance
leaderboard. Wraps
https://api-web.nhle.com/v1/edge/team-skating-distance-top-10/{positions}/{strength}/{sortBy}/....
When season is NULL (default) the /now endpoint is used to fetch
the current season.
Usage
nhl_edge_team_skating_distance_top_10(
positions,
strength,
sort_by,
season = NULL,
game_type = 2
)Arguments
- positions
Character position filter (e.g.,
"F","D","all").- strength
Character strength state (e.g.,
"all","ev","pp","pk").- sort_by
Character metric to sort the leaderboard by (e.g.,
"total","per_60").- 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 fastRhockey_data tibble with the top-10 team leaderboard, or
NULL on failure / empty response.
Examples
# \donttest{
try(nhl_edge_team_skating_distance_top_10(
positions = "F",
strength = "all",
sort_by = "total"
))
#> ── NHL Edge Team Skating Distance Top 10 ────────────────── fastRhockey 1.0.0 ──
#> ℹ Data updated: 2026-05-11 18:38:51 UTC
#> # A tibble: 10 × 36
#> team_abbrev team_slug team_common_name_def…¹ team_place_name_with…²
#> <chr> <chr> <chr> <chr>
#> 1 VGK vegas-golden-knigh… Golden Knights Vegas
#> 2 PHI philadelphia-flyer… Flyers Philadelphia
#> 3 MTL montreal-canadiens… Canadiens Montréal
#> 4 ANA anaheim-ducks-24 Ducks Anaheim
#> 5 MIN minnesota-wild-30 Wild Minnesota
#> 6 BUF buffalo-sabres-7 Sabres Buffalo
#> 7 CAR carolina-hurricane… Hurricanes Carolina
#> 8 COL colorado-avalanche… Avalanche Colorado
#> 9 TBL tampa-bay-lightnin… Lightning Tampa Bay
#> 10 UTA utah-mammoth-68 Mammoth Utah
#> # ℹ abbreviated names: ¹team_common_name_default,
#> # ²team_place_name_with_preposition_default
#> # ℹ 32 more variables: team_team_logo_light <chr>, team_team_logo_dark <chr>,
#> # distance_total_imperial <dbl>, distance_total_metric <dbl>,
#> # distance_per60_imperial <dbl>, distance_per60_metric <dbl>,
#> # distance_max_per_game_imperial <dbl>, distance_max_per_game_metric <dbl>,
#> # distance_max_per_game_overlay_game_date <chr>, …
# }