Skip to contents

Team directory: every current and past team with logos, venue capacity and club info.

Usage

liiga_teams()

Value

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

col_nametypedescription
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).
team_slugcharacterTeam slug, the part of Liiga's <num>:<slug> team key after the colon (e.g. hpk).
namecharacterClub name as Liiga lists it, e.g. HIFK or K-Espoo.
contact_infocharacterClub contact details as HTML, in Finnish (company, address, phone).
externalscharacterJSON list of the club's external links (url, label), e.g. its ticket shops.
country_codecharacterClub's country, 3-letter code (e.g. FIN).
country_namecharacterClub's country name, e.g. Finland.
current_venue_capacityintegerCapacity of the team's current home arena (spectators).
general_infocharacterClub history and facts as an HTML table, in Finnish (founding year, titles, ...).
urlcharacterClub website URL.
localitycharacterClub's home locality; null in every capture (unverified).
logocharacterTeam logo image URL (old.liiga.fi media).
short_namecharacterTeam abbreviation.
teamtournamentstatscharacterTeam totals per season and tournament, snake_case, percentages and averages sent as STRINGS.

Details

Endpoint: GET https://liiga.fi/api/v2/teams/info

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

if (FALSE) { # interactive()
# \donttest{
  try(liiga_teams())
# }
}