Skip to contents

One player's advanced statistics in a game against his season and win/loss splits.

One row per statistic group and statistic, with the same value columns as acb_match_advanced_stats. player_id is the requested licence (the body names no player).

Endpoint: GET https://api2.acb.com/api/matchdata/AdvancedStats/player-advanced-stats

Usage

acb_player_advanced_stats(match_id, player_id)

Arguments

match_id

(required) ACB match id (integer), one global sequence for every competition: legacy ids (seasons up to 2019-20) sit below about 20000 (12559 = the 2005-06 final); ids from 2020-21 start around 100000 (105401 = Barca 89-86 Valencia Basket, Liga 2026-27 round 3). A whole number; a whole double is accepted.

player_id

(required) ACB licence number (integer): the person id everywhere (box score, play-by-play, shots, rosters). 20209407 = Edy Tavares, 20212243 = Olek Balcerowski. A whole number; a whole double is accepted.

Value

A hoopR_data tibble, one row per record described above; the columns are always these, in this order (sportsdataverse-py acb_player_advanced_stats):

col_nametypedescription
match_idintegerACB match id (one global sequence for every competition; legacy ids are below about 20000 up to 2019-20, ids from 2020-21 start around 100000). Taken from the request when the body does not name the game.
player_idintegerACB licence number: the person id everywhere (box score, play-by-play, shots, rosters, the player routes). Taken from the request when the body does not name the player.
groupcharacterStatistic group in snake_case (four_factors, game_rhythm, ball_handling, shooting, points, ratings, rebounds).
statcharacterStatistic in snake_case (efg_pct, ts_pct, ast_pct, usage-style ratios, pace ...).
match_valuedoubleThe statistic in this game (the API's partido).
season_valuedoubleThe player's value over the season (temporada).
win_valuedoubleThe player's value in his team's wins.
loss_valuedoubleThe player's value in his team's losses.
season_diffdoubleGame value minus season value (temporadaDiff).
win_diffdoubleGame value minus the wins value (winDiff).
loss_diffdoubleGame value minus the losses value (lossDiff).

Details

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

 acb_player_advanced_stats(match_id = 105401, player_id = 20212243)