Skip to contents

Get NBA Stats API Matchups Rollup

Get NBA Stats API Matchups Rollup

Usage

nba_matchupsrollup(
  def_player_id = "",
  def_team_id = "",
  league_id = "00",
  off_player_id = "",
  off_team_id = "",
  per_mode = "Totals",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  ...
)

Arguments

def_player_id

def_player_id

def_team_id

def_team_id

league_id

league_id

off_player_id

off_player_id

off_team_id

off_team_id

per_mode

per_mode

season

season

season_type

season_type

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: MatchupsRollup

MatchupsRollup

col_nametypes
SEASON_IDcharacter
POSITIONcharacter
PERCENT_OF_TIMEcharacter
DEF_PLAYER_IDcharacter
DEF_PLAYER_NAMEcharacter
GPcharacter
MATCHUP_MINcharacter
PARTIAL_POSScharacter
PLAYER_PTScharacter
TEAM_PTScharacter
MATCHUP_ASTcharacter
MATCHUP_TOVcharacter
MATCHUP_BLKcharacter
MATCHUP_FGMcharacter
MATCHUP_FGAcharacter
MATCHUP_FG_PCTcharacter
MATCHUP_FG3Mcharacter
MATCHUP_FG3Acharacter
MATCHUP_FG3_PCTcharacter
MATCHUP_FTMcharacter
MATCHUP_FTAcharacter
SFLcharacter

See also

Other NBA League Functions: nba_leaguedashlineups(), nba_leaguedashoppptshot(), nba_leaguedashplayerbiostats(), nba_leaguedashplayerclutch(), nba_leaguedashplayerptshot(), nba_leaguedashplayershotlocations(), nba_leaguedashplayerstats(), nba_leaguedashptdefend(), nba_leaguedashptstats(), nba_leaguedashptteamdefend(), nba_leaguedashteamclutch(), nba_leaguedashteamptshot(), nba_leaguedashteamshotlocations(), nba_leaguedashteamstats(), nba_leaguegamefinder(), nba_leaguegamelog(), nba_leaguelineupviz(), nba_leagueplayerondetails(), nba_leagueseasonmatchups(), nba_leaguestandingsv3(), nba_leaguestandings(), nba_playoffpicture(), nba_shotchartleaguewide()

Other NBA Player Functions: nba_infographicfanduelplayer(), nba_leaguedashplayerbiostats(), nba_leaguedashplayerclutch(), nba_leaguedashplayershotlocations(), nba_leaguedashplayerstats(), nba_leagueplayerondetails(), nba_leagueseasonmatchups(), 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_playerfantasyprofilebargraph(), nba_playerfantasyprofile(), nba_playergamelogs(), nba_playergamelog(), nba_playergamestreakfinder(), nba_playerheadshot(), nba_playerindex(), nba_playernextngames(), nba_playerprofilev2(), nba_playervsplayer()

Author

Saiem Gilani