Skip to contents

Get WNBA Stats API Player Next N Games

Get WNBA Stats API Player Next N Games

Usage

wnba_playernextngames(
  league_id = "10",
  number_of_games = 2147483647,
  player_id = "1628932",
  season = most_recent_wnba_season() - 1,
  season_type = "Regular Season",
  ...
)

Arguments

league_id

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

number_of_games

N in number of games

player_id

Player ID

season

Season - format 2020-21

season_type

Season Type - Regular Season, Playoffs, All-Star

...

Additional arguments passed to an underlying function like httr.

Value

Return a named list of data frames: NextNGames

NextNGames

col_nametypes
GAME_IDcharacter
GAME_DATEcharacter
HOME_TEAM_IDcharacter
VISITOR_TEAM_IDcharacter
HOME_TEAM_NAMEcharacter
VISITOR_TEAM_NAMEcharacter
HOME_TEAM_ABBREVIATIONcharacter
VISITOR_TEAM_ABBREVIATIONcharacter
HOME_TEAM_NICKNAMEcharacter
VISITOR_TEAM_NICKNAMEcharacter
GAME_TIMEcharacter
HOME_WLcharacter
VISITOR_WLcharacter

Details

  wnba_playernextngames(player_id = '1628932', season = most_recent_wnba_season() - 1)

Author

Saiem Gilani