Skip to contents

A player's season-by-season totals in the competition tag.

Endpoint: GET https://org.infobasket.su/Widget/PlayerSeasonStats/{person_id}

Usage

vtb_infobasket_player_season_stats(person_id, tag = "vtb")

Arguments

person_id

Infobasket PersonID (person_id in a box score or roster): one person across clubs and seasons, e.g. 423011.

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: A player's season-by-season totals in the competition tag. The columns are always these, in this order (sportsdataverse-py vtb_infobasket_player_season_stats); an empty valid answer raises hoopR_no_data, a valid body with no rows for this frame is a zero-row tibble:

col_nametypedescription
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).
seasonintegerSeason END year (2026 = 2025-26). The wire sends it as Season.CompID, a third meaning of CompID.
season_name_rucharacterSeason name in Russian ('Sezon 2025/2026').
season_name_encharacterSeason name in English ('Season 2025/2026').
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).
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.
in_game_countintegerGames actually played (on the court).
start_countintegerGames the person started.
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).
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).
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).
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.

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_player_season_stats(person_id = 423011))
#> ── VTB Infobasket Player Season Stats from org.infobasket.su ──── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:35:24 UTC
#> # A tibble: 4 × 48
#>   person_id season season_name_ru  season_name_en   team_short_name_ru
#>       <int>  <int> <chr>           <chr>            <chr>             
#> 1    423011   2027 Сезон 2026/2027 Season 2026/2027 Локомотив-Кубань  
#> 2    423011   2026 Сезон 2025/2026 Season 2025/2026 Локомотив-К       
#> 3    423011   2025 Сезон 2024/2025 Season 2024/2025 Локомотив-К       
#> 4    423011   2024 Сезон 2023/2024 Season 2023/2024 Локомотив-К       
#> # ℹ 43 more variables: team_short_name_en <chr>, team_name_ru <chr>,
#> #   team_name_en <chr>, team_region_name_ru <chr>, team_region_name_en <chr>,
#> #   team_id <int>, game_count <int>, in_game_count <int>, start_count <int>,
#> #   points <int>, shot1 <int>, goal1 <int>, shot2 <int>, goal2 <int>,
#> #   shot3 <int>, 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>, …
# }