Skip to contents

Per-competition shortcuts over the Atrium embed API for LNBP (Mexico, with COPA VALUE and LNBP FEMENIL) (website_id = 14; men's and women's).

Thin bindings of the parameterised atrium_*() wrappers to this site, minted from the competition registry shared with sportsdataverse-py; the full surface stays on the atrium_*() wrappers.

Usage

lnbp_seasons(locale = NULL)
lnbp_schedule(season = NULL, season_id = NULL, competition_id = NULL, locale = NULL)
lnbp_standings(season = NULL, season_id = NULL, competition_id = NULL, locale = NULL)
lnbp_teams(season = NULL, season_id = NULL, competition_id = NULL, locale = NULL)
lnbp_player_box(fixture_id, locale = NULL)
lnbp_team_box(fixture_id, locale = NULL)
lnbp_pbp(fixture_id, locale = NULL)
lnbp_shots(fixture_id, locale = NULL)

Arguments

season

(integer optional): Season END year (season rule below). Omit season and season_id for the site's current season.

season_id

(character optional): Season UUID (season_id in the seasons listing); skips the END-year lookup.

competition_id

(character optional): Competition UUID (a site carries many: conferences, cups); needed when several share the season.

locale

(character optional): Label locale, e.g. "en-EN"; omitted = the site's own language.

fixture_id

(character required): Fixture UUID (fixture_id in the schedule).

Value

A hoopR_data tibble with the columns of the base wrapper of each function:

Details

Season rule: calendar year.

Errors and terms of use are those of atrium_fixtures(): unofficial use of the public widget endpoint, at least 1 s between requests (check the site's terms before you republish the data). The site also serves women's competitions (pass their competition_id).