Skip to contents

Every team record of an organisation: current, defunct, exhibition and development sides.

Endpoint: GET https://prod.rosetta.nbl.com.au/get/{org}/teams

Usage

nbl_rosetta_teams(org = "nbl", limit = NULL)

Arguments

org

(character default "nbl"): Organisation: nbl (men's NBL), wnbl (women's) or nbl1 (the second tier, men's and women's conferences). One of "nbl", "wnbl", "nbl1".

limit

(integer default NULL): Rows to return. Omitted = a page large enough for the whole list (a short page cut by Rosetta's path cache is refused).

Value

A hoopR_data tibble (one row per team record):

col_nametypedescription
orgcharacterOrganisation the row belongs to: nbl, wnbl or nbl1. From the row's competition, else from the request.
team_idcharacterDataCore team id (UUID v1); stable across seasons.
rosetta_team_idcharacterRosetta team id (UUID v4; v5 on NBL1); stable across seasons; accepted as {team_id}.
namecharacterTeam name as Rosetta spells it, e.g. Perth Wildcats.
team_codecharacterTeam code, e.g. PER (the {team_code} path value)
establishedcharacterYear the club was founded; often null.
head_coachcharacterHead coach; often null.
championshipscharacterChampionships won; often null.
websitecharacterClub website URL.
external_media_competitor_idcharacterTeam id on the media/OTT service; often null.
conferencecharacterNBL1 conference of the team (name); null for NBL and WNBL teams.
divisioncharacterNBL1 division of the team (name); null for NBL and WNBL teams.
venue_namecharacterName of the venue (arena), e.g. RAC Arena.
venue_addresscharacterUnobserved in samples (null in every capture); type and meaning unverified.
venue_statecharacterUnobserved in samples (null in every capture); type and meaning unverified.
venue_countrycharacterUnobserved in samples (null in every capture); type and meaning unverified.
venue_timezonecharacterIANA time zone of the venue, e.g. Australia/Sydney.
venue_latitudedoubleUnobserved in samples (null in every capture); type and meaning unverified.
venue_longitudedoubleUnobserved in samples (null in every capture); type and meaning unverified.
venue_capacityintegerUnobserved in samples (null in every capture); type and meaning unverified.
conference_namecharacterName of the NBL1 conference the team plays in (e.g. North, South); null outside NBL1.
division_namecharacterDivision name (NBL1 conference + gender)

Columns the body adds beyond these follow, in body order (sportsdataverse-py keeps them too).

Details

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

Examples

# \donttest{
  try(nbl_rosetta_teams(org = "nbl"))
#> ── NBL Rosetta teams from prod.rosetta.nbl.com.au ─────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:33:17 UTC
#> # A tibble: 86 × 22
#>    org   team_id          rosetta_team_id name  team_code established head_coach
#>    <chr> <chr>            <chr>           <chr> <chr>     <chr>       <chr>     
#>  1 nbl   bf0e988e-410c-1… 8d26bbf0-a2cf-… Adel… NA        NA          NA        
#>  2 nbl   bedd705b-410c-1… bbae77db-317d-… NZ B… NZL       2003        Gordon He…
#>  3 nbl   bfd26c1b-410c-1… b82a3f8a-b3d8-… Forr… NA        NA          NA        
#>  4 nbl   bf8c7fb4-410c-1… aa5dd82e-27f7-… St M… SMC       NA          NA        
#>  5 nbl   bee53184-410c-1… a898766e-bcf0-… Sout… STH       NA          NA        
#>  6 nbl   902cc282-5c76-1… a3a2db1e-315c-… Sunr… SSH       NA          NA        
#>  7 nbl   2bb351af-9a98-1… 9d3363a1-15d5-… Team… NA        NA          NA        
#>  8 nbl   c01759f4-410c-1… 9b904554-a3da-… Next… NG4       NA          NA        
#>  9 nbl   bfb698fa-410c-1… 9a4c1a5d-8eea-… Nago… NDD       NA          NA        
#> 10 nbl   c00b6850-410c-1… 9807b93f-8b98-… Next… NA        NA          NA        
#> # ℹ 76 more rows
#> # ℹ 15 more variables: championships <chr>, website <chr>,
#> #   external_media_competitor_id <chr>, conference <chr>, division <chr>,
#> #   venue_name <chr>, venue_address <chr>, venue_state <chr>,
#> #   venue_country <chr>, venue_timezone <chr>, venue_latitude <dbl>,
#> #   venue_longitude <dbl>, venue_capacity <int>, conference_name <chr>,
#> #   division_name <chr>
# }