Skip to contents

Build a wide, one-row-per-team-per-season crosswalk linking ESPN, the WNBA Stats API, and Fox Sports team identities, keyed on espn_team_id. Yahoo columns are placeholders (NA) until that source is implemented.

Usage

wnba_team_crosswalk(season = most_recent_wnba_season(), .schedule = NULL)

Arguments

season

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

.schedule

Internal. An already-fetched wnba_schedule() frame, supplied by wnba_schedule_crosswalk() to avoid a duplicate CDN request. Leave NULL.

Value

A wehoop_data tibble, one row per team:

col_nametypesdescription
seasonintegerSeason year.
espn_team_idintegerESPN team id (canonical key).
espn_abbreviationcharacterESPN abbreviation.
espn_display_namecharacterESPN display name.
espn_short_namecharacterESPN short name.
espn_locationcharacterESPN team location.
espn_mascotcharacterESPN team mascot/nickname.
wnba_team_idcharacterWNBA Stats team id.
wnba_team_tricodecharacterWNBA Stats tricode.
wnba_team_namecharacterWNBA Stats team name.
wnba_team_citycharacterWNBA Stats team city.
wnba_team_slugcharacterWNBA Stats team slug.
fox_team_idcharacterFox Bifrost team id.
fox_team_namecharacterFox team name.
yahoo_team_idcharacterYahoo team id (NA placeholder).
yahoo_team_abbreviationcharacterYahoo abbreviation (NA placeholder).
yahoo_team_namecharacterYahoo team name (NA placeholder).
match_methodcharacterHow the row was matched.
match_confidencenumericMatch confidence (1 for deterministic).

Examples

# \donttest{
  try(wnba_team_crosswalk(season = 2024))
#>  WNBA CDN schedule is for season 2026, not 2024. For historical seasons use `load_wnba_schedule(seasons = 2024)`.
#> ── WNBA team crosswalk (ESPN / WNBA Stats / Fox) ─────────────── wehoop 3.0.0 ──
#>  Data updated: 2026-06-12 15:14:27 UTC
#> # A tibble: 15 × 19
#>    season espn_team_id espn_abbreviation espn_display_name      espn_short_name
#>     <int>        <int> <chr>             <chr>                  <chr>          
#>  1   2024           20 ATL               Atlanta Dream          Dream          
#>  2   2024           19 CHI               Chicago Sky            Sky            
#>  3   2024           18 CON               Connecticut Sun        Sun            
#>  4   2024            3 DAL               Dallas Wings           Wings          
#>  5   2024       129689 GS                Golden State Valkyries Valkyries      
#>  6   2024            5 IND               Indiana Fever          Fever          
#>  7   2024           17 LV                Las Vegas Aces         Aces           
#>  8   2024            6 LA                Los Angeles Sparks     Sparks         
#>  9   2024            8 MIN               Minnesota Lynx         Lynx           
#> 10   2024            9 NY                New York Liberty       Liberty        
#> 11   2024           11 PHX               Phoenix Mercury        Mercury        
#> 12   2024       132052 POR               Portland Fire          Fire           
#> 13   2024           14 SEA               Seattle Storm          Storm          
#> 14   2024       131935 TOR               Toronto Tempo          Tempo          
#> 15   2024           16 WSH               Washington Mystics     Mystics        
#> # ℹ 14 more variables: espn_location <chr>, espn_mascot <chr>,
#> #   wnba_team_id <chr>, wnba_team_tricode <chr>, wnba_team_name <chr>,
#> #   wnba_team_city <chr>, wnba_team_slug <chr>, fox_team_id <chr>,
#> #   fox_team_name <chr>, yahoo_team_id <chr>, yahoo_team_abbreviation <chr>,
#> #   yahoo_team_name <chr>, match_method <chr>, match_confidence <dbl>
# }