Skip to contents

A team's four-factors table, one row per season of the team.

Endpoint: POST https://data-server.cbaleague.com/api/teams/four-elements (JSON body)

Usage

cba_team_four(team_id, match_type_id = 1)

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).

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_four")) 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_four(team_id = 29128)

See also

family_cba lists every function in this family.