Skip to contents

Per-game averages of each player of a competition team.

Endpoint: GET https://bnxt.sportpress.info/api/v1/competition-team/player-averages/{competition_team_id}

Usage

sportpress_team_player_averages(competition_team_id)

Arguments

competition_team_id

(required) Competition-team id (integer): a team in ONE competition, so new every season (e.g. 541 = Antwerp in 2026-27); from sportpress_competition_teams().

Value

A hoopR_data tibble: Per-game averages of each player of a competition team. An empty valid answer raises hoopR_no_data; the columns are always these, in this order (sportsdataverse-py sportpress_team_player_averages):

col_nametypedescription
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.
roster_idintegerRoster id (key space: sportpress roster entries): one player on one competition team in one season, so a player has a new roster_id for every team and season. player_id is the person.
player_idintegerPlayer id (key space: sportpress persons): stable across seasons and teams, distinct from roster_id. Not a Genius or FIBA person id.
first_namecharacterGiven name of the player as entered in the CMS.
last_namecharacterFamily name of the player as entered in the CMS.
nationality_codecharacterNationality code in FIBA style (USA, BEL, NED): DIRTY, with lower-case variants, '/'-joined pairs (USA/BEL), the empty string and 'HOL'; normalise before joining.
birth_dateDateDate of birth as shown on the public player page; null when unknown.
played_gamesintegerGames the player 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_team_player_averages(competition_team_id = 541)