View source: R/get-game-points.R
getGamePoints | R Documentation |
getGamePoints(season_code, game_code)
season_code |
One or more season codes as obtained from |
game_code |
One or more game codes as obtained from |
Returns scoring information of each player for the chosen games and seasons (subset of play-by-play data). In particular:
NumberOfPlay. Reference id of the action (useful for join with results
of getPlayByPlay
)
CoordX and CoordY. Spatial coordinates of the shot
Zone. Area of the court of the shot
Reference webpage: PlayByPlay
## Not run:
getGamePoints(season_code = c("E2023", "U2023"), game_code = 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.