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_nametypes
seasoninteger
season_typeinteger
team_idcharacter
team_slugcharacter
team_locationcharacter
team_namecharacter
team_abbreviationcharacter
team_display_namecharacter
conference_idcharacter
conference_namecharacter
winsinteger
lossesinteger
win_percentnumeric
games_playedinteger
points_fornumeric
points_againstnumeric
point_differentialnumeric
streakcharacter

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>, …
# }