View source: R/wnba_stats_player.R
| wnba_playerfantasyprofilebargraph | R Documentation |
Get WNBA Stats API Player Fantasy Profile Bar Graph
Get WNBA Stats API Player Fantasy Profile Bar Graph
wnba_playerfantasyprofilebargraph(
league_id = "10",
player_id = "1628932",
season = most_recent_wnba_season() - 1,
season_type = "Regular Season",
...
)
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_playerfantasyprofilebargraph(player_id = '1628932')
Return a named list of data frames: LastFiveGamesAvg, SeasonAvg
SeasonAvg
| col_name | types | description |
| PLAYER_ID | character | Unique player identifier. |
| PLAYER_NAME | character | Player name. |
| TEAM_ID | character | Unique team identifier. |
| TEAM_ABBREVIATION | character | Short team abbreviation (e.g. 'LAS'). |
| FAN_DUEL_PTS | character | |
| NBA_FANTASY_PTS | character | |
| PTS | character | Points scored. |
| REB | character | Total rebounds. |
| AST | character | Assists. |
| FG3M | character | Three-point field goals made. |
| FT_PCT | character | Free throw percentage (0-1). |
| STL | character | Steals. |
| BLK | character | Blocks. |
| TOV | character | Turnovers. |
| FG_PCT | character | Field goal percentage (0-1). |
LastFiveGamesAvg
Same columns as the SeasonAvg table above.
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_playergamelog(),
wnba_playergamelogs(),
wnba_playergamestreakfinder(),
wnba_playerheadshot(),
wnba_playerindex(),
wnba_playernextngames(),
wnba_playerprofilev2(),
wnba_playervsplayer()
Other WNBA Fantasy Functions:
wnba_fantasywidget(),
wnba_infographicfanduelplayer(),
wnba_playerfantasyprofile()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.