getTeamStats {euroleaguer}R Documentation

Get team statistics

Description

[Experimental]

Usage

getTeamStats(season_code, team_code, phase_type = "All")

Arguments

season_code

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

team_code

One or more team codes as obtained from getCompetitionTeams().
Examples are ASV, MAD, ...

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.

Value

Returns a list of elements for the chosen teams and seasons:

Glossary of columns:

Column name Column extended name
GP Game player
GS Game started
MIN Minutes played
PTS Points scored
2PM Two-pointers made
2PA Two-pointers attempted
2P% Two-point %
3PM Three-pointers made
3PA Three-pointers attempted
3FG% Three-point %
FTM Free throws made
FTA Free throws attempted
FT% Free-throw %
OREB Offensive rebounds
DREB Defensive rebounds
TREB Total rebounds
AST Assists
STL Steals
TO Turnovers
BLK Blocks
BLKA Blocks against
FC Personal fouls committed
FD Personal fouls drawn
PIR Performance Index Rating

Reference webpage: Team

Examples


## Not run: 

  TeamStats = getTeamStats(team_code = "ASV", season_code = c("E2023", "E2022"), phase_type = "RS")

  TeamStats$PlayerAccumulated |> head(5)

  TeamStats$PlayerAveragePerGame |> head(5)

  TeamStats$PlayerAveragePer40 |> head(5)

  TeamStats$TeamAccumulated |> head(5)

  TeamStats$TeamAveragePerGame |> head(5)


## End(Not run)


[Package euroleaguer version 0.2.0 Index]