Skip to contents

All-time medal table of a competition family.

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

Usage

fiba_gdap_medal_count(family_id, return_parsed = TRUE)

Arguments

family_id

(integer, required) Required. Competition family id (competitionMarketingName.competitionMarketingNameId): 201 = World Cup, 320 = men's Olympics, 306 = Women's World Cup, 112 = BCL tier 1, 211 = EuroLeague Women.

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_namecharacterTeam name (country or club).
organisation_idintegerOrganisation id, stable across competitions and seasons: the national federation for a national team (64 = Germany), the club for a club team (396 = Filou Oostende). Same key space as nationalFederationId, clubId, play-by-play oId and the game page's T_<id>.
fiba_codecharacterFIBA three-letter country code (GER, USA; historic URS, YUG).
team_zone_codecharacterZone code of the team (E Europe, NAM Americas north...).
rankintegerRank (1 = first).
total_first_rankintegerGold medals (first places).
total_second_rankintegerNumber of silver medals the federation has won in the competition family.
total_third_rankintegerNumber of bronze medals the federation has won in the competition family.
total_participationsintegerEditions played.

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_medal_count(family_id = 201)