Loads season-level team statistics scraped from the WNBA
Stats API (leaguedashteamstats-style outputs). Backed by the
wehoop-wnba-stats-data pipeline that reads raw JSONs from
wehoop-wnba-stats-raw and publishes parquet/rds artifacts to the
wnba_stats_team_season_stats release tag.
load_wnba_stats_team_stats_manifest() returns the per-season
manifest CSV (season, row_count, generated_at_utc,
source_endpoint) for the WNBA Stats team season stats release tag
without downloading any season's full data.
Usage
load_wnba_stats_team_stats(
seasons = most_recent_wnba_stats_season(),
...,
dbConnection = NULL,
tablename = NULL
)
load_wnba_stats_team_stats_manifest()Arguments
- seasons
A vector of 4-digit years associated with given WNBA seasons. (Min: 1997)
- ...
Additional arguments passed to an underlying function that writes the season data into a database.
- dbConnection
A
DBIConnectionobject, as returned byDBI::dbConnect()- tablename
The name of the team season stats table within the database
Value
Returns a wehoop_data tibble of team season stats.
| col_name | types |
| season | integer |
| season_type | character |
| team_id | character |
| team_name | character |
| team_abbreviation | character |
| gp | integer |
| w | integer |
| l | integer |
| w_pct | numeric |
| min | numeric |
| fgm | numeric |
| fga | numeric |
| fg_pct | numeric |
| fg3m | numeric |
| fg3a | numeric |
| fg3_pct | numeric |
| ftm | numeric |
| fta | numeric |
| ft_pct | numeric |
| oreb | numeric |
| dreb | numeric |
| reb | numeric |
| ast | numeric |
| tov | numeric |
| stl | numeric |
| blk | numeric |
| pf | numeric |
| pts | numeric |
| plus_minus | numeric |
See also
Other WNBA Stats loader functions:
load_wnba_stats_coaches(),
load_wnba_stats_draft(),
load_wnba_stats_game_rosters(),
load_wnba_stats_lineups(),
load_wnba_stats_officials(),
load_wnba_stats_pbp(),
load_wnba_stats_player_game_logs(),
load_wnba_stats_player_stats(),
load_wnba_stats_rosters(),
load_wnba_stats_schedule(),
load_wnba_stats_shots(),
load_wnba_stats_standings()
Examples
# \donttest{
try(load_wnba_stats_team_stats(seasons = most_recent_wnba_stats_season()))
#> Warning: cannot open URL 'https://github.com/sportsdataverse/sportsdataverse-data/releases/download/wnba_stats_team_season_stats/team_season_stats_2026.rds': HTTP status was '404 Not Found'
#> Warning: Failed to readRDS from <https://github.com/sportsdataverse/sportsdataverse-data/releases/download/wnba_stats_team_season_stats/team_season_stats_2026.rds>
#> ──────────────────────────────────────────────────────────────── wehoop 3.0.0 ──
#> # A tibble: 0 × 0
# }
