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_name | types |
SEASON_ID | character |
OFF_PLAYER_ID | character |
OFF_PLAYER_NAME | character |
DEF_PLAYER_ID | character |
DEF_PLAYER_NAME | character |
GP | character |
MATCHUP_MIN | character |
PARTIAL_POSS | character |
PLAYER_PTS | character |
TEAM_PTS | character |
MATCHUP_AST | character |
MATCHUP_TOV | character |
MATCHUP_BLK | character |
MATCHUP_FGM | character |
MATCHUP_FGA | character |
MATCHUP_FG_PCT | character |
MATCHUP_FG3M | character |
MATCHUP_FG3A | character |
MATCHUP_FG3_PCT | character |
HELP_BLK | character |
HELP_FGM | character |
HELP_FGA | character |
HELP_FG_PERC | character |
MATCHUP_FTM | character |
MATCHUP_FTA | character |
SFL | character |
MATCHUP_TIME_SEC | character |
Details
nba_leagueseasonmatchups(league_id = '00', season = year_to_season(most_recent_nba_season() - 1))
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()