Skip to contents

Coaches of every team of a competition.

Endpoint: GET https://digital-api.fiba.basketball/hapi/getgdapteamstaffbycompetitionid

Usage

fiba_gdap_team_staff(comp, return_parsed = TRUE)

Arguments

comp

(integer, required) Required. FIBA competition id (GDAP key space), one per edition: competition.competitionId of any game row (208182 = World Cup 2023, 208722 = Paris 2024 men, 208850 = BCL 2024-25). Find it with fiba_gdap_editions or fiba_gdap_games_between.

return_parsed

Parse the payload into a tibble (default TRUE); FALSE returns the raw JSON list.

Value

A hoopR_data tibble (the raw JSON list when return_parsed = FALSE) with the following columns:

col_nametypedescription
team_idintegerFIBA team id (Int64), one per team per competition; the team the coach is registered with.
team_namecharacterTeam name the coach is registered with.
team_codecharacterTeam code (GER, USA...) the coach is registered with.
person_idintegerFIBA person id, global across competitions and roles (player, coach, official): roster personId = play-by-play pId = game-page P_<id> = gdapPlayerId.
first_namecharacterGiven name(s) as registered with FIBA.
last_namecharacterLast name (officials: upper case).
gendercharacterSex of the person: M or F (Male/Female on getgdapcompetitionnominationsbyid).
functioncharacterRole: Head Coach, Coach, Assistant Coach.
is_head_coachinteger1 for the head coach, 0 otherwise (an integer flag, not a boolean).
is_assistant_coachinteger1 for an assistant coach, else null (integer flag).
is_accompanying_coachlogicalAccompanying-coach flag; always null in the samples, values unverified.
coach_display_orderintegerDisplay order; null when unset.
is_on_final_rosterlogicalTrue when on the final (12-player) roster.
nationalitiescharacterNationalities (FIBA codes on player info; country objects on rosters and officials). Stored as a JSON string.
coach_license_organisation_namecharacterFederation that issued the coaching licence.
coach_license_country_codecharacterFIBA code of the licensing federation's country.
final_roster_member_status_codecharacterRoster entry status; always null in the samples, values unverified.

Details

Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in fiba_gdap_awards().

 fiba_gdap_team_staff(comp = 208182)