Skip to contents

Team box score of a finished game, with the head coach's technical fouls.

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

Usage

vtb_infobasket_team_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: Team box score of a finished game, with the head coach's technical fouls. The columns are always these, in this order (sportsdataverse-py vtb_infobasket_team_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.
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).
team_numberintegerSide: 1 team A (home), 2 team B (away).
team_idintegerInfobasket team id (TeamID): one club's entry in a competition family (Lokomotiv Kuban = 2650). Joins to /Widget/Team*/{teamId} and equals the v2 API teamId. The scope check compares both sides with the request.
scoreintegerFinal points of the team.
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).
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).
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).
shot1_percentdoubleFree-throw percentage (0-100); parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
shot2_percentdouble2-point percentage (0-100); parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
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).
team_def_reboundintegerTeam defensive rebounds (not credited to a player). The wire's null is 0 here (null counts are filled).
team_off_reboundintegerTeam offensive rebounds (not credited to a player). The wire's null is 0 here (null counts are filled).
team_reboundintegerTeam rebounds (not credited to a player). The wire's null is 0 here (null counts are filled).
team_stealintegerUnobserved: null in every sample, so its type and meaning are unconfirmed.
team_turnoverintegerTeam turnovers (not credited to a player, e.g. shot-clock violations). The wire's null is 0 here (null counts are filled).
foulintegerPersonal fouls committed by the team.
opponent_foulintegerFouls drawn. The wire's null is 0 here (null counts are filled).
secondsintegerPlaying time in seconds.
played_timecharacterPlaying time as 'minutes:seconds' (team rows sum the five players: '200:00' = 40 minutes x 5).
plus_minusintegerUnobserved: null in every sample, so its type and meaning are unconfirmed.
team_short_name_rucharacterThe the team's short name in Russian (as the competition names it).
team_short_name_encharacterThe the team's short name in English (as the competition names it).
team_name_rucharacterThe the team's name in Russian (as the competition names it).
team_name_encharacterThe the team's name in English (as the competition names it).
team_region_name_rucharacterThe the team's region or city in Russian (as the competition names it).
team_region_name_encharacterThe the team's region or city in English (as the competition names it).
coach_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).
coach_name_encharacterHead coach's name in English, as 'Last First'.
coach_name_rucharacterHead coach's name in Russian, as 'Last First'.
coach_foul_cintegerTechnical fouls on the head coach for his own conduct (scoresheet 'C').
coach_foul_bintegerTechnical fouls on the head coach for bench conduct (scoresheet 'B').
coach_foul_dintegerDisqualifying fouls on the coach (scoresheet 'D').
coach_foulintegerFouls charged to the coach (C + B + D).

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_team_box_score(game_id = 921391))
#> ── VTB Infobasket Team Box Score from org.infobasket.su ───────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:35:31 UTC
#> # A tibble: 2 × 45
#>   game_id is_home team_number team_id score points shot1 goal1 shot2 goal2 shot3
#>     <int> <lgl>         <int>   <int> <int>  <int> <int> <int> <int> <int> <int>
#> 1  921391 TRUE              1    2650    85     85    22    15    46    26    17
#> 2  921391 FALSE             2    1390    86     86    10     8    40    21    27
#> # ℹ 34 more variables: goal3 <int>, shot1_percent <dbl>, shot2_percent <dbl>,
#> #   shot3_percent <dbl>, assist <int>, blocks <int>, def_rebound <int>,
#> #   off_rebound <int>, rebound <int>, steal <int>, turnover <int>,
#> #   team_def_rebound <int>, team_off_rebound <int>, team_rebound <int>,
#> #   team_steal <int>, team_turnover <int>, foul <int>, opponent_foul <int>,
#> #   seconds <int>, played_time <chr>, plus_minus <int>,
#> #   team_short_name_ru <chr>, team_short_name_en <chr>, team_name_ru <chr>, …
# }