Skip to contents

Distinct player nationality codes of a season (dirty: lower case, pairs, empty).

Endpoint: GET https://bnxt.sportpress.info/api/v1/roster/season-nationality-codes/{season}

Usage

sportpress_nationality_codes(season)

Arguments

season

(required) Season END year (2026 = 2025-26), the API's own key; no mapping is applied.

Value

A hoopR_data tibble: Distinct player nationality codes of a season (dirty: lower case, pairs, empty). An empty valid answer raises hoopR_no_data; the columns are always these, in this order (sportsdataverse-py sportpress_nationality_codes):

col_nametypedescription
seasonintegerSeason END year the codes were asked for.
nationality_codecharacterA distinct nationality code of the season's players, as served (dirty).

Details

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