Skip to contents

load_wnba_standings_manifest() returns the per-season manifest CSV (season, row_count, generated_at_utc, source_endpoint) for the standings release tag without downloading any season's full data.

Loads season-level WNBA standings scraped from ESPN. One row per team-season. Backed by the wehoop-wnba-data pipeline that reads raw JSONs from wehoop-wnba-raw and publishes parquet/rds artifacts to the espn_wnba_standings release tag.

Usage

load_wnba_standings_manifest()

load_wnba_standings(
  seasons = most_recent_wnba_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given WNBA seasons. (Min: 2002)

...

Additional arguments passed to an underlying function that writes the season data into a database.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the standings data table within the database

Value

Returns a wehoop_data tibble of team standings.

col_nametypesdescription
seasonintegerSeason identifier (4-digit year or 'YYYY-YY' string).
season_typeintegerSeason type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats).
team_idcharacterUnique team identifier.
team_slugcharacterURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
team_locationcharacterTeam city or location string.
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_abbreviationcharacterShort team abbreviation (e.g. 'LAS').
team_display_namecharacterFull team display name.
conference_idcharacterConference identifier.
conference_namecharacterFull conference name.
winsintegerTotal wins.
lossesintegerTotal losses.
win_percentnumericWin percent.
games_playedintegerGames played.
points_fornumericPoints for.
points_againstnumericPoints allowed.
point_differentialnumericPoint differential.
streakcharacterCurrent streak (e.g. 'W3' for three-game win streak).

Examples

# \donttest{
  try(load_wnba_standings(seasons = most_recent_wnba_season()))
#> ──────────────────────────────────────────────────────────────── wehoop 3.0.0 ──
#> # A tibble: 330 × 24
#>    season group_id group_name        group_abbreviation group_short_name team_id
#>     <int> <chr>    <chr>             <chr>              <chr>              <int>
#>  1   2026 1        Eastern Conferen… E                  NA                     9
#>  2   2026 1        Eastern Conferen… E                  NA                     9
#>  3   2026 1        Eastern Conferen… E                  NA                     9
#>  4   2026 1        Eastern Conferen… E                  NA                     9
#>  5   2026 1        Eastern Conferen… E                  NA                     9
#>  6   2026 1        Eastern Conferen… E                  NA                     9
#>  7   2026 1        Eastern Conferen… E                  NA                     9
#>  8   2026 1        Eastern Conferen… E                  NA                     9
#>  9   2026 1        Eastern Conferen… E                  NA                     9
#> 10   2026 1        Eastern Conferen… E                  NA                     9
#> # ℹ 320 more rows
#> # ℹ 18 more variables: team_uid <chr>, team_slug <chr>, team_location <chr>,
#> #   team_name <chr>, team_abbreviation <chr>, team_display_name <chr>,
#> #   team_short_display_name <chr>, team_color <chr>,
#> #   team_alternate_color <chr>, team_logo <chr>, stat_name <chr>,
#> #   stat_display_name <chr>, stat_short_display_name <chr>,
#> #   stat_description <chr>, stat_abbreviation <chr>, stat_type <chr>, …
# }