Get ESPN NBA team names and ids

espn_nba_teams()

Value

A teams data frame

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_nba_teams())
#> # A tibble: 30 × 12
#>    team_id team         mascot    abbreviation display_name     short_name color
#>    <chr>   <chr>        <chr>     <chr>        <chr>            <chr>      <chr>
#>  1 1       Atlanta      Hawks     ATL          Atlanta Hawks    Hawks      002B…
#>  2 2       Boston       Celtics   BOS          Boston Celtics   Celtics    0065…
#>  3 17      Brooklyn     Nets      BKN          Brooklyn Nets    Nets       0000…
#>  4 30      Charlotte    Hornets   CHA          Charlotte Horne… Hornets    1D10…
#>  5 4       Chicago      Bulls     CHI          Chicago Bulls    Bulls      0000…
#>  6 5       Cleveland    Cavaliers CLE          Cleveland Caval… Cavaliers  0616…
#>  7 6       Dallas       Mavericks DAL          Dallas Mavericks Mavericks  0C47…
#>  8 7       Denver       Nuggets   DEN          Denver Nuggets   Nuggets    0860…
#>  9 8       Detroit      Pistons   DET          Detroit Pistons  Pistons    FA00…
#> 10 9       Golden State Warriors  GS           Golden State Wa… Warriors   003d…
#> # … with 20 more rows, and 5 more variables: alternate_color <chr>, logo <chr>,
#> #   logo_dark <chr>, logos_href_3 <chr>, logos_href_4 <chr>
# }