Skip to contents

Returns information on NHL divisions derived from standings data.

The original NHL Stats API divisions endpoint is no longer available. This function now extracts division information from the standings endpoint at api-web.nhle.com.

Usage

nhl_divisions(date = NULL)

Arguments

date

Character date in "YYYY-MM-DD" format. If NULL, returns current divisions.

Value

A data frame (fastRhockey_data) with the following columns:

col_nametypesdescription
division_namecharacterDivision name (e.g. "Atlantic", "Metropolitan").
division_abbrevcharacterDivision abbreviation.
conference_namecharacterParent conference name.

Examples

# \donttest{
   try(nhl_divisions())
#> ── NHL Divisions from NHL.com ───────────────────────────── fastRhockey 1.0.0 ──
#>  Data updated: 2026-06-13 03:24:54 UTC
#> # A tibble: 4 × 3
#>   division_name division_abbrev conference_name
#>   <chr>         <chr>           <chr>          
#> 1 Central       C               Western        
#> 2 Metropolitan  M               Eastern        
#> 3 Atlantic      A               Eastern        
#> 4 Pacific       P               Western        
# }