Skip to contents

Season totals of a game's two teams (the pre-game preview).

Endpoint: GET https://org.infobasket.su/Comp/GetTeamStatsForPreview/{game_id}

Usage

vtb_infobasket_team_preview(game_id, season = NULL, tag = "vtb")

Arguments

game_id

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

season

Season END year (2026 = 2025-26); the wrapper maps it to the season-level Infobasket CompID with vtb_infobasket_seasons (one extra request per tag, cached). Optional (the host accepts the call without it).

tag

Competition tag scoping the profile: vtb (VTB United League, default), vtbyouth, wbc, wpremier or rfb. The season table is read for this tag.

Value

A hoopR_data tibble: Season totals of a game's two teams (the pre-game preview). The columns are always these, in this order (sportsdataverse-py vtb_infobasket_team_preview); 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 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.
game_countintegerGames in the totals (the whole competition, all stages, for the season-level CompID).
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).
shot23integerField goals (2 + 3 points) attempted. The wire's null is 0 here (null counts are filled).
goal23integerField goals (2 + 3 points) 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).
shot23_percentdoubleField-goal 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_stealintegerTeam steals (not credited to a player). The wire's null is 0 here (null counts are filled).
team_turnoverintegerTeam turnovers (not credited to a player, e.g. shot-clock violations). The wire's null is 0 here (null counts are filled).
kpiintegerEfficiency index (KPI, the platform's 'KPI'); formula unverified.
avg_pointsdoublePer-game average of: points; parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_assistdoublePer-game average of: assists; parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_blocksdoublePer-game average of: blocked shots; parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_def_rebounddoublePer-game average of: defensive rebounds; parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_off_rebounddoublePer-game average of: offensive rebounds; parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_rebounddoublePer-game average of: total rebounds; parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_stealdoublePer-game average of: steals; parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_turnoverdoublePer-game average of: turnovers; parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_fouldoublePer-game average of: personal fouls committed; parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_opponent_fouldoublePer-game average of: fouls drawn; parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_plus_minusdoublePer-game average of: plus-minus: point differential while on the court; parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_team_def_rebounddoublePer-game average of: team defensive rebounds (not credited to a player); parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_team_off_rebounddoublePer-game average of: team offensive rebounds (not credited to a player); parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_team_rebounddoublePer-game average of: team rebounds (not credited to a player); parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_team_stealdoublePer-game average of: team steals (not credited to a player); parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
avg_team_turnoverdoublePer-game average of: team turnovers (not credited to a player, e.g. shot-clock violations); parsed to a number (the wire sends a comma-decimal string, null when there were no attempts).
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).
secondsintegerPlaying time in seconds.
played_timecharacterPlaying time as 'minutes:seconds' (team rows sum the five players: '200:00' = 40 minutes x 5).
avg_played_timecharacterAverage playing time per game as 'minutes:seconds'.
plus_minusintegerPlus-minus: point differential while on the court. Null where the host sends none.
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).

Details

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

 vtb_infobasket_team_preview(game_id = 921391, season = 2026)