View source: R/wnba_stats_player.R
| wnba_playergamelog | R Documentation |
Get WNBA Stats API Player Game Log
Get WNBA Stats API Player Game Log
wnba_playergamelog(
date_from = "",
date_to = "",
league_id = "10",
player_id = "1628932",
season = most_recent_wnba_season() - 1,
season_type = "Regular Season",
...
)
date_from |
date_from |
date_to |
date_to |
league_id |
League - default: '00'. Other options include '10': WWNBA, '20': G-League |
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. |
wnba_playergamelog(player_id = '1628932')
Return a named list of data frames: PlayerGameLog
PlayerGameLog
| col_name | types | description |
| SEASON_ID | character | Unique season identifier. |
| Player_ID | character | Unique player identifier. |
| Game_ID | character | Unique game identifier. |
| GAME_DATE | character | Game date (YYYY-MM-DD). |
| MATCHUP | character | Matchup. |
| WL | character | |
| MIN | character | Minutes played. |
| FGM | character | Field goals made. |
| FGA | character | Field goal attempts. |
| FG_PCT | character | Field goal percentage (0-1). |
| FG3M | character | Three-point field goals made. |
| FG3A | character | Three-point field goal attempts. |
| FG3_PCT | character | Three-point field goal percentage (0-1). |
| FTM | character | Free throws made. |
| FTA | character | Free throw attempts. |
| FT_PCT | character | Free throw percentage (0-1). |
| OREB | character | Offensive rebounds. |
| DREB | character | Defensive rebounds. |
| REB | character | Total rebounds. |
| AST | character | Assists. |
| STL | character | Steals. |
| BLK | character | Blocks. |
| TOV | character | Turnovers. |
| PF | character | Personal fouls. |
| PTS | character | Points scored. |
| PLUS_MINUS | character | Plus/minus point differential while on court. |
| VIDEO_AVAILABLE | character | Video available. |
Saiem Gilani
Other WNBA Player Functions:
wnba_infographicfanduelplayer(),
wnba_leaguedashplayerbiostats(),
wnba_leaguedashplayerclutch(),
wnba_leaguedashplayershotlocations(),
wnba_leaguedashplayerstats(),
wnba_leagueplayerondetails(),
wnba_leagueseasonmatchups(),
wnba_playerawards(),
wnba_playercareerbycollege(),
wnba_playercareerbycollegerollup(),
wnba_playercareerstats(),
wnba_playercompare(),
wnba_playerdashboardbyclutch(),
wnba_playerestimatedmetrics(),
wnba_playerfantasyprofile(),
wnba_playerfantasyprofilebargraph(),
wnba_playergamelogs(),
wnba_playergamestreakfinder(),
wnba_playerheadshot(),
wnba_playerindex(),
wnba_playernextngames(),
wnba_playerprofilev2(),
wnba_playervsplayer()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.