Learn R Programming

hoopR (version 3.0.0)

nba_playerfantasyprofilebargraph: Get NBA Stats API Player Fantasy Profile Bar Graph

Description

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",
  ...
)

Value

Return a named list of data frames: LastFiveGamesAvg, SeasonAvg

SeasonAvg

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
FAN_DUEL_PTScharacter
NBA_FANTASY_PTScharacter
PTScharacter
REBcharacter
ASTcharacter
FG3Mcharacter
FT_PCTcharacter
STLcharacter
BLKcharacter
TOVcharacter
FG_PCTcharacter

LastFiveGamesAvg

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
TEAM_IDcharacter
TEAM_ABBREVIATIONcharacter
FAN_DUEL_PTScharacter
NBA_FANTASY_PTScharacter
PTScharacter
REBcharacter
ASTcharacter
FG3Mcharacter
FT_PCTcharacter
STLcharacter
BLKcharacter
TOVcharacter
FG_PCTcharacter

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.

Author

Saiem Gilani

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_playercareerbycollege(), nba_playercareerbycollegerollup(), 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_playergamelog(), nba_playergamelogs(), nba_playergamestreakfinder(), nba_playerheadshot(), nba_playerindex(), nba_playernextngames(), nba_playerprofilev2(), nba_playervsplayer()

Other NBA Fantasy Functions: nba_fantasywidget(), nba_infographicfanduelplayer(), nba_playerfantasyprofile()