Skip to contents

[Experimental]

Usage

getTeamLeadStats(season_code, phase_type = "All", subset = "All")

Arguments

season_code

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

phase_type

One or more phase type codes as obtained from getCompetitionPhases().
Admitted values are RS for regular season, PO for playoffs and FF for final four. Default is All for all.

subset

One or more game subsets.
Admitted values are HomeGames, AwayGames, GamesWon, GamesLost, ResultsIn5Points (for games resulted in +/-5 points) and All. Default is All.

Value

Returns a list of elements for the chosen seasons, phase_type and subset.

  • TeamAccumulated. Total sum of statistics of all teams team

  • TeamAveragePerGame. Average per game of statistics of all teams

Glossary of columns:

Column nameColumn extended name
GPGame player
GSGame started
MINMinutes played
PTSPoints scored
2PMTwo-pointers made
2PATwo-pointers attempted
2P%Two-point %
3PMThree-pointers made
3PAThree-pointers attempted
3P%Three-point %
FTMFree throws made
FTAFree throws attempted
FT%Free-throw %
OREBOffensive rebounds
DREBDefensive rebounds
TREBTotal rebounds
ASTAssists
STLSteals
TOTurnovers
BLKBlocks
BLKABlocks against
FCPersonal fouls committed
FDPersonal fouls drawn
PIRPerformance Index Rating

Reference webpage: TeamLead

Examples


if (FALSE) {

  TeamLeadStats = getTeamLeadStats(season_code = c("E2022", "E2023"), phase_type = "RS")

  TeamLeadStats$TeamAccumulated |> head(5)

  TeamLeadStats$TeamAveragePerGame |> head(5)

}