Learn R Programming

wehoop (version 3.0.0)

wnba_scoreboard: Get WNBA Stats API Scoreboard

Description

Get WNBA Stats API Scoreboard

Get WNBA Stats API Scoreboard

Usage

wnba_scoreboard(
  league_id = "10",
  game_date = "2022-07-20",
  day_offset = 0,
  ...
)

Value

Return a named list of data frames: Available, EastConfStandingsByDay, GameHeader, LastMeeting, LineScore, SeriesStandings, WestConfStandingsByDay

GameHeader

Columns as documented in the shared wnba_boxscoresummaryv2_game_summary_schema table.

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_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.
FG_PCTcharacterField goal percentage (0-1).
FT_PCTcharacterFree throw percentage (0-1).
FG3_PCTcharacterThree-point field goal percentage (0-1).
ASTcharacterAssists.
REBcharacterTotal rebounds.
TOVcharacterTurnovers.

SeriesStandings

Columns as documented in the shared wnba_boxscoresummaryv2_season_series_schema table.

LastMeeting

Columns as documented in the shared wnba_boxscoresummaryv2_last_meeting_schema table.

EastConfStandingsByDay

Columns as documented in the shared wnba_scoreboard_east_conf_standings_by_day_schema table.

WestConfStandingsByDay

Columns as documented in the shared wnba_scoreboard_east_conf_standings_by_day_schema table.

Available

col_nametypesdescription
GAME_IDcharacterUnique game identifier.
PT_AVAILABLEcharacter

Arguments

league_id

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

game_date

Game Date, format: 2022/05/17

day_offset

Day Offset (integer 0,-1)

...

Additional arguments passed to an underlying function like httr.

Author

Saiem Gilani

Details

 wnba_scoreboard(league_id = '10', game_date = '2022-07-20')