Standings of a season. Wins and losses are REGULATION only; overtime counts include shootouts.
Wins and losses are REGULATION only (regulation_wins / regulation_losses) and the overtime
counts include shootouts (overtime_and_shootout_wins / _losses); the team table's wins_total /
losses_total of ha_team_stats() are totals including overtime and shootout results, so do not
mix them. team_code is the display code; the upstream teamCode mixes the StatNet id (MODO) and
the display code (MORA) and is kept only as team_code_mixed. power_play_perc /
penalty_kill_perc arrive as "" (NA).
Arguments
- season
Season END year (2026 = 2025/26); the site's START-year key is sent as
season - 1.NULL= the season in progress. Stats and standings start in 2005/06 (2006).- phase
Game type: HA regular season, HAPlayoff playoffs, HAkval playout (relegation series). Allowed:
HA,HAPlayoff,HAkval.- location
Home / away standings split. Allowed:
all,home,away.- return_parsed
Parse the payload into a tibble (default
TRUE). PassFALSEfor the raw JSON as a list (stamped with the request under_requestwhere the body does not say what it answers).
Value
A tibble (return_parsed = TRUE), else the raw JSON list:
| col_name | type | description |
| season | integer | Season END year (2026 = 2025/26). |
| rank | integer | Rank in the table. |
| team_code_mixed | character | Upstream standings teamCode: the StatNet id for some clubs (MODO), the display code for others (MORA, NVIF, ÖIK). Join on team_code instead. |
| team_code | character | Display code of the team (AIK, MoDo, MORA, NVIF, ÖIK), not the StatNet id. |
| games_played | integer | Games played in the season and phase. |
| regulation_wins | integer | Regulation wins only (the team table's wins_total also counts OT and shootout wins). |
| regulation_losses | integer | Regulation losses only. |
| ties | integer | Ties (0 in the overtime era). |
| overtime_and_shootout_wins | integer | Overtime wins, shootout wins included. |
| overtime_and_shootout_losses | integer | Overtime losses, shootout losses included. |
| shootouts_wins | integer | Shootout wins as sent (0 in every sampled row: they are counted in overtime_and_shootout_wins). |
| shootouts_losses | integer | Shootout losses as sent (0 in every sampled row). |
| goals | integer | Goals scored by the team (goals for). |
| goals_against | integer | Goals conceded by the team. |
| goal_difference | integer | Goal difference. |
| total_points | integer | Standings points of the team. |
| power_play_perc | numeric | Power-play percentage; empty-string placeholder ” in every sample. |
| penalty_kill_perc | numeric | Penalty-kill percentage; empty-string placeholder ” in every sample. |
Errors
fastRhockey_no_data: the site has nothing for the request (a season before 2005/06, an unknown or
pre-2025/26 game, a phase not played, a body without rows). fastRhockey_bad_request: a value
outside its enumerated set, a field the site requires is missing, or HTTP 400/422.
fastRhockey_asset_fetch: any other non-2xx, a connection failure after retries, or an empty,
non-JSON, error-shaped, truncated or out-of-scope 200 (the answer is unknown, not empty).
See also
Other HA Functions:
ha_game(),
ha_games(),
ha_goalie_stats(),
ha_leaders(),
ha_pbp(),
ha_players(),
ha_schedule(),
ha_skater_stats(),
ha_team_stats(),
ha_teams()
Examples
# \donttest{
try(ha_standings(season = 2026))
#> ── HA Standings Information from hockeyallsvenskan.se ──────────────────────────
#> ℹ Data updated: 2026-10-13 01:54:19 UTC
#> # A tibble: 14 × 18
#> season rank team_code_mixed team_code games_played regulation_wins
#> <int> <int> <chr> <chr> <int> <int>
#> 1 2026 1 IFB IFB 52 34
#> 2 2026 2 KHC KHC 52 34
#> 3 2026 3 BIK BIK 52 26
#> 4 2026 4 MODO MoDo 52 24
#> 5 2026 5 AIK AIK 52 22
#> 6 2026 6 NVIF NVIF 52 19
#> 7 2026 7 SSK SSK 52 20
#> 8 2026 8 IKO IKO 52 21
#> 9 2026 9 AIS AIS 52 18
#> 10 2026 10 MORA MORA 52 14
#> 11 2026 11 ÖIK ÖIK 52 16
#> 12 2026 12 VHC VHC 52 14
#> 13 2026 13 VIK VIK 52 13
#> 14 2026 14 TRO TRO 52 9
#> # ℹ 12 more variables: regulation_losses <int>, ties <int>,
#> # overtime_and_shootout_wins <int>, overtime_and_shootout_losses <int>,
#> # shootouts_wins <int>, shootouts_losses <int>, goals <int>,
#> # goals_against <int>, goal_difference <int>, total_points <int>,
#> # power_play_perc <dbl>, penalty_kill_perc <dbl>
# }
