Skip to contents

Team statistics of a competition in long form (names only: the bodies carry no ids).

Endpoint: GET https://embed-api.eui.connect.sportradar.com/v1/embed/{website_id}/statistics_competition_entities

Usage

atrium_competition_team_stats(website_id, competition_id, locale = NULL)

Arguments

website_id

(integer required): Site config id: which league site's widget this is (12 LNB France, 14 LNBP Mexico, 3 NBL1 Australia, 13 El Salvador, 22 Panama, 236 Austria, 326 Montenegro). Not a league id: one site serves several competitions.

competition_id

(character required): Competition UUID (competition_id in atrium_seasons()), e.g. "3f4064bb-51ad-11f0-aaaf-2923c944b404".

locale

(character optional): Locale of the labels, e.g. "en-EN" or "fr-FR". Omitted = the site's own language. Ids and codes never change.

Value

A hoopR_data tibble with one row per (table_key, entity_name, stat_key). Its columns are listed in return_columns (subset(return_columns, fn == "atrium_competition_team_stats")) 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 atrium_fixtures().

 atrium_competition_team_stats(
   website_id = 12, competition_id = "3f4064bb-51ad-11f0-aaaf-2923c944b404"
 )