Skip to contents

Officials nominated to one game (referees, table officials, commissioner).

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

Usage

fiba_gdap_game_officials(game_id, return_parsed = TRUE)

Arguments

game_id

(integer, required) Required. FIBA game id (global GDAP key space): gameId of a schedule row; the <gameId> of a game page URL

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
game_idintegerFIBA game id (Int64) of the game the official was nominated to.
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).
role_codecharacterRole code (REF, FIBATDEL...).
role_namecharacterRole name on the game (Crew chief, Umpire, Commissioner, Assistant scorer...).
role_ordercharacterOrder within the role; a numeric string or null.
default_nationalitycharacterFIBA code of the official's main nationality.
license_nationalitycharacterFIBA code of the federation that licenses the official.

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_game_officials(game_id = 100720)