View source: R/nba_dictionaries.R
| nba_team_dict | R Documentation |
A tidy team dictionary (id, abbreviation, name, conference, division, logo URL) derived from the stats.nba.com player index plus a static conference/division map.
nba_team_dict(season = year_to_season(most_recent_nba_season() - 1), ...)
season |
Season in |
... |
Additional arguments passed to |
A hoopR_data tibble with one row per team:
| col_name | types | description |
| team_id | character | Team id. |
| team_abbreviation | character | Team abbreviation. |
| team_city | character | Team city / region. |
| team_name | character | Team nickname. |
| team_full | character | Full team name. |
| conference | character | Conference (Eastern / Western). |
| division | character | Division. |
| logo_url | character | NBA CDN primary logo URL. |
Other NBA Dictionary Functions:
nba_player_dict(),
nba_player_headshot_url(),
nba_team_logo_url()
try(nba_team_dict())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.