Skip to contents

Schedule and results of one season stage: every game with its club ids, score and decision.

Usage

vhl_schedule(season, stage = "regular", return_parsed = TRUE)

Arguments

season

Season END year (2026 = 2025/26; the calendar covers 2010/11 on). With stage it is mapped to the site's tournament id, see vhl_tn().

stage

Season stage: "regular" (default) or "playoff".

return_parsed

TRUE (default) returns the parsed tibble; FALSE returns the page's parsed record (a named list, plus _request with the season, stage, tn and the ids asked for).

Value

A fastRhockey_data tibble with one row per game:

col_nametypedescription
seasonintegerSeason END year (2026 = 2025/26).
stagecharacterSeason stage: regular or playoff.
tnintegerTournament id of the season stage (2025/26 regular season = 1374, playoffs = 1375); vhl_tn maps season + stage to it.
game_idintegerGame id (the calendar's game_id; the report's and the broadcast's idgame). The report and broadcast pages do not print it: it comes from the request.
game_numberintegerOfficial game number within the tournament (from 'No.986').
game_datecharacterGame date, ISO 'YYYY-MM-DD': the calendar day heading plus the season (August-December = START year).
datecharacterDay header in English, day and month only ('18 March'); the page prints no year and no start time.
weekdaycharacterWeekday of the day header (English).
home_teamcharacterHome team name (Latin, FULL form: 'Kristall S'; standings, stats and the team page use the short 'Kristall').
home_club_idintegerHome club id: stable across seasons (the img.khl.ru logo path id). Neither a team-season id nor a team page id.
away_teamcharacterAway team name (Latin, FULL form, like home_team).
away_club_idintegerAway club id: stable across seasons (the img.khl.ru logo path id).
citycharacterCity of the home team's arena (English).
scorecharacterFinal score 'home:away'; '-:-' before the game.
home_scoreintegerHome goals including the shootout winner goal; null before the game.
away_scoreintegerAway goals including the shootout winner goal; null before the game.
decisioncharacterHow the game ended beyond regulation: OT (overtime) or SO (shootout); null for regulation or unplayed games.
winnercharacterWinning side from the win-home / win-visitor class: home or away; null before the game.
statuscharacterUnobserved in samples (null in every capture); type and meaning unverified.
online_urlcharacterText-broadcast URL (online.vhlru.ru/online/{game_id}.html).

With return_parsed = FALSE, the page's parsed record (a named list) instead.

Details

Source: GET https://www.vhlru.ru/en/calendar/{season}/0/ (server-rendered HTML, keyless; parsed with rvest). Unofficial use of a public source; payloads are not redistributed.

Terms of use

Check the provider's terms of use before redistributing this data.

Errors

  • fastRhockey_no_data: the VHL has nothing for the request (a season without that stage, a game not in the season's calendar, an unknown game, player or team page).

  • fastRhockey_bad_request: a bad season / stage / id, a missing argument, or HTTP 400 / 422.

  • fastRhockey_asset_fetch: the page could not be fetched, or it is not the page asked for (another season, game or player; a missing table or header drift).

Examples

if (FALSE) { # interactive()
# \donttest{
  try(vhl_schedule(season = 2026))
  try(vhl_schedule(season = 2026, stage = "playoff"))
# }
}