A club's team season totals, averages and per-40 values for an edition.
One row: the same total_* / avg_* / per40_* columns as acb_team_stats, for the team as a whole
(team_id is the season-team entry).
Endpoint: GET https://api2.acb.com/api/seasondata/TeamProfile/team-stats
Arguments
- club_id
(required) ACB club id (integer), stable across seasons and sponsor names (2 = Barca, 9 = Real Madrid, 13 = Valencia Basket). Not the season-team
team_id. A whole number; a whole double is accepted.- competition_id
(default
NULL) Competition id: 1 Liga Endesa, 2 Copa del Rey, 3 Supercopa Endesa, 10 Minicopa Endesa (youth). Omitted = the API's default competition. A whole number; a whole double is accepted.- season
(default
NULL) Season END year (2027 = 2026-27; the first ACB season, 1983-84, is 1984).acb_runtimesends the API'seditionId= season - 1936. Omitted = the current season. A whole number; a whole double is accepted.
Value
A hoopR_data tibble with one row per club-season.
Its columns are listed in return_columns
(subset(return_columns, fn == "acb_team_totals")) and in the searchable
return columns article.
Details
Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in acb_match_header().
acb_team_totals(club_id = 2, season = 2027)See also
family_acb lists every function in this family.
