Skip to contents

A team's shot-zone profile, one row per season of the team (zone splits from 2017-18).

Endpoint: POST https://data-server.cbaleague.com/api/team-match-datas/team-shoot-list (JSON body)

Usage

cba_team_shots(team_id, match_type_id = 1, page_number = 1, page_size = 100)

Arguments

team_id

(required) Required. CBA team id (clubs, stable across seasons and renames).

match_type_id

(default 1) Match type id: 1 regular season (default), 2 playoffs, 3 preseason, 4 all-star, 9 relegation play-off (cba_match_types).

page_number

(default 1) Page number of the paged list, from 1.

page_size

(default 100) Rows per page (the site uses 100).

Value

A hoopR_data tibble with one row per season of the team. Its columns are listed in return_columns (subset(return_columns, fn == "cba_team_shots")) 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 cba_seasons().

 cba_team_shots(team_id = 29128)

See also

family_cba lists every function in this family.