League-wide shooting by court zone for a season.
One row per zone: attempts, made and points_scored. Zone names: restricted_area, paint, mid_range_left
/ center / right, corner_three_left / right, wing_three_left / right, top_three.
Endpoint: GET https://api2.acb.com/api/seasondata/ShotChart/league-zones
Arguments
- 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 zone.
Its columns are listed in return_columns
(subset(return_columns, fn == "acb_league_zones")) 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_league_zones(season = 2027)See also
family_acb lists every function in this family.
