Skip to contents

Every skater's stats in one league part (a competition stage), one row per player.

Wraps GET https://s3.eu-west-1.amazonaws.com/icehl.hokejovyzapis.cz/league-part-players-stats/{league_part_id}.json of the ICE Hockey League eSports bucket. Example: https://s3.eu-west-1.amazonaws.com/icehl.hokejovyzapis.cz/league-part-players-stats/56.json. Seasons are END years (2027 = 2026/27); every request waits at least one second after the last one to the same host.

Usage

icehl_league_part_player_stats(league_part_id, return_parsed = TRUE)

Arguments

league_part_id

League part id, one stage of a competition (league_part_id in icehl_schedule).

return_parsed

Parse the payload into a tibble (default TRUE); FALSE returns the raw decoded JSON body (a nested list).

Value

A tibble::tibble() with one row per row of the file (zero rows, carrying the documented columns, for an empty frame); the raw JSON list when return_parsed = FALSE. Columns:

col_nametypedescription
player_idintegerPlayer id (playerId key space, per bucket, stable across seasons).
namecharacterPlayer full name.
firstnamecharacterFirst name of the player in this row.
surnamecharacterPlayer last name.
birthdatecharacterBirth date YYYY-MM-DD.
positioncharacterPosition code: GK goalie, DE defence, FW / FO forward (FO meaning unverified).
stickcharacterHandedness: left or right; null when unknown.
weightintegerWeight in kg; 0 placeholder when unknown.
heightintegerHeight in cm; 0 placeholder when unknown.
jerseyintegerJersey number.
birth_countrycharacterPlayer's country of birth (name).
nationalitycharacterNationality, country name.
nationality_shortcharacterNationality, three-letter code (CAN, GER; UK for Britain).
team_idintegerTeam id (team key space, per bucket, stable across seasons); joins to league-matches home.id / guest.id and the {team_id} path param.
team_shortcutcharacterThree-letter team code.
gamesintegerGames played.
goalsintegergoals in total (goals_home + goals_away: the body splits it by home and away games).
goals_homeintegerSplit by venue: home = in the player's home games, away = in away games.
goals_awayintegerSplit by venue: home = in the player's home games, away = in away games.
assistsintegerassists in total (assists_home + assists_away: the body splits it by home and away games).
assists_homeintegerSplit by venue: home = in the player's home games, away = in away games.
assists_awayintegerSplit by venue: home = in the player's home games, away = in away games.
pointsintegerpoints in total (points_home + points_away: the body splits it by home and away games).
points_homeintegerSplit by venue: home = in the player's home games, away = in away games.
points_awayintegerSplit by venue: home = in the player's home games, away = in away games.
penalty_minutesintegerPenalty minutes assessed to the player (this game, or to date in the season / league-part files).
positiveintegerPlus: on ice for goals for at even strength or shorthanded.
negativeintegerMinus: on ice for goals against at even strength or on the power play.
points_per_gamenumericAverage goals plus assists per game played.
shot_efficiencynumericShooting percentage, goals / shots on goal x 100.
penalty_minutes_per_gamenumericAverage penalty minutes per game played.
pp_goalsintegerPower-play goals.
sh_goalsintegerShorthanded goals.
gw_goalsintegerGame-winning goals.
shots_attemptsintegerShot attempts (on goal + missed + blocked).
shots_on_goalintegershots_on_goal in total (shots_on_goal_home + shots_on_goal_away: the body splits it by home and away games).
shots_on_goal_homeintegerSplit by venue: home = in the player's home games, away = in away games.
shots_on_goal_awayintegerSplit by venue: home = in the player's home games, away = in away games.
shots_missedintegerThis player's shot attempts that missed the net.
shots_blockedintegerThis player's shot attempts that were blocked.
blocked_shots_by_playerintegerOpponent shots this player blocked.
faceoffs_winintegerFace-offs the player won (this game, or to date in the season / league-part files).
faceoffs_lossesintegerFace-offs the player lost (this game, or to date in the season / league-part files).
faceoffs_countintegerFace-offs the player took (this game, or to date in the season / league-part files).
timeonicenumericTime on ice, seconds with decimals (tracking-based; differs from timeOnIce).
timeonice_eqnumericTime on ice at even strength (EQ), on the power play (PP) or shorthanded (SH), seconds with decimals.
timeonice_ppnumericTime on ice at even strength (EQ), on the power play (PP) or shorthanded (SH), seconds with decimals.
timeonice_shnumericTime on ice at even strength (EQ), on the power play (PP) or shorthanded (SH), seconds with decimals.
hitsintegerBody checks delivered.
visible_gameslogicalWidget flag: show the milestone for that stat.
visible_goalslogicalWidget flag: show the milestone for that stat.
visible_assistslogicalWidget flag: show the milestone for that stat.
visible_pointslogicalWidget flag: show the milestone for that stat.
stars_gamesintegerWidget star marker for that stat (unverified).
stars_goalsintegerWidget star marker for that stat (unverified).
stars_assistsintegerWidget star marker for that stat (unverified).
stars_pointsintegerWidget star marker for that stat (unverified).
milestone_gamesnumericWidget value for the next milestone of that stat (unverified).
milestone_goalsnumericWidget value for the next milestone of that stat (unverified).
milestone_assistsnumericWidget value for the next milestone of that stat (unverified).
milestone_pointsnumericWidget value for the next milestone of that stat (unverified).
toi_gpnumericTime on ice per game played, seconds with decimals.
last_goalcharacterOpaque date-like code of the player's latest goal, e.g. 2026-0-09-02640; format unverified.
rankintegerRank of the player in the file's default sort (points).

Errors

Signalled as classed conditions: fastRhockey_no_data when the bucket has no such key (S3 404 NoSuchKey: unknown season, competition, match or team) or the file holds no rows (an unplayed game, an empty shot shell); fastRhockey_asset_fetch for any other non-2xx answer (403 AccessDenied), a connection failure after retries, an empty or unreadable 200 body, an error envelope, a body of the wrong shape, or a body for another season or game; fastRhockey_bad_request for an HTTP 400/422 or an invalid argument. All three also inherit fastRhockey_error. Wrappers raise; they never warn and return an empty frame.

See also

Examples

# \donttest{
  try(icehl_league_part_player_stats(league_part_id = 56))
#> ── ICE Hockey League league_part_player_stats from the eSports hokejovyzapis buc
#> ℹ Data updated: 2026-10-13 01:54:27 UTC
#> # A tibble: 337 × 91
#>    player_id name       firstname surname birthdate position stick weight height
#>        <int> <chr>      <chr>     <chr>   <chr>     <chr>    <chr>  <int>  <int>
#>  1      4795 Joshua Da… Joshua D… Lawren… 2002-01-… FW       NA         0      0
#>  2      4716 Brady Shaw Brady     Shaw    1992-10-… FW       left      91    185
#>  3      4024 Nick Swan… Nick      Swaney  1997-09-… FW       left       0      0
#>  4      3531 Marly Qui… Marly     Quince  1994-01-… FW       left      92    183
#>  5      3494 Linden Vey Linden    Vey     1991-07-… FW       left       0      0
#>  6      4816 Jakob Lil… Jakob     Lilja   1993-07-… FW       NA        89    184
#>  7      2861 Nicolai M… Nicolai   Meyer   1993-07-… FW       left      82    179
#>  8      2943 Jeremy Gr… Jeremy    Gregoi… 1995-09-… FW       NA        88    183
#>  9      4700 Carter Sa… Carter    Savoie  2002-01-… FW       left      86    178
#> 10      2979 Graham Kn… Graham    Knott   1997-01-… FW       left      87    191
#> # ℹ 327 more rows
#> # ℹ 82 more variables: jersey <int>, birth_country <chr>, nationality <chr>,
#> #   nationality_short <chr>, team_id <int>, team_shortcut <chr>, games <int>,
#> #   goals <int>, goals_home <int>, goals_away <int>, assists <int>,
#> #   assists_home <int>, assists_away <int>, points <int>, points_home <int>,
#> #   points_away <int>, penalty_minutes <int>, positive <int>, negative <int>,
#> #   points_per_game <dbl>, shot_efficiency <dbl>, …
# }