Get WNBA Stats API Fantasy Widget
Get WNBA Stats API Fantasy Widget
wnba_fantasywidget(
active_players = "N",
date_from = "",
date_to = "",
last_n_games = 0,
league_id = "10",
location = "",
month = "",
opponent_team_id = "",
po_round = "",
player_id = "",
position = "",
season = most_recent_wnba_season() - 1,
season_segment = "",
season_type = "Regular Season",
team_id = "",
todays_opponent = 0,
todays_players = "N",
vs_conference = "",
vs_division = "",
...
)Returns a named list of data frames: FantasyWidgetResult
FantasyWidgetResult
| col_name | types | description |
| PLAYER_ID | character | Unique player identifier. |
| PLAYER_NAME | character | Player name. |
| PLAYER_POSITION | character | |
| TEAM_ID | character | Unique team identifier. |
| TEAM_ABBREVIATION | character | Short team abbreviation (e.g. 'LAS'). |
| GP | character | Games played. |
| MIN | character | Minutes played. |
| FAN_DUEL_PTS | character | |
| NBA_FANTASY_PTS | character | |
| PTS | character | Points scored. |
| REB | character | Total rebounds. |
| AST | character | Assists. |
| BLK | character | Blocks. |
| STL | character | Steals. |
| TOV | character | Turnovers. |
| FG3M | character | Three-point field goals made. |
| FGA | character | Field goal attempts. |
| FG_PCT | character | Field goal percentage (0-1). |
| FTA | character | Free throw attempts. |
| FT_PCT | character | Free throw percentage (0-1). |
active_players
date_from date_from
date_to date_to
last_n_games
league_id
location
month
opponent_team_id
po_round
player_id
position
season
season_segment
season_type
team_id
todays_opponent
todays_players
vs_conference
vs_division
Additional arguments passed to an underlying function like httr.
Saiem Gilani
wnba_fantasywidget(league_id = '10', season = most_recent_wnba_season() - 1)
Other WNBA Fantasy Functions:
wnba_infographicfanduelplayer(),
wnba_playerfantasyprofile(),
wnba_playerfantasyprofilebargraph()