Get ESPN NBA Team Detail
Get ESPN NBA Team Detail
Usage
espn_nba_team(team_id, season = most_recent_nba_season(), ...)Arguments
- team_id
ESPN team identifier (character or numeric).
- season
Season year (numeric, e.g. 2025). Defaults to the most recent NBA season.
- ...
Additional arguments; currently unused but retained for forward compatibility. Proxy configuration should use
options(hoopR.proxy = ...)– see?hoopRfor details.
Value
A named list of data frames: Info, Record, NextEvent,
StandingSummary, Coaches.
Info
| col_name | types | description |
| id | character | Id. |
| uid | character | ESPN UID string (universal identifier). |
| slug | character | URL-safe identifier. |
| abbreviation | character | Short abbreviation. |
| display_name | character | Display name. |
| short_display_name | character | Short display name. |
| name | character | Display name. |
| nickname | character | Team or athlete nickname. |
| location | character | Location. |
| color | character | Primary color (hex without leading '#'). |
| alternate_color | character | Alternate color (hex without leading '#'). |
| logo | character | Team or league logo URL. |
Record
| col_name | types | description |
| type | character | Record type / category. |
| summary | character | |
| stats | list |
NextEvent
| col_name | types | description |
| id | character | Id. |
| date | character | Date in YYYY-MM-DD format. |
| name | character | Display name. |
| short_name | character | Short display name. |
StandingSummary
| col_name | types | description |
| standing_summary | character |
Coaches
| col_name | types | description |
| id | character | Id. |
| first_name | character | Player's first name. |
| last_name | character | Player's last name. |
| experience | integer | Years of professional experience. |
See also
Other ESPN NBA Functions:
espn_nba_athlete_awards(),
espn_nba_athlete_career_stats(),
espn_nba_athlete_contract(),
espn_nba_athlete_contracts(),
espn_nba_athlete_eventlog(),
espn_nba_athlete_eventlog_v2(),
espn_nba_athlete_gamelog(),
espn_nba_athlete_info(),
espn_nba_athlete_overview(),
espn_nba_athlete_seasons(),
espn_nba_athlete_splits(),
espn_nba_athlete_statisticslog(),
espn_nba_athlete_stats(),
espn_nba_athletes_index(),
espn_nba_award(),
espn_nba_betting(),
espn_nba_calendar(),
espn_nba_coach(),
espn_nba_coach_season(),
espn_nba_coaches(),
espn_nba_conferences(),
espn_nba_draft(),
espn_nba_draft_athletes(),
espn_nba_draft_pick(),
espn_nba_draft_rounds(),
espn_nba_draft_status(),
espn_nba_event_broadcasts(),
espn_nba_event_odds(),
espn_nba_event_officials(),
espn_nba_event_powerindex(),
espn_nba_event_predictor(),
espn_nba_event_probabilities(),
espn_nba_event_propbets(),
espn_nba_event_situation(),
espn_nba_franchise(),
espn_nba_franchises(),
espn_nba_freeagents(),
espn_nba_futures(),
espn_nba_game_all(),
espn_nba_game_rosters(),
espn_nba_injuries(),
espn_nba_leaders(),
espn_nba_news(),
espn_nba_pbp(),
espn_nba_player_box(),
espn_nba_player_stats(),
espn_nba_powerindex(),
espn_nba_scoreboard(),
espn_nba_season_awards(),
espn_nba_season_group(),
espn_nba_season_group_children(),
espn_nba_season_group_teams(),
espn_nba_season_groups(),
espn_nba_season_info(),
espn_nba_season_leaders(),
espn_nba_season_ranking(),
espn_nba_season_rankings(),
espn_nba_season_type(),
espn_nba_season_types(),
espn_nba_season_week(),
espn_nba_season_weeks(),
espn_nba_seasons(),
espn_nba_standings(),
espn_nba_team_box(),
espn_nba_team_current_roster(),
espn_nba_team_depthchart(),
espn_nba_team_injuries(),
espn_nba_team_leaders(),
espn_nba_team_news(),
espn_nba_team_odds_records(),
espn_nba_team_record(),
espn_nba_team_roster(),
espn_nba_team_schedule(),
espn_nba_team_season_profile(),
espn_nba_team_season_roster(),
espn_nba_team_stats(),
espn_nba_teams(),
espn_nba_tournament(),
espn_nba_tournament_seasons(),
espn_nba_tournaments(),
espn_nba_transactions(),
espn_nba_venues(),
espn_nba_week_ranking(),
espn_nba_week_rankings(),
espn_nba_wp()
Examples
# \donttest{
espn_nba_team(team_id = "17", season = 2025)
#> $Info
#> ── ESPN NBA Team Info from ESPN.com ───────────────────────────── hoopR 3.1.0 ──
#> ℹ Data updated: 2026-05-19 01:34:12 UTC
#> # A tibble: 1 × 12
#> id uid slug abbreviation display_name short_display_name name location
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 17 s:40~… broo… BKN Brooklyn Ne… Nets Nets Brooklyn
#> # ℹ 4 more variables: color <chr>, alternate_color <chr>, logo <chr>,
#> # logo_dark <chr>
#>
#> $Record
#> ── ESPN NBA Team Record from ESPN.com ─────────────────────────── hoopR 3.1.0 ──
#> ℹ Data updated: 2026-05-19 01:34:12 UTC
#> # A tibble: 3 × 4
#> description type summary stats
#> <chr> <chr> <chr> <list>
#> 1 Overall Record total 20-62 <df [21 × 2]>
#> 2 Home Record home 12-29 <df [5 × 2]>
#> 3 Away Record road 8-33 <df [5 × 2]>
#>
#> $NextEvent
#> ── ESPN NBA Team Next Event from ESPN.com ─────────────────────── hoopR 3.1.0 ──
#> ℹ Data updated: 2026-05-19 01:34:12 UTC
#> # A tibble: 1 × 4
#> id date name short_name
#> <chr> <chr> <chr> <chr>
#> 1 401811047 2026-04-12T22:00Z Brooklyn Nets at Toronto Raptors BKN @ TOR
#>
#> $StandingSummary
#> ── ESPN NBA Team Standing Summary from ESPN.com ───────────────── hoopR 3.1.0 ──
#> ℹ Data updated: 2026-05-19 01:34:12 UTC
#> # A tibble: 1 × 1
#> standing_summary
#> <chr>
#> 1 5th in Atlantic Division
#>
#> $Coaches
#> data frame with 0 columns and 0 rows
#>
# }
