Skip to contents

Get WNBA Stats API Player Profile V2

Get WNBA Stats API Player Profile V2

Usage

wnba_playerprofilev2(
  league_id = "10",
  per_mode = "Totals",
  player_id = "1628932",
  ...
)

Arguments

league_id

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

per_mode

Season - format 2020-21

player_id

Player ID

...

Additional arguments passed to an underlying function like httr.

Value

Return a named list of data frames: CareerHighs, CareerTotalsAllStarSeason, CareerTotalsCollegeSeason, CareerTotalsPostSeason, CareerTotalsPreseason, CareerTotalsRegularSeason, NextGame, SeasonHighs, SeasonRankingsPostSeason, SeasonRankingsRegularSeason, SeasonTotalsAllStarSeason, SeasonTotalsCollegeSeason, SeasonTotalsPostSeason, SeasonTotalsPreseason, SeasonTotalsRegularSeason

SeasonTotalsRegularSeason

Columns as documented in the shared wnba_playercareerstats_season_totals_schema table.

CareerTotalsRegularSeason

col_nametypesdescription
PLAYER_IDcharacterUnique player identifier.
LEAGUE_IDcharacterLeague identifier ('10' = WNBA).
TEAM_IDcharacterUnique team identifier.
GPcharacterGames played.
GScharacterGames started.
MINcharacterMinutes played.
FGMcharacterField goals made.
FGAcharacterField goal attempts.
FG_PCTcharacterField goal percentage (0-1).
FG3McharacterThree-point field goals made.
FG3AcharacterThree-point field goal attempts.
FG3_PCTcharacterThree-point field goal percentage (0-1).
FTMcharacterFree throws made.
FTAcharacterFree throw attempts.
FT_PCTcharacterFree throw percentage (0-1).
OREBcharacterOffensive rebounds.
DREBcharacterDefensive rebounds.
REBcharacterTotal rebounds.
ASTcharacterAssists.
STLcharacterSteals.
BLKcharacterBlocks.
TOVcharacterTurnovers.
PFcharacterPersonal fouls.
PTScharacterPoints scored.

SeasonTotalsPostSeason

Columns as documented in the shared wnba_playercareerstats_season_totals_schema table.

CareerTotalsPostSeason

Same columns as the CareerTotalsRegularSeason table above.

SeasonTotalsAllStarSeason

Columns as documented in the shared wnba_playercareerstats_season_totals_schema table.

CareerTotalsAllStarSeason

Same columns as the CareerTotalsRegularSeason table above.

SeasonTotalsCollegeSeason

CareerTotalsCollegeSeason

SeasonTotalsPreseason

Columns as documented in the shared wnba_playercareerstats_season_totals_schema table.

CareerTotalsPreseason

Same columns as the CareerTotalsRegularSeason table above.

SeasonRankingsRegularSeason

Columns as documented in the shared wnba_playercareerstats_season_rankings_schema table.

SeasonRankingsPostSeason

Columns as documented in the shared wnba_playercareerstats_season_rankings_schema table.

SeasonHighs

col_nametypesdescription
PLAYER_IDcharacterUnique player identifier.
GAME_IDcharacterUnique game identifier.
GAME_DATEcharacterGame date (YYYY-MM-DD).
VS_TEAM_IDcharacter
VS_TEAM_CITYcharacter
VS_TEAM_NAMEcharacter
VS_TEAM_ABBREVIATIONcharacter
STATcharacter
STAT_VALUEcharacterStat value.
STAT_ORDERcharacter
DATE_ESTcharacter

CareerHighs

Same columns as the SeasonHighs table above.

NextGame

col_nametypesdescription
GAME_IDcharacterUnique game identifier.
GAME_DATEcharacterGame date (YYYY-MM-DD).
GAME_TIMEcharacterGame start time.
LOCATIONcharacterFilter results by game location.
PLAYER_TEAM_IDcharacter
PLAYER_TEAM_CITYcharacter
PLAYER_TEAM_NICKNAMEcharacter
PLAYER_TEAM_ABBREVIATIONcharacter
VS_TEAM_IDcharacter
VS_TEAM_CITYcharacter
VS_TEAM_NICKNAMEcharacter
VS_TEAM_ABBREVIATIONcharacter

Details

  wnba_playerprofilev2(player_id = '1628932')

Author

Saiem Gilani