Skip to contents

Get ESPN NHL Standings (core-v2)

Usage

espn_nhl_standings_core(
  season = most_recent_nhl_season(),
  season_type = 2,
  group_id = 9,
  ...
)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

season_type

Season type code: 1=pre-season, 2=regular season (default), 3=post-season.

group_id

Standings group identifier. Defaults to 9, which is the verified all-teams rollup group for NHL on core-v2.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per team per standings group. Key columns:

col_nametypesdescription
group_id_vcharacterStandings group identifier.
group_namecharacterGroup name (e.g. "overall").
group_display_namecharacterGroup display name.
team_idcharacterESPN team identifier (parsed from $ref).
team_refcharacter$ref URL for the team-in-season.
record_typecharacterRecord type used (always "total").
record_summarycharacterRecord summary string (e.g. "53-22-7").
seasonintegerSeason year (echoed from arg).
season_typeintegerSeason type code (echoed from arg).
ot_lossesnumericOvertime losses (and other stat columns dynamically).

See also

family_espn_nhl lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_nhl_standings_core(season = 2026, season_type = 2))
#> ── NHL Standings (core-v2) data from ESPN.com ───────────── fastRhockey 1.1.0 ──
#> ℹ Data updated: 2026-11-13 21:27:47 UTC
#> # A tibble: 116 × 42
#>    group_id_v group_name group_display_name team_id team_ref         record_type
#>    <chr>      <chr>      <chr>              <chr>   <chr>            <chr>      
#>  1 0          overall    Standings          7       http://sports.c… total      
#>  2 0          overall    Standings          2       http://sports.c… total      
#>  3 0          overall    Standings          37      http://sports.c… total      
#>  4 0          overall    Standings          9       http://sports.c… total      
#>  5 0          overall    Standings          20      http://sports.c… total      
#>  6 0          overall    Standings          10      http://sports.c… total      
#>  7 0          overall    Standings          30      http://sports.c… total      
#>  8 0          overall    Standings          1       http://sports.c… total      
#>  9 0          overall    Standings          14      http://sports.c… total      
#> 10 0          overall    Standings          16      http://sports.c… total      
#> # ℹ 106 more rows
#> # ℹ 36 more variables: record_summary <chr>, season <int>, season_type <int>,
#> #   ot_losses <dbl>, ot_wins <dbl>, avg_points_against <dbl>,
#> #   avg_points_for <dbl>, clincher <dbl>, differential <dbl>,
#> #   games_behind <dbl>, games_played <dbl>, losses <dbl>, playoff_seed <dbl>,
#> #   point_differential <dbl>, points <dbl>, points_against <dbl>,
#> #   points_for <dbl>, streak <dbl>, ties <dbl>, win_percent <dbl>, …
# }