Skip to contents

Every team's regular-season record, one row per team and season since 1976.

Usage

liiga_teams_history()

Value

A fastRhockey_data tibble (25 columns; zero rows when a valid payload has none).

col_nametypedescription
idintegerRow id of this team-season row (NOT a team id; teamId is the team).
seasonintegerSeason END year (2026 = 2025-26).
league_idintegerLeague id: 1 = Liiga (SM-liiga) on every /teams/info row 1976-2027.
serie_idintegerTournament id, the same every season: 1188 regular season, 1189 playoffs, 1194 preseason, 1890 CHL.
team_idintegerTeam id, the number of Liiga's <num>:<slug> team key (sent as that string, a bare integer or a digit string depending on the route).
away_gamesintegerAway games (team, that regular season).
away_lossesintegerAway losses (team, that regular season).
away_tiesintegerAway ties (team, that regular season).
away_winsintegerAway wins (team, that regular season).
away_wins_in_extra_timeintegerAway wins in extra time (team, that regular season).
gamesintegerGames (team, that regular season).
goals_againstintegerGoals against (team, that regular season).
goals_scoredintegerGoals scored (team, that regular season).
home_gamesintegerHome games (team, that regular season).
home_lossesintegerHome losses (team, that regular season).
home_tiesintegerHome ties (team, that regular season).
home_winsintegerHome wins (team, that regular season).
home_wins_in_extra_timeintegerHome wins in extra time (team, that regular season).
lossesintegerLosses (team, that regular season).
playoff_rankintegerPlayoff rank (team, that regular season).
pointsintegerPoints (team, that regular season).
regular_season_rankintegerRegular season rank (team, that regular season).
tiesintegerTies (team, that regular season).
winsintegerWins (team, that regular season).
wins_in_extra_timeintegerWins in extra time (team, that regular season).

Details

Endpoint: GET https://liiga.fi/api/v2/teams/info (with team=all)

Seasons are END years (2026 = 2025-26), the same key as sdv-py. Requests to liiga.fi are spaced at least one second apart. A request Liiga answers with nothing (an unknown game, a tournament not played that season, a shot map before 2016) raises fastRhockey_no_data; a failed fetch or an error-shaped answer raises fastRhockey_asset_fetch; a bad argument raises fastRhockey_bad_request.

Examples

# \donttest{
  try(liiga_teams_history())
#> ── Liiga team history Information from liiga.fi ────── fastRhockey 1.0.0.9000 ──
#> ℹ Data updated: 2026-10-13 01:55:46 UTC
#> # A tibble: 593 × 25
#>       id season league_id serie_id    team_id away_games away_losses away_ties
#>    <int>  <int>     <int>    <int>      <int>      <int>       <int>     <int>
#>  1   841   2027         1     1188  951626834          7           2         1
#>  2   843   2027         1     1188  292293444          6           3         0
#>  3   854   2027         1     1188  679171680          5           1         2
#>  4   847   2027         1     1188  495643563          7           2         3
#>  5   844   2027         1     1188  219244634         10           3         0
#>  6   848   2027         1     1188  624554857          5           0         1
#>  7   855   2027         1     1188 1368624751          6           2         4
#>  8   850   2027         1     1188  933686567          5           2         0
#>  9   852   2027         1     1188  362185137          6           3         0
#> 10   840   2027         1     1188   55786244          5           3         1
#> # ℹ 583 more rows
#> # ℹ 17 more variables: away_wins <int>, away_wins_in_extra_time <int>,
#> #   games <int>, goals_against <int>, goals_scored <int>, home_games <int>,
#> #   home_losses <int>, home_ties <int>, home_wins <int>,
#> #   home_wins_in_extra_time <int>, losses <int>, playoff_rank <int>,
#> #   points <int>, regular_season_rank <int>, ties <int>, wins <int>,
#> #   wins_in_extra_time <int>
# }