| boxscore | R Documentation |
boxscore() scrapes the boxscore for a given set of game, team, and
position.
boxscore(game = 2023030417, team = "home", position = "forwards")
game |
integer ID (e.g., 2025020275); see |
team |
character of 'h'/'home' or 'a'/'away' |
position |
character of 'f'/'forwards', 'd'/'defensemen', or 'g'/'goalies' |
data.frame with one row per player
boxscore_COL_forwards_Martin_Necas_legacy_game <- boxscore(
game = 2025020275,
team = 'H',
position = 'F'
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.