Learn R Programming

hoopR (version 3.1.0)

espn_mbb_team: Get ESPN Women's College Basketball Team Detail

Description

Era-correct team identity for a men's college basketball program in a specific season, plus the available $ref URLs for deeper resources (record, statistics, leaders, athletes/roster, coaches, college, etc.). Backed by the core-v2 endpoint sports.core.api.espn.com/v2/sports/basketball/leagues/mens-college-basketball/seasons/{season}/teams/{team_id}.

Historical depth goes back to 1939 at ESPN. Older seasons return fewer $ref keys; missing refs become NA.

Era-correct team identity for an NBA franchise in a specific season, plus the available $ref URLs for deeper resources (record, statistics, leaders, coaches, etc.). Backed by the core-v2 endpoint sports.core.api.espn.com/v2/sports/basketball/leagues/nba/seasons/{season}/teams/{team_id}.

Historical depth goes back to 1947 (NBA founding). Older seasons return fewer $ref keys; missing refs become NA.

Usage

espn_mbb_team(team_id, season = most_recent_mbb_season(), ...)

espn_mbb_team_roster(team_id, season = most_recent_mbb_season(), ...)

espn_mbb_team_leaders(team_id, season = most_recent_mbb_season(), ...)

espn_mbb_team_season_profile(team_id, season = most_recent_mbb_season(), ...)

espn_nba_team(team_id, season = most_recent_nba_season(), ...)

espn_nba_team_roster(team_id, season = most_recent_nba_season(), ...)

espn_nba_team_leaders(team_id, season = most_recent_nba_season(), ...)

espn_nba_team_season_profile(team_id, season = most_recent_nba_season(), ...)

Value

A named list of data frames: Info, Record, NextEvent, StandingSummary, Coaches.

Info

Columns as documented in the shared espn_mbb_team_info_schema table.

Record

col_nametypesdescription
typecharacterRecord type / category.
summarycharacter
statslist

NextEvent

col_nametypesdescription
idcharacterId.
datecharacterDate in YYYY-MM-DD format.
namecharacterDisplay name.
short_namecharacterShort display name.

StandingSummary

col_nametypesdescription
standing_summarycharacter

Coaches

col_nametypesdescription
idcharacterId.
first_namecharacterPlayer's first name.
last_namecharacterPlayer's last name.
experienceintegerYears of professional experience.

A single tibble with one row per athlete.

Columns as documented in the shared espn_mbb_team_roster_schema table.

A single long-format tibble (one row per category-rank-athlete).

Columns as documented in the shared espn_mbb_team_leaders_schema table.

A single-row tibble with team identity scalars and _ref URL columns. Selected columns:

col_nametypesdescription
idcharacterESPN team identifier.
guidcharacterStable cross-league team GUID.
uidcharacterESPN UID string.
slugcharacterURL-safe identifier.
locationcharacterSchool/program location (e.g. "Duke").
namecharacterTeam name (e.g. "Blue Devils").
nicknamecharacterCommon nickname (often same as location).
abbreviationcharacterShort abbreviation (e.g. "DUKE").
display_namecharacterFull display name.
short_display_namecharacterShort display name.
colorcharacterPrimary color (hex, no leading '#').
alternate_colorcharacterAlternate color (hex, no leading '#').
is_activelogicalWhether the team was active in this season.
seasonintegerSeason year.
logocharacterPrimary logo URL.
logo_darkcharacterDark-mode logo URL.
record_refcharacter$ref to team record resource.
statistics_refcharacter$ref to team statistics resource.
athletes_refcharacter$ref to team roster resource (college-only).
college_refcharacter$ref to college (institution) resource.
coaches_refcharacter$ref to team coaches resource.
franchise_refcharacter$ref to franchise resource.

A named list of data frames: Info, Record, NextEvent, StandingSummary, Coaches.

Info

Columns as documented in the shared espn_mbb_team_info_schema table.

Record

col_nametypesdescription
typecharacterRecord type / category.
summarycharacter
statslist

NextEvent

col_nametypesdescription
idcharacterId.
datecharacterDate in YYYY-MM-DD format.
namecharacterDisplay name.
short_namecharacterShort display name.

StandingSummary

col_nametypesdescription
standing_summarycharacter

Coaches

col_nametypesdescription
idcharacterId.
first_namecharacterPlayer's first name.
last_namecharacterPlayer's last name.
experienceintegerYears of professional experience.

A single tibble with one row per athlete.

Columns as documented in the shared espn_mbb_team_roster_schema table.

A single long-format tibble (one row per category-rank-athlete).

Columns as documented in the shared espn_mbb_team_leaders_schema table.

A single-row tibble with team identity scalars and _ref URL columns. Selected columns:

col_nametypesdescription
idcharacterESPN team identifier.
guidcharacterStable cross-league team GUID.
uidcharacterESPN UID string.
slugcharacterURL-safe identifier.
locationcharacterTeam city/region (e.g. "Los Angeles").
namecharacterTeam name (e.g. "Lakers").
abbreviationcharacterShort abbreviation (e.g. "LAL").
display_namecharacterFull display name.
short_display_namecharacterShort display name.
colorcharacterPrimary color (hex, no leading '#').
alternate_colorcharacterAlternate color (hex, no leading '#').
is_activelogicalWhether the team was active in this season.
seasonintegerSeason year.
logocharacterPrimary logo URL.
logo_darkcharacterDark-mode logo URL.
record_refcharacter$ref to team record resource (if present).
statistics_refcharacter$ref to team statistics resource (if present).
leaders_refcharacter$ref to team leaders resource (if present).
coaches_refcharacter$ref to team coaches resource (if present).
depth_charts_refcharacter$ref to depth chart resource (NBA-only).
events_refcharacter$ref to team events resource (if present).
transactions_refcharacter$ref to team transactions resource (if present).
franchise_refcharacter$ref to franchise resource.

Arguments

team_id

ESPN team identifier (character or numeric).

season

Season year (numeric, e.g. 2025). Defaults to the most recent MBB season.

...

Additional arguments; currently unused but retained for forward compatibility. Proxy configuration should use options(hoopR.proxy = ...) -- see ?hoopR for details.

Author

Saiem Gilani

See Also

Other ESPN MBB Functions: espn_mbb_athletes_index(), espn_mbb_award(), espn_mbb_calendar(), espn_mbb_coach(), espn_mbb_coach_record(), espn_mbb_coach_season(), espn_mbb_coaches(), espn_mbb_conferences(), espn_mbb_franchise(), espn_mbb_franchises(), espn_mbb_futures(), espn_mbb_game_all(), espn_mbb_game_odds(), espn_mbb_game_official_detail(), espn_mbb_game_play(), espn_mbb_game_play_personnel(), espn_mbb_game_player_box(), espn_mbb_game_probabilities(), espn_mbb_game_propbets(), espn_mbb_game_team_linescores(), espn_mbb_game_team_roster_entry(), espn_mbb_injuries(), espn_mbb_leaders(), espn_mbb_news(), espn_mbb_player_awards(), espn_mbb_player_career_stats(), espn_mbb_player_eventlog_v2(), espn_mbb_player_info(), espn_mbb_player_overview(), espn_mbb_player_seasons(), espn_mbb_player_stats(), espn_mbb_position(), espn_mbb_positions(), espn_mbb_powerindex(), espn_mbb_rankings(), espn_mbb_scoreboard(), espn_mbb_season_awards(), espn_mbb_season_group(), espn_mbb_season_groups(), espn_mbb_season_info(), espn_mbb_season_leaders(), espn_mbb_season_ranking(), espn_mbb_season_rankings(), espn_mbb_season_type(), espn_mbb_season_types(), espn_mbb_season_week(), espn_mbb_season_weeks(), espn_mbb_seasons(), espn_mbb_standings(), espn_mbb_team_current_roster(), espn_mbb_team_injuries(), espn_mbb_team_news(), espn_mbb_team_odds_records(), espn_mbb_team_record(), espn_mbb_team_record_detail(), espn_mbb_team_schedule(), espn_mbb_team_season_roster(), espn_mbb_team_season_statistics(), espn_mbb_team_stats(), espn_mbb_teams(), espn_mbb_tournament(), espn_mbb_tournament_season(), espn_mbb_tournament_seasons(), espn_mbb_tournaments(), espn_mbb_venues(), espn_mbb_week_ranking(), espn_mbb_week_rankings(), espn_mbb_wp()

Other ESPN NBA Functions: espn_mbb_athletes_index(), espn_mbb_award(), espn_mbb_calendar(), espn_mbb_coach(), espn_mbb_coach_record(), espn_mbb_coach_season(), espn_mbb_coaches(), espn_mbb_conferences(), espn_mbb_franchise(), espn_mbb_franchises(), espn_mbb_futures(), espn_mbb_game_all(), espn_mbb_game_odds(), espn_mbb_game_official_detail(), espn_mbb_game_play(), espn_mbb_game_play_personnel(), espn_mbb_game_player_box(), espn_mbb_game_probabilities(), espn_mbb_game_propbets(), espn_mbb_game_team_linescores(), espn_mbb_game_team_roster_entry(), espn_mbb_injuries(), espn_mbb_leaders(), espn_mbb_news(), espn_mbb_player_awards(), espn_mbb_player_career_stats(), espn_mbb_player_eventlog_v2(), espn_mbb_player_info(), espn_mbb_player_overview(), espn_mbb_player_seasons(), espn_mbb_player_stats(), espn_mbb_position(), espn_mbb_positions(), espn_mbb_powerindex(), espn_mbb_scoreboard(), espn_mbb_season_awards(), espn_mbb_season_group(), espn_mbb_season_groups(), espn_mbb_season_info(), espn_mbb_season_leaders(), espn_mbb_season_ranking(), espn_mbb_season_rankings(), espn_mbb_season_type(), espn_mbb_season_types(), espn_mbb_season_week(), espn_mbb_season_weeks(), espn_mbb_seasons(), espn_mbb_standings(), espn_mbb_team_current_roster(), espn_mbb_team_injuries(), espn_mbb_team_news(), espn_mbb_team_odds_records(), espn_mbb_team_record(), espn_mbb_team_record_detail(), espn_mbb_team_schedule(), espn_mbb_team_season_roster(), espn_mbb_team_season_statistics(), espn_mbb_team_stats(), espn_mbb_teams(), espn_mbb_tournament(), espn_mbb_tournament_season(), espn_mbb_tournament_seasons(), espn_mbb_tournaments(), espn_mbb_venues(), espn_mbb_week_ranking(), espn_mbb_week_rankings(), espn_mbb_wp(), espn_nba_draft_pick(), espn_nba_freeagents(), espn_nba_player_contracts(), espn_nba_team_depthchart(), espn_nba_transactions()

Examples

Run this code
# \donttest{
  espn_mbb_team(team_id = "150", season = 2025)
# }
# \donttest{
  espn_mbb_team_roster(team_id = "150", season = 2025)
# }
# \donttest{
  espn_mbb_team_leaders(team_id = "150", season = 2025)
# }
# \donttest{
  espn_mbb_team_season_profile(team_id = "150", season = 2025)
# }
# \donttest{
  espn_nba_team(team_id = "13", season = 2025)
# }
# \donttest{
  espn_nba_team_roster(team_id = "13", season = 2025)
# }
# \donttest{
  espn_nba_team_leaders(team_id = "13", season = 2025)
# }
# \donttest{
  espn_nba_team_season_profile(team_id = "13", season = 2025)
# }

Run the code above in your browser using DataLab