![](../logo.png)
Get NBA Stats API Player Fantasy Profile Bar Graph
Source:R/nba_stats_player.R
nba_playerfantasyprofilebargraph.Rd
Get NBA Stats API Player Fantasy Profile Bar Graph
Get NBA Stats API Player Fantasy Profile Bar Graph
Usage
nba_playerfantasyprofilebargraph(
league_id = "00",
player_id = "2544",
season = year_to_season(most_recent_nba_season() - 1),
season_type = "Regular Season",
...
)
Arguments
- league_id
League - default: '00'. Other options include '10': WNBA, '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.
Value
Return a named list of data frames: LastFiveGamesAvg, SeasonAvg
SeasonAvg
col_name | types |
PLAYER_ID | character |
PLAYER_NAME | character |
TEAM_ID | character |
TEAM_ABBREVIATION | character |
FAN_DUEL_PTS | character |
NBA_FANTASY_PTS | character |
PTS | character |
REB | character |
AST | character |
FG3M | character |
FT_PCT | character |
STL | character |
BLK | character |
TOV | character |
FG_PCT | character |
LastFiveGamesAvg
col_name | types |
PLAYER_ID | character |
PLAYER_NAME | character |
TEAM_ID | character |
TEAM_ABBREVIATION | character |
FAN_DUEL_PTS | character |
NBA_FANTASY_PTS | character |
PTS | character |
REB | character |
AST | character |
FG3M | character |
FT_PCT | character |
STL | character |
BLK | character |
TOV | character |
FG_PCT | character |
Details
nba_playerfantasyprofilebargraph(player_id = '2544')
See also
Other NBA Player Functions:
nba_infographicfanduelplayer()
,
nba_leaguedashplayerbiostats()
,
nba_leaguedashplayerclutch()
,
nba_leaguedashplayershotlocations()
,
nba_leaguedashplayerstats()
,
nba_leagueplayerondetails()
,
nba_leagueseasonmatchups()
,
nba_matchupsrollup()
,
nba_playerawards()
,
nba_playercareerbycollegerollup()
,
nba_playercareerbycollege()
,
nba_playercareerstats()
,
nba_playercompare()
,
nba_playerdashboardbyclutch()
,
nba_playerdashboardbygamesplits()
,
nba_playerdashboardbygeneralsplits()
,
nba_playerdashboardbylastngames()
,
nba_playerdashboardbyopponent()
,
nba_playerdashboardbyshootingsplits()
,
nba_playerdashboardbyteamperformance()
,
nba_playerdashboardbyyearoveryear()
,
nba_playerdashptpass()
,
nba_playerdashptreb()
,
nba_playerdashptshotdefend()
,
nba_playerdashptshots()
,
nba_playerestimatedmetrics()
,
nba_playerfantasyprofile()
,
nba_playergamelogs()
,
nba_playergamelog()
,
nba_playergamestreakfinder()
,
nba_playerheadshot()
,
nba_playerindex()
,
nba_playernextngames()
,
nba_playerprofilev2()
,
nba_playervsplayer()
Other NBA Fantasy Functions:
nba_fantasywidget()
,
nba_infographicfanduelplayer()
,
nba_playerfantasyprofile()