Skip to contents

Pre-match facts per team: standing, record, recent results.

One row per team (team_side home then away): standing is the league position, wins / losses the record before the game, last_results the recent results joined with '; ' (WIN / LOSS).

Endpoint: GET https://api2.acb.com/api/matchdata/Preview/quickfacts

Usage

acb_quickfacts(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, one row per record described above; the columns are always these, in this order (sportsdataverse-py acb_quickfacts):

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.
team_sidecharacterSide of the game the team played: home or away (the feed lists the home team first).
team_idintegerSeason-team entry id (new every season).
club_idintegerStable club id (2 = Barca, 9 = Real Madrid).
teamcharacterTeam name for the season.
team_abbrcharacterThree-letter team abbreviation.
edition_idintegerSeason id (START year - 1935).
seasonintegerSeason END year (edition_id + 1936).
standingintegerLeague position before the game.
winsintegerWins before the game.
lossesintegerLosses before the game (the API's currentLoses).
last_resultscharacterRecent results joined with '; ' (WIN / LOSS), in the order the API sends them.

Details

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

 acb_quickfacts(match_id = 105401)