Skip to contents

Player box score of a finished game (one row per player of each team, DNPs included).

Endpoint: GET https://org.infobasket.su/Widget/GetOnline/{game_id}

Usage

vtb_infobasket_box_score(game_id)

Arguments

game_id

Infobasket GameID (game_id in vtb_infobasket_calendar; the v2 matches' match_id), e.g. 921391. Global across seasons.

Value

A hoopR_data tibble: Player box score of a finished game (one row per player of each team, DNPs included). The columns are always these, in this order (sportsdataverse-py vtb_infobasket_box_score); an empty valid answer raises hoopR_no_data, a valid body with no rows for this frame is a zero-row tibble:

col_nametypedescription
game_idintegerInfobasket GameID of the game (the v2 matches' match_id); global across seasons.
team_idintegerInfobasket TeamID (2650 = Lokomotiv Kuban); the v2 teamId. Not a club-record id and not a registration id.
is_homelogicalTrue for team 1, the team listed first (team A, the home side in the calendar); the body has no explicit home flag (unverified).
person_idintegerInfobasket person id (PersonID): one person (player, coach or official) across clubs and seasons. Joins to /Widget/PlayerPage/{personId} (players) and /Widget/CoachPage/{personId} (coaches).
team_numberintegerSide of the player's team: 1 team A (home), 2 team B (away).
player_numberintegerShirt number as an integer (-1 when none).
display_numbercharacterShirt number as displayed ('0' and '00' differ).
last_name_rucharacterLast name in Russian.
last_name_encharacterLast name in English.
first_name_rucharacterFirst name in Russian.
first_name_encharacterFirst name in English.
person_name_rucharacterName 'Last First' in Russian.
person_name_encharacterName 'Last First' in English.
is_captainlogical1 for the team captain, else 0.
birth_datecharacterBirth date (ISO 8601 date) of a player: public bio, kept; coaches' and officials' birth data is never output.
pos_idintegerPosition code: players 1 point guard, 2 shooting guard, 3 small forward, 4 power forward, 5 centre; coaches 1000 head coach, 1001 assistant; officials 101-103 referees, 104 commissioner, 111-123 table officials (exact roles unverified).
country_code_ioccharacterNationality code: ISO 3166 alpha-2 in most rows ('RU', 'US'), IOC alpha-3 in some ('BLR').
country_name_rucharacterNationality code (same as CountryCodeIOC), not a name.
country_name_encharacterNationality code (same as CountryCodeIOC), not a name.
rank_rucharacterSporting title, Russian; empty or null in the samples.
rank_encharacterSporting title, English; empty or null in the samples.
heightintegerHeight in centimetres.
weightintegerWeight in kilograms.
pointsintegerPoints. The wire's null is 0 here (null counts are filled).
shot1integerFree throws attempted. The wire's null is 0 here (null counts are filled).
goal1integerFree throws made. The wire's null is 0 here (null counts are filled).
shot1_percentdoubleFree-throw percentage (0-100); parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
shot2integer2-point field goals attempted. The wire's null is 0 here (null counts are filled).
goal2integer2-point field goals made. The wire's null is 0 here (null counts are filled).
shot2_percentdouble2-point percentage (0-100); parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
shot3integer3-point field goals attempted. The wire's null is 0 here (null counts are filled).
goal3integer3-point field goals made. The wire's null is 0 here (null counts are filled).
shot3_percentdouble3-point percentage (0-100); parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
assistintegerAssists. The wire's null is 0 here (null counts are filled).
blocksintegerBlocked shots. The wire's null is 0 here (null counts are filled).
def_reboundintegerDefensive rebounds. The wire's null is 0 here (null counts are filled).
off_reboundintegerOffensive rebounds. The wire's null is 0 here (null counts are filled).
reboundintegerTotal rebounds. The wire's null is 0 here (null counts are filled).
stealintegerSteals. The wire's null is 0 here (null counts are filled).
turnoverintegerTurnovers. The wire's null is 0 here (null counts are filled).
foulintegerPersonal fouls committed. The wire's null is 0 here (null counts are filled).
opponent_foulintegerFouls drawn. The wire's null is 0 here (null counts are filled).
plus_minusintegerPlus-minus: point differential while on the court. Null where the host sends none.
secondsintegerPlaying time in seconds.
played_timecharacterPlaying time as 'minutes:seconds' (team rows sum the five players: '200:00' = 40 minutes x 5).
is_startlogicalTrue for a starter.
start_markcharacter'+' for a starter, else empty.

Details

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

Examples

# \donttest{
  try(vtb_infobasket_box_score(game_id = 921391))
#> ── VTB Infobasket Box Score from org.infobasket.su ────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:35:16 UTC
#> # A tibble: 24 × 47
#>    game_id team_id is_home person_id team_number player_number display_number
#>      <int>   <int> <lgl>       <int>       <int>         <int> <chr>         
#>  1  921391    2650 TRUE       423011           1             2 2             
#>  2  921391    2650 TRUE       337028           1             0 0             
#>  3  921391    2650 TRUE       393326           1             5 5             
#>  4  921391    2650 TRUE       490452           1             3 3             
#>  5  921391    2650 TRUE       377837           1            17 17            
#>  6  921391    2650 TRUE        55701           1            99 99            
#>  7  921391    2650 TRUE        24712           1            27 27            
#>  8  921391    2650 TRUE        39197           1            16 16            
#>  9  921391    2650 TRUE        51909           1            37 37            
#> 10  921391    2650 TRUE        39489           1            38 38            
#> # ℹ 14 more rows
#> # ℹ 40 more variables: last_name_ru <chr>, last_name_en <chr>,
#> #   first_name_ru <chr>, first_name_en <chr>, person_name_ru <chr>,
#> #   person_name_en <chr>, is_captain <lgl>, birth_date <chr>, pos_id <int>,
#> #   country_code_ioc <chr>, country_name_ru <chr>, country_name_en <chr>,
#> #   rank_ru <chr>, rank_en <chr>, height <int>, weight <int>, points <int>,
#> #   shot1 <int>, goal1 <int>, shot1_percent <dbl>, shot2 <int>, goal2 <int>, …
# }