Skip to contents

get_game_boxscore() retrieves information on each player for a given set of game, team, and player_type, including but not limited to their ID, name, sweater number, goals, assists, +/-, hits, blocks, shots-on-goal, giveaways, takeaways, time on ice, and number of shifts. Access get_games() for game reference.

Usage

get_game_boxscore(game = 2024020602, team = "home", player_type = "forwards")

Arguments

game

integer Game ID

team

string of 'home' or 'away'

player_type

string of 'forwards', 'defense', or 'goalies'

Value

tibble with one row per player

Examples

boxscore_2024030411_FLA_defensemen <- get_game_boxscore(
  game=2024030411,
  team='away',
  player_type='defense'
)