Learn R Programming

wehoop (version 3.0.0)

espn_wnba_team: Get ESPN WNBA Team Detail

Description

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

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

Usage

espn_wnba_team(team_id, season = most_recent_wnba_season(), ...)

espn_wnba_team_roster(team_id, season = most_recent_wnba_season(), ...)

espn_wnba_team_leaders(team_id, season = most_recent_wnba_season(), ...)

espn_wnba_team_season_profile(team_id, season = most_recent_wnba_season(), ...)

Value

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

Info

Columns as documented in the shared espn_basketball_team_info_schema table.

Record

col_nametypesdescription
typecharacterRecord type / category.
summarycharacterSummary.
statslistStats.

NextEvent

Columns as documented in the shared espn_basketball_player_overview_next_game_schema table.

StandingSummary

col_nametypesdescription
standing_summarycharacterStanding summary.

Coaches

col_nametypesdescription
idcharacterUnique play identifcation number
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_basketball_team_roster_schema table.

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

Columns as documented in the shared espn_basketball_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. "Indiana").
namecharacterTeam name (e.g. "Fever").
abbreviationcharacterShort abbreviation (e.g. "IND").
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.
leaders_refcharacter$ref to team leaders resource.
coaches_refcharacter$ref to team coaches resource.
transactions_refcharacter$ref to team transactions resource.
franchise_refcharacter$ref to franchise resource.

Arguments

team_id

ESPN team identifier (character or numeric).

season

Season year (numeric). Defaults to the most recent WNBA season.

...

Additional arguments; currently unused.

Author

Saiem Gilani

See Also

Other ESPN WNBA Functions: espn_wnba_athletes_index(), espn_wnba_award(), espn_wnba_calendar(), espn_wnba_coach_season(), espn_wnba_coaches(), espn_wnba_conferences(), espn_wnba_draft(), espn_wnba_draft_athlete_detail(), espn_wnba_draft_pick(), espn_wnba_draft_rounds(), espn_wnba_franchise(), espn_wnba_franchises(), espn_wnba_freeagents(), espn_wnba_futures(), espn_wnba_game_all(), espn_wnba_game_odds(), espn_wnba_game_official_detail(), espn_wnba_game_play(), espn_wnba_game_play_personnel(), espn_wnba_game_player_box(), espn_wnba_game_probabilities(), espn_wnba_game_propbets(), espn_wnba_game_team_linescores(), espn_wnba_game_team_roster_entry(), espn_wnba_injuries(), espn_wnba_leaders(), espn_wnba_news(), espn_wnba_player_awards(), espn_wnba_player_career_stats(), espn_wnba_player_eventlog_v2(), espn_wnba_player_info(), espn_wnba_player_overview(), espn_wnba_player_seasons(), espn_wnba_player_stats(), espn_wnba_position(), espn_wnba_positions(), espn_wnba_powerindex(), espn_wnba_scoreboard(), espn_wnba_season_awards(), espn_wnba_season_group(), espn_wnba_season_groups(), espn_wnba_season_info(), espn_wnba_season_leaders(), espn_wnba_season_ranking(), espn_wnba_season_rankings(), espn_wnba_season_type(), espn_wnba_season_types(), espn_wnba_season_week(), espn_wnba_season_weeks(), espn_wnba_seasons(), espn_wnba_standings(), espn_wnba_team_injuries(), espn_wnba_team_news(), espn_wnba_team_record(), espn_wnba_team_record_detail(), espn_wnba_team_schedule(), espn_wnba_team_season_roster(), espn_wnba_team_season_statistics(), espn_wnba_team_stats(), espn_wnba_teams(), espn_wnba_transactions(), espn_wnba_venues(), espn_wnba_week_ranking(), espn_wnba_week_rankings()

Examples

Run this code
# \donttest{
  espn_wnba_team(team_id = "17", season = 2025)
# }
# \donttest{
  espn_wnba_team_roster(team_id = "17", season = 2025)
# }
# \donttest{
  espn_wnba_team_leaders(team_id = "17", season = 2025)
# }
# \donttest{
  espn_wnba_team_season_profile(team_id = "17", season = 2025)
# }

Run the code above in your browser using DataLab