wnba_gamerotation: *Get WNBA Stats API Game Rotation*

View source: R/wnba_stats_boxscore_v3.R

wnba_gamerotationR Documentation

Get WNBA Stats API Game Rotation

Description

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.

Details

  wnba_gamerotation(game_id = "1022200034")

Value

Returns a named list of data frames: AwayTeam, HomeTeam

AwayTeam

col_name types
GAME_ID character
TEAM_ID character
TEAM_CITY character
TEAM_NAME character
PERSON_ID character
PLAYER_FIRST character
PLAYER_LAST character
IN_TIME_REAL character
OUT_TIME_REAL character
PLAYER_PTS character
PT_DIFF character
USG_PCT character

HomeTeam

col_name types
GAME_ID character
TEAM_ID character
TEAM_CITY character
TEAM_NAME character
PERSON_ID character
PLAYER_FIRST character
PLAYER_LAST character
IN_TIME_REAL character
OUT_TIME_REAL character
PLAYER_PTS character
PT_DIFF character
USG_PCT character

Author(s)

Saiem Gilani

See Also

Other WNBA Boxscore Functions: wnba_boxscoreadvancedv2(), wnba_boxscorefourfactorsv2(), wnba_boxscoremiscv2(), wnba_boxscoreplayertrackv2(), wnba_boxscorescoringv2(), wnba_boxscoresummaryv2(), wnba_boxscoretraditionalv2(), wnba_boxscoreusagev2(), wnba_hustlestatsboxscore()

Other WNBA Lineup Functions: wnba_leaguedashlineups(), wnba_leaguelineupviz(), wnba_shotchartlineupdetail(), wnba_teamdashlineups()


wehoop documentation built on Nov. 26, 2023, 1:08 a.m.