Skip to contents

Every franchise identity, past and present (15 team ids; a relocated franchise has a second id).

Endpoint: GET https://api.data.cebl.ca/teams/

Usage

cebl_teams()

Value

A hoopR_data tibble: Every franchise identity, past and present (15 team ids; a relocated franchise has a second id). An empty valid answer raises hoopR_no_data; the columns are always these, in this order (sportsdataverse-py cebl_teams):

col_nametypedescription
team_idintegerCEBL team id (its own key space; not a Genius id). Joins /teams/ id, the games' home_team_id / away_team_id, team_id in player rows and the team_id / vs_team_id params. A relocated or renamed franchise has a second id: the Stats Hub groups 15+56 (Saskatchewan Rattlers, Saskatoon Mamba), 17+53 (Calgary Surge, Guelph Nighthawks), 19+55 (Brampton, Hamilton Honey Badgers) and 16+54 (Vancouver, Fraser Valley Bandits).
name_encharacterTeam full name in English ('Niagara River Lions').
short_name_encharacterTeam short name in English, usually the city ('Niagara').
name_frcharacterTeam full name in French ('River Lions de Niagara').
short_name_frcharacterTeam short name in French, usually the city.
is_activelogicalTrue for a team in the current league; false for a former identity (Guelph Nighthawks, Hamilton Honey Badgers, Fraser Valley Bandits, Saskatchewan Rattlers, Newfoundland Growlers).
logo_urlcharacterTeam logo URL (icon with the team name; upstream: 'Should include the icon and team name').
icon_urlcharacterTeam icon URL (upstream: 'Should not include the team name').

Details

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

Examples

# \donttest{
  try(cebl_teams())
#> ── CEBL Teams from the CEBL Stats API ─────────────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:28:01 UTC
#> # A tibble: 15 × 8
#>    team_id name_en        short_name_en name_fr short_name_fr is_active logo_url
#>      <int> <chr>          <chr>         <chr>   <chr>         <lgl>     <chr>   
#>  1      16 Vancouver Ban… Vancouver     Les Ba… Vancouver     TRUE      https:/…
#>  2      22 Scarborough S… Scarborough   Shooti… Scarborough   TRUE      https:/…
#>  3      23 Newfoundland … Newfoundland  Growle… Terre-Neuve   FALSE     https:/…
#>  4      14 Niagara River… Niagara       River … Niagara       TRUE      https:/…
#>  5      54 Fraser Valley… Fraser Valley Les Ba… Fraser Valley FALSE     https:/…
#>  6      18 Edmonton Stin… Edmonton      Stinge… Edmonton      TRUE      https:/…
#>  7      15 Saskatchewan … Saskatchewan  Rattle… Saskatchewan  FALSE     https:/…
#>  8      53 Guelph Nighth… Guelph        Les Ni… Guelph        FALSE     https:/…
#>  9      55 Hamilton Hone… Hamilton      Honey … Hamilton      FALSE     https:/…
#> 10      21 Montreal Alli… Montreal      Allian… Montréal      TRUE      https:/…
#> 11      20 Ottawa BlackJ… Ottawa        BlackJ… Ottawa        TRUE      https:/…
#> 12      17 Calgary Surge  Calgary       Surge … Calgary       TRUE      https:/…
#> 13      19 Brampton Hone… Brampton      Honey … Brampton      TRUE      https:/…
#> 14      56 Saskatoon Mam… Saskatoon     Saskat… Saskatoon     TRUE      https:/…
#> 15      24 Winnipeg Sea … Winnipeg      Sea Be… Winnipeg      TRUE      https:/…
#> # ℹ 1 more variable: icon_url <chr>
# }