Skip to contents

Get NBA Stats API League Season Matchups

Get NBA Stats API League Season Matchups

Usage

nba_leagueseasonmatchups(
  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: SeasonMatchups

SeasonMatchups

col_nametypes
SEASON_IDcharacter
OFF_PLAYER_IDcharacter
OFF_PLAYER_NAMEcharacter
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
HELP_BLKcharacter
HELP_FGMcharacter
HELP_FGAcharacter
HELP_FG_PERCcharacter
MATCHUP_FTMcharacter
MATCHUP_FTAcharacter
SFLcharacter
MATCHUP_TIME_SECcharacter

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_leaguestandingsv3(), nba_leaguestandings(), nba_matchupsrollup(), nba_playoffpicture(), nba_shotchartleaguewide()

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

Author

Saiem Gilani