Skip to contents

Shootout attempts from the game sheet, in round order: shootout_round is the round (one attempt per team per round), not a jersey number. Trailing rounds that were not needed are listed with no shooter and scored NA. Zero rows when the game had no shootout.

Usage

magnus_shootout(game_id, return_parsed = TRUE)

Arguments

game_id

Game id (game_id of magnus_schedule()), e.g. 77779 (2026-27, shootout and MVPs); also sampled: 68838, 865.

return_parsed

Parse the payload into a tibble (default TRUE). Pass FALSE for the game sheet extracted from the page's embedded JSON, as a list.

Value

A tibble (return_parsed = TRUE; zero rows without a shootout), else the game sheet list:

col_nametypedescription
game_idintegerGame id (integer join key).
attempt_idintegerShootout attempt id (integer).
shootout_roundintegerShootout round of the attempt (one attempt per team per round); not a jersey number.
team_idintegerTeam id of the shooting team (integer).
team_abbreviationcharacterAbbreviation of the shooting team.
shooter_player_idintegerPerson id of the shooter (integer); null on rounds not needed.
shooter_namecharacterName of the shooter.
goalie_player_idintegerPerson id of the goalie facing the attempt (integer).
goalie_namecharacterName of the goalie facing the attempt.
scoredlogicalWhether the attempt scored; null on rounds not needed.

Examples

# \donttest{
  try(magnus_shootout(game_id = 77779))
#> Error in .euro_check_status(resp) : 
#>   liguemagnus.com/rencontre/77779/ answered HTTP 403: <html><body><h1>403
#> Forbidden</h1> Request forbidden by administrative rules. Interdiction
#> d'acceder a cette ressource </body></html>
# }