Skip to contents

Get WNBA Stats API Team Common Info

Get WNBA Stats API Team Common Info

Usage

wnba_teaminfocommon(
  league_id = "10",
  season = most_recent_wnba_season(),
  season_type = "Regular Season",
  team_id = "1611661328",
  ...
)

Arguments

league_id

League - default: '10'. Other options include '00': NBA, '20': G-League

season

Season - format 2020-21

season_type

Season Type - Regular Season, Playoffs, All-Star

team_id

Team ID

...

Additional arguments passed to an underlying function like httr.

Value

Return a named list of data frames: AvailableSeasons, TeamInfoCommon, TeamSeasonRanks

TeamInfoCommon

col_nametypes
TEAM_IDcharacter
SEASON_YEARcharacter
TEAM_CITYcharacter
TEAM_NAMEcharacter
TEAM_ABBREVIATIONcharacter
TEAM_CONFERENCEcharacter
TEAM_DIVISIONcharacter
TEAM_CODEcharacter
TEAM_SLUGcharacter
Wcharacter
Lcharacter
PCTcharacter
CONF_RANKcharacter
DIV_RANKcharacter
MIN_YEARcharacter
MAX_YEARcharacter

TeamSeasonRanks

col_nametypes
LEAGUE_IDcharacter
SEASON_IDcharacter
TEAM_IDcharacter
PTS_RANKcharacter
PTS_PGcharacter
REB_RANKcharacter
REB_PGcharacter
AST_RANKcharacter
AST_PGcharacter
OPP_PTS_RANKcharacter
OPP_PTS_PGcharacter

AvailableSeasons

col_nametypes
SEASON_IDcharacter

Details

  wnba_teaminfocommon(team_id = '1611661328')

Author

Saiem Gilani