Returns current NHL team information. Uses the NHL API standings endpoint to get up-to-date team info.
Arguments
- season
Integer four-digit year the season starts in (e.g., 2024 for 2024-25;
most_recent_nhl_season()returns the year it ends). If NULL, returns current teams.
Value
A data frame (fastRhockey_data) with the following columns:
| col_name | types | description |
| team_abbr | character | Team abbreviation. |
| team_name | character | Team name. |
| team_common_name | character | Team common name. |
| team_logo | character | URL to the team logo image. |
| conference_abbr | character | Conference abbreviation. |
| conference_name | character | Conference name. |
| division_abbr | character | Division abbreviation. |
| division_name | character | Division name. |
| place_name | character | Team place/city name. |
| games_played | integer | Games played. |
| wins | integer | Wins. |
| losses | integer | Losses. |
| ot_losses | integer | Overtime losses. |
| points | integer | Total points. |
| point_pctg | numeric | Points percentage. |
| goals_for | integer | Goals for. |
| goals_against | integer | Goals against. |
| goal_differential | integer | Goal differential. |
| streak_code | character | Current streak code (W/L/OT). |
| streak_count | integer | Length of the current streak. |
Examples
# \donttest{
try(nhl_teams())
#> ── NHL Teams ───────────────────────────────────────── fastRhockey 1.0.0.9000 ──
#> ℹ Data updated: 2026-10-13 01:58:15 UTC
#> # A tibble: 32 × 20
#> team_abbr team_name team_common_name team_logo conference_abbr
#> <chr> <chr> <chr> <chr> <chr>
#> 1 CAR Carolina Hurricanes Hurricanes https://asse… Eastern
#> 2 OTT Ottawa Senators Senators https://asse… Eastern
#> 3 VGK Vegas Golden Knights Golden Knights https://asse… Western
#> 4 NYR New York Rangers Rangers https://asse… Eastern
#> 5 EDM Edmonton Oilers Oilers https://asse… Western
#> 6 TBL Tampa Bay Lightning Lightning https://asse… Eastern
#> 7 ANA Anaheim Ducks Ducks https://asse… Western
#> 8 SEA Seattle Kraken Kraken https://asse… Western
#> 9 UTA Utah Mammoth Mammoth https://asse… Western
#> 10 BOS Boston Bruins Bruins https://asse… Eastern
#> # ℹ 22 more rows
#> # ℹ 15 more variables: conference_name <chr>, division_abbr <chr>,
#> # division_name <chr>, place_name <chr>, games_played <int>, wins <int>,
#> # losses <int>, ot_losses <int>, points <int>, point_pctg <dbl>,
#> # goals_for <int>, goals_against <int>, goal_differential <int>,
#> # streak_code <chr>, streak_count <int>
# }
