Skip to contents

Score through a game, one row per scoring moment, with the margin.

One row per point on the lead chart: the period, the clock left, both scores and margin = home_score - away_score.

Endpoint: GET https://api2.acb.com/api/matchdata/Overview/lead-tracker

Usage

acb_lead_tracker(match_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.

Value

A hoopR_data tibble with one row per scoring moment. Its columns are listed in return_columns (subset(return_columns, fn == "acb_lead_tracker")) and in the searchable return columns article.

Details

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

 acb_lead_tracker(match_id = 105401)

See also

family_acb lists every function in this family.