Skip to contents

Get WNBA Stats API Game Rotation

Get WNBA Stats API Game Rotation

Usage

wnba_gamerotation(game_id, league_id = "10", rotation_stat = "PLAYER_PTS", ...)

Arguments

game_id

Game ID

league_id

League ID

rotation_stat

Rotation stat to provide details on: PLAYER_PTS, PT_DIFF, USG_PCT

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: AwayTeam, HomeTeam

AwayTeam

col_nametypes
GAME_IDcharacter
TEAM_IDcharacter
TEAM_CITYcharacter
TEAM_NAMEcharacter
PERSON_IDcharacter
PLAYER_FIRSTcharacter
PLAYER_LASTcharacter
IN_TIME_REALcharacter
OUT_TIME_REALcharacter
PLAYER_PTScharacter
PT_DIFFcharacter
USG_PCTcharacter

HomeTeam

col_nametypes
GAME_IDcharacter
TEAM_IDcharacter
TEAM_CITYcharacter
TEAM_NAMEcharacter
PERSON_IDcharacter
PLAYER_FIRSTcharacter
PLAYER_LASTcharacter
IN_TIME_REALcharacter
OUT_TIME_REALcharacter
PLAYER_PTScharacter
PT_DIFFcharacter
USG_PCTcharacter

Details

  wnba_gamerotation(game_id = "1022200034")

Author

Saiem Gilani