Skip to contents

Get WNBA Stats API Boxscore Summary V2 and Boxscore Player Tracking V2

wnba_hustlestatsboxscore() is defunct since wehoop 3.0.0: the WNBA Stats endpoint no longer returns data, so it raises an error. It stays exported for now and will be removed in a future release (no earlier than 3.2.0).

Usage

wnba_boxscoresummaryv2(game_id, ...)

wnba_boxscoreplayertrackv2(game_id, ...)

wnba_hustlestatsboxscore(game_id, ...)

Arguments

game_id

Game ID

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: AvailableVideo, GameInfo, GameSummary, InactivePlayers, LastMeeting, LineScore, Officials, OtherStats, SeasonSeries

GameSummary

Columns as documented in the shared wnba_boxscoresummaryv2_game_summary_schema table.

OtherStats

col_nametypesdescription
LEAGUE_IDcharacterLeague identifier ('10' = WNBA).
TEAM_IDcharacterUnique team identifier.
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
TEAM_CITYcharacterTeam city or region (e.g. 'Las Vegas').
PTS_PAINTcharacterPoints scored in the paint.
PTS_2ND_CHANCEcharacter
PTS_FBcharacter
LARGEST_LEADcharacterLargest lead during the game.
LEAD_CHANGEScharacterLead changes.
TIMES_TIEDcharacterTimes tied.
TEAM_TURNOVERScharacterTeam turnovers (turnovers credited to the team rather than a player).
TOTAL_TURNOVERScharacterTotal turnovers (player + team).
TEAM_REBOUNDScharacterTeam rebounds (rebounds credited to the team rather than a player).
PTS_OFF_TOcharacter

Officials

col_nametypesdescription
OFFICIAL_IDcharacterUnique official / referee identifier.
FIRST_NAMEcharacterPlayer's first name.
LAST_NAMEcharacterPlayer's last name.
JERSEY_NUMcharacterJersey number worn by the player.

InactivePlayers

col_nametypesdescription
PLAYER_IDcharacterUnique player identifier.
FIRST_NAMEcharacterPlayer's first name.
LAST_NAMEcharacterPlayer's last name.
JERSEY_NUMcharacterJersey number worn by the player.
TEAM_IDcharacterUnique team identifier.
TEAM_CITYcharacterTeam city or region (e.g. 'Las Vegas').
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').

GameInfo

col_nametypesdescription
GAME_DATEcharacterGame date (YYYY-MM-DD).
ATTENDANCEcharacterReported attendance.
GAME_TIMEcharacterGame start time.

LineScore

col_nametypesdescription
GAME_DATE_ESTcharacterGame date est.
GAME_SEQUENCEcharacterGame sequence.
GAME_IDcharacterUnique game identifier.
TEAM_IDcharacterUnique team identifier.
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
TEAM_CITY_NAMEcharacterTeam city name.
TEAM_NICKNAMEcharacterTeam nickname.
TEAM_WINS_LOSSEScharacterTeam wins losses.
PTS_QTR1characterPts qtr1.
PTS_QTR2characterPts qtr2.
PTS_QTR3characterPts qtr3.
PTS_QTR4characterPts qtr4.
PTS_OT1characterPts ot1.
PTS_OT2character
PTS_OT3character
PTS_OT4character
PTS_OT5character
PTS_OT6character
PTS_OT7character
PTS_OT8character
PTS_OT9character
PTS_OT10character
PTScharacterPoints scored.

LastMeeting

Columns as documented in the shared wnba_boxscoresummaryv2_last_meeting_schema table.

SeasonSeries

Columns as documented in the shared wnba_boxscoresummaryv2_season_series_schema table.

AvailableVideo

col_nametypesdescription
GAME_IDcharacterUnique game identifier.
VIDEO_AVAILABLE_FLAGcharacterVideo available flag.
PT_AVAILABLEcharacter
PT_XYZ_AVAILABLEcharacter
WH_STATUScharacterWh status.
HUSTLE_STATUScharacter
HISTORICAL_STATUScharacter

Returns a named list of data frames: PlayerStats, TeamStats

PlayerStats

col_nametypesdescription
GAME_IDcharacterUnique game identifier.
TEAM_IDcharacterUnique team identifier.
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
TEAM_CITYcharacterTeam city or region (e.g. 'Las Vegas').
PLAYER_IDcharacterUnique player identifier.
PLAYER_NAMEcharacterPlayer name.
START_POSITIONcharacter
COMMENTcharacterPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
MINcharacterMinutes played.
SPDcharacter
DISTcharacter
ORBCcharacter
DRBCcharacter
RBCcharacter
TCHScharacter
SASTcharacter
FTASTcharacter
PASScharacter
ASTcharacterAssists.
CFGMcharacter
CFGAcharacter
CFG_PCTcharacter
UFGMcharacter
UFGAcharacter
UFG_PCTcharacter
FG_PCTcharacterField goal percentage (0-1).
DFGMcharacter
DFGAcharacter
DFG_PCTcharacter

TeamStats

col_nametypesdescription
GAME_IDcharacterUnique game identifier.
TEAM_IDcharacterUnique team identifier.
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
TEAM_CITYcharacterTeam city or region (e.g. 'Las Vegas').
MINcharacterMinutes played.
DISTcharacter
ORBCcharacter
DRBCcharacter
RBCcharacter
TCHScharacter
SASTcharacter
FTASTcharacter
PASScharacter
ASTcharacterAssists.
CFGMcharacter
CFGAcharacter
CFG_PCTcharacter
UFGMcharacter
UFGAcharacter
UFG_PCTcharacter
FG_PCTcharacterField goal percentage (0-1).
DFGMcharacter
DFGAcharacter
DFG_PCTcharacter

Returns a named list of data frames: HustleStatsAvailable, PlayerStats, TeamStats

HustleStatsAvailable

col_nametypesdescription
GAME_IDcharacterUnique game identifier.
HUSTLE_STATUScharacter

PlayerStats

col_nametypesdescription
GAME_IDcharacterUnique game identifier.
TEAM_IDcharacterUnique team identifier.
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
TEAM_CITYcharacterTeam city or region (e.g. 'Las Vegas').
PLAYER_IDcharacterUnique player identifier.
PLAYER_NAMEcharacterPlayer name.
START_POSITIONcharacter
COMMENTcharacterPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
MINUTEScharacterMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
PTScharacterPoints scored.
CONTESTED_SHOTScharacterDefensively contested shots.
CONTESTED_SHOTS_2PTcharacterContested two-point shots.
CONTESTED_SHOTS_3PTcharacterContested three-point shots.
DEFLECTIONScharacterDefensive deflections.
CHARGES_DRAWNcharacterCharges drawn.
SCREEN_ASSISTScharacterScreen assists (resulting in a basket).
SCREEN_AST_PTScharacter
OFF_LOOSE_BALLS_RECOVEREDcharacter
DEF_LOOSE_BALLS_RECOVEREDcharacter
LOOSE_BALLS_RECOVEREDcharacterLoose balls recovered.
OFF_BOXOUTScharacter
DEF_BOXOUTScharacter
BOX_OUT_PLAYER_TEAM_REBScharacter
BOX_OUT_PLAYER_REBScharacter
BOX_OUTScharacterBox-outs executed.

TeamStats

col_nametypesdescription
GAME_IDcharacterUnique game identifier.
TEAM_IDcharacterUnique team identifier.
TEAM_NAMEcharacterFull team display name (e.g. 'Las Vegas Aces').
TEAM_ABBREVIATIONcharacterShort team abbreviation (e.g. 'LAS').
TEAM_CITYcharacterTeam city or region (e.g. 'Las Vegas').
MINUTEScharacterMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
PTScharacterPoints scored.
CONTESTED_SHOTScharacterDefensively contested shots.
CONTESTED_SHOTS_2PTcharacterContested two-point shots.
CONTESTED_SHOTS_3PTcharacterContested three-point shots.
DEFLECTIONScharacterDefensive deflections.
CHARGES_DRAWNcharacterCharges drawn.
SCREEN_ASSISTScharacterScreen assists (resulting in a basket).
SCREEN_AST_PTScharacter
OFF_LOOSE_BALLS_RECOVEREDcharacter
DEF_LOOSE_BALLS_RECOVEREDcharacter
LOOSE_BALLS_RECOVEREDcharacterLoose balls recovered.
OFF_BOXOUTScharacter
DEF_BOXOUTScharacter
BOX_OUT_PLAYER_TEAM_REBScharacter
BOX_OUT_PLAYER_REBScharacter
BOX_OUTScharacterBox-outs executed.

Details

  wnba_boxscoresummaryv2(game_id = "1022200034")

  wnba_boxscoreplayertrackv2(game_id = "1022200034")

  wnba_hustlestatsboxscore(game_id = "1022200034")

See also

Other WNBA Boxscore Functions: wnba_boxscoretraditionalv2(), wnba_gamerotation()

Other WNBA Hustle Functions: wnba_leaguehustlestatsplayer()

Author

Saiem Gilani