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 sportsdataverse-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.1.0 ──
#> ℹ Data updated: 2026-11-02 03:49:40 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   848   2027         1     1188  624554857          9           0         3
#>  2   841   2027         1     1188  951626834         12           5         2
#>  3   843   2027         1     1188  292293444          9           3         1
#>  4   844   2027         1     1188  219244634         11           3         0
#>  5   854   2027         1     1188  679171680         11           4         2
#>  6   850   2027         1     1188  933686567          8           3         0
#>  7   847   2027         1     1188  495643563          9           2         5
#>  8   853   2027         1     1188  651304385         10           5         3
#>  9   855   2027         1     1188 1368624751         10           4         4
#> 10   852   2027         1     1188  362185137         10           4         2
#> # ℹ 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>, points <int>,
#> #   playoff_rank <int>, regular_season_rank <int>, ties <int>, wins <int>,
#> #   wins_in_extra_time <int>
# }