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 description
GAME_ID character Unique game identifier.
TEAM_ID character Unique team identifier.
TEAM_CITY character Team city or region (e.g. 'Las Vegas').
TEAM_NAME character Full team display name (e.g. 'Las Vegas Aces').
PERSON_ID character Unique player identifier (V3 endpoints).
PLAYER_FIRST character
PLAYER_LAST character
IN_TIME_REAL character
OUT_TIME_REAL character
PLAYER_PTS character
PT_DIFF character
USG_PCT character Usage percentage (0-1).

HomeTeam

Same columns as the AwayTeam table above.

Author(s)

Saiem Gilani

See Also

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

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


wehoop documentation built on Aug. 25, 2026, 1:06 a.m.