Skip to contents

A player's career totals in the competition tag.

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

Usage

vtb_infobasket_player_career_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 career totals in the competition tag. The columns are always these, in this order (sportsdataverse-py vtb_infobasket_player_career_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). The scope check compares it with the request.
game_countintegerGames in the totals.
in_game_countintegerGames actually played (on the court).
start_countintegerGames the person started.
has_more_seasonslogicalTrue when the host holds more seasons than listed (False in every sample).
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().