Skip to contents

Get NBA draft teams from the CollegeBasketballData API.

Usage

cbbd_draft_teams()

Value

A hoopR_data tibble with one row per NBA team:

col_nametypesdescription
idintegerNBA team id.
source_idcharacterSource (ESPN) team id.
locationcharacterTeam location (city).
namecharacterTeam name.
display_namecharacterFull team display name.
abbreviationcharacterTeam abbreviation.

See also

Other CBD Draft Functions: cbbd_draft_picks(), cbbd_draft_positions()

Examples

# \donttest{
  try(cbbd_draft_teams())
#>  2026-06-09 22:48:19.966144: Invalid arguments or no draft teams available!
#>  Error: api.collegebasketballdata.com requires an API key.        See ?register_cbbd for details.
#> data frame with 0 columns and 0 rows
# }