Team season statistics in long form (one row per team, table and statistic).
Endpoint: GET https://embed-api.eui.connect.sportradar.com/v1/embed/{website_id}/statistics_entities
Usage
atrium_team_stats(
website_id,
season = NULL,
season_id = NULL,
competition_id = NULL,
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.
- season
(integer optional): Season END year (2026 = 2025-26 on LNB, site 12, whose own year is the START year; the calendar year on the other sites). Needs
competition_idwhen several competitions share that year (seeatrium_seasons()). Omitseasonandseason_idfor the site's default season.- season_id
(character optional): Season UUID (
season_idinatrium_seasons()); sent as is, skipping the END-year lookup ofseason.- competition_id
(character optional): Competition UUID (
competition_idinatrium_seasons()). Picks the season together withseason, and is then not sent; with neitherseasonnorseason_idthe API filters by it.- 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_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().
See also
Other Atrium Functions:
atrium_box_score(),
atrium_competition_player_stats(),
atrium_competition_team_stats(),
atrium_end_year(),
atrium_fixture(),
atrium_fixture_periods(),
atrium_fixtures(),
atrium_fixtures_ribbon(),
atrium_leaders(),
atrium_pbp(),
atrium_player(),
atrium_player_game_log(),
atrium_player_seasons(),
atrium_player_stats(),
atrium_players(),
atrium_season_id(),
atrium_seasons(),
atrium_shots(),
atrium_standings(),
atrium_standings_summary(),
atrium_team(),
atrium_team_box_score(),
atrium_teams(),
lmb_competition,
lnb_competition,
lnbp_competition,
lpb_competition,
nbl1_competition
Examples
# \donttest{
try(atrium_team_stats(
website_id = 12, season = 2026, competition_id = "3f4064bb-51ad-11f0-aaaf-2923c944b404"
))
#> ── Atrium team stats from embed-api.eui.connect.sportradar.com ── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-11-13 21:10:45 UTC
#> # A tibble: 400 × 13
#> website_id season_id table_key table_label person_id person_name entity_id
#> <int> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 12 df310a05-51… averages Moyennes NA NA 238ad480…
#> 2 12 df310a05-51… averages Moyennes NA NA 238ad480…
#> 3 12 df310a05-51… averages Moyennes NA NA 238ad480…
#> 4 12 df310a05-51… averages Moyennes NA NA 238ad480…
#> 5 12 df310a05-51… averages Moyennes NA NA 238ad480…
#> 6 12 df310a05-51… averages Moyennes NA NA 238ad480…
#> 7 12 df310a05-51… averages Moyennes NA NA 238ad480…
#> 8 12 df310a05-51… averages Moyennes NA NA 238ad480…
#> 9 12 df310a05-51… averages Moyennes NA NA 238ad480…
#> 10 12 df310a05-51… averages Moyennes NA NA 25bcb29d…
#> # ℹ 390 more rows
#> # ℹ 6 more variables: entity_name <chr>, stat_key <chr>, stat_name <chr>,
#> # stat_label <chr>, value <dbl>, value_text <chr>
# }
