View source: R/load_wnba_stats.R
| load_wnba_stats_leaguedash | R Documentation |
Loads one asset of the wnba_stats_leaguedash release tag –
the Python-scraped leaguedash* parameter cube that supersedes the old
R-scraped player / team / lineups / standings tags. The cube publishes
24 tables per season and is the full surface behind the compatibility
reshapes in load_wnba_stats_player_stats(),
load_wnba_stats_team_stats(), load_wnba_stats_lineups() and
load_wnba_stats_standings(); several tables (player_bio,
*_master, team_stats_fourfactors, the non-5-man and non-Base/Advanced
lineups_* measures) are reachable only through this function.
load_wnba_stats_leaguedash(
seasons = most_recent_wnba_stats_season(),
table = NULL,
...,
dbConnection = NULL,
tablename = NULL
)
seasons |
A vector of 4-digit years associated with given WNBA seasons.
Published coverage runs 1997 through the most recent season, with no
gaps. Pass |
table |
Name of the cube table to load. One of |
... |
Additional arguments passed to an underlying function that writes the season data into a database. |
dbConnection |
A |
tablename |
The name of the data table within the database |
Returns a wehoop_data tibble of the requested cube table, one
row per player-season, team-season or lineup-season depending on
table. Column sets differ per table; the *_master tables are wide
joins of every measure type for that entity.
Other WNBA Stats loader functions:
load_wnba_stats_rosters()
try(load_wnba_stats_leaguedash(seasons = most_recent_wnba_stats_season(),
table = "player_bio"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.