getGamePlayByPlay {euroleaguer}R Documentation

Get game play-by-play

Description

[Experimental]

Usage

getGamePlayByPlay(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 a list of two elements for the chosen games and seasons

Glossary of PlayType:

PlayType PlayInfo
2PA Missed Two Pointer
2PM Two Pointer
3PA Missed Three Pointer
3PM Three Pointer
AG Shot Rejected
AS Assist
BP Begin Period
C Coach Foul
CCH Coach Challenge
CM Foul
CMT Technical Foul
CMTI Throw-In Foul
CMU Unsportsmanlike Foul
D Def Rebound
EG End Game
EP End Period
FTA Missed Free Throw
FTM Free Throw In
FV Block
IN In
O Off Rebound
OF Offensive Foul
OUT Out
RV Foul Drawn
ST Steal
TO Turnover
TOUT Time Out
TOUT_TV TV Time Out

Reference webpage: PlayByPlay

Examples


## Not run: 

PlayByPlay = getGamePlayByPlay(season_code = c("E2023", "U2023"), game_code = 1)

PlayByPlay$PlayByPlaySummary |> head(5)

PlayByPlay$PlayByPlay |> head(5)


## End(Not run)


[Package euroleaguer version 0.2.0 Index]