Skip to contents

[Experimental]

Usage

getGamePoints(season_code, game_code)

Arguments

season_code

One or more season codes as obtained from getCompetitionHistory().
Examples are E2023 for Euroleague or U2023 for Eurocup 2023.

game_code

One or more game codes as obtained from getCompetitionGames().

Value

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

Examples


if (FALSE) {

getGamePoints(season_code = c("E2023", "U2023"), game_code = 1)

}