Skip to contents

[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

  • PlayByPlaySummary. Overall information about the games, teams involved and status (live or not)

  • PlayByPlay. Detailed information about the games, particularly NumberOfPlay and PlayType

Glossary of PlayType:

PlayTypePlayInfo
2PAMissed Two Pointer
2PMTwo Pointer
3PAMissed Three Pointer
3PMThree Pointer
AGShot Rejected
ASAssist
BPBegin Period
CCoach Foul
CCHCoach Challenge
CMFoul
CMTTechnical Foul
CMTIThrow-In Foul
CMUUnsportsmanlike Foul
DDef Rebound
EGEnd Game
EPEnd Period
FTAMissed Free Throw
FTMFree Throw In
FVBlock
INIn
OOff Rebound
OFOffensive Foul
OUTOut
RVFoul Drawn
STSteal
TOTurnover
TOUTTime Out
TOUT_TVTV Time Out

Reference webpage: PlayByPlay

Examples


if (FALSE) {

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

PlayByPlay$PlayByPlaySummary |> head(5)

PlayByPlay$PlayByPlay |> head(5)

}