Skip to contents

Season-by-season per-game averages of the player of a roster entry.

Endpoint: GET https://bnxt.sportpress.info/api/v1/player/career-averages/{roster_id}

Usage

sportpress_player_career(roster_id)

Arguments

roster_id

(required) Roster id (integer): one player on one team in one season; from the roster frames.

Value

A hoopR_data tibble: Season-by-season per-game averages of the player of a roster entry. An empty valid answer raises hoopR_no_data; the columns are always these, in this order (sportsdataverse-py sportpress_player_career):

col_nametypedescription
roster_idintegerRoster id the career was asked for; the rows are the person's seasons, each with its own roster.
competition_idintegerCompetition id of the season row.
seasonintegerSeason END year of the row.
competition_namecharacterCompetition name of the season row.
competition_team_idintegerCompetition-team id (key space: sportpress competition teams): a team in ONE competition, so a club has a new id every season (Antwerp = 3 in 2021-22, 506 in 2025-26, 541 in 2026-27). uu_team_id is the stable club key.
teamcharacterTeam display name including the sponsor; varies with language and playoff suffixes: never join on it.
team_short_namecharacterThree-letter club code (ANT, MON, ...), stable across seasons in the samples.
club_idintegerCountry of the team (key space: sportpress clubs): 1 = Belgium, 2 = Netherlands. The provider calls the country a club.
club_namecharacterCountry name in English, Belgium or Netherlands.
positioncharacterPlaying position; null in every sample.
jerseycharacterShirt number as text; the box score sends it as an integer, so a zero-padded '00' is already lost there.
played_gamesintegerGames played in the season.
games_startedintegerGames started (a count, not a mean).
minutedoubleMinutes played; for a team total, the sum over its players (200 + 25 per overtime). Per-game mean over the games played (fractional).
fouldoublePersonal fouls committed. Per-game mean over the games played (fractional).
defensive_fouldoubleFouls DRAWN (suffered), despite the name: equals the opponent's foul count up to scorer corrections. Per-game mean over the games played (fractional).
dunk_madedoubleDunks made (a subset of the two-point field goals). Per-game mean over the games played (fractional).
dunk_alldoubleDunks attempted. Per-game mean over the games played (fractional).
dunk_percentdoubleDunk percentage 0-100; 0 when none were attempted. Per-game mean over the games played (fractional).
two_point_madedoubleTwo-point field goals made. Per-game mean over the games played (fractional).
two_point_alldoubleTwo-point field goals attempted. Per-game mean over the games played (fractional).
two_point_percentdoubleTwo-point percentage 0-100. Per-game mean over the games played (fractional).
three_point_madedoubleThree-point field goals made. Per-game mean over the games played (fractional).
three_point_alldoubleThree-point field goals attempted. Per-game mean over the games played (fractional).
three_point_percentdoubleThree-point percentage 0-100. Per-game mean over the games played (fractional).
throw_madedoubleAll field goals made, two- plus three-pointers (the provider calls them 'throw'). Per-game mean over the games played (fractional).
throw_alldoubleAll field goals attempted, two- plus three-pointers (the provider calls them 'throw'). Per-game mean over the games played (fractional).
throw_percentdoubleField-goal percentage 0-100. Per-game mean over the games played (fractional).
free_throw_madedoubleFree throws made. Per-game mean over the games played (fractional).
free_throw_alldoubleFree throws attempted. Per-game mean over the games played (fractional).
free_throw_percentdoubleFree-throw percentage 0-100. Per-game mean over the games played (fractional).
offensive_rebounddoubleOffensive rebounds. Per-game mean over the games played (fractional).
defensive_rebounddoubleDefensive rebounds. Per-game mean over the games played (fractional).
total_rebounddoubleTotal rebounds (offensive plus defensive). Per-game mean over the games played (fractional).
blockdoubleShots blocked by the player. Per-game mean over the games played (fractional).
block_againstdoubleOwn shots blocked by an opponent. Per-game mean over the games played (fractional).
turnoverdoubleTurnovers committed. Per-game mean over the games played (fractional).
stealdoubleSteals (balls taken from an opponent). Per-game mean over the games played (fractional).
assistdoubleAssists (passes leading directly to a made basket). Per-game mean over the games played (fractional).
pointsdoublePoints scored (2 x two-pointers + 3 x three-pointers + free throws). Per-game mean over the games played (fractional).
valuedoubleEfficiency rating (PIR with fouls drawn): points + rebounds + assists + steals + blocks + fouls drawn - missed field goals - missed free throws - turnovers. Per-game mean over the games played (fractional).

Details

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

 sportpress_player_career(roster_id = 11193)