nba_matchupsrollup {hoopR}R Documentation

Get NBA Stats API Matchups Rollup

Description

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.

Details

Player Matchups Rollup

 nba_matchupsrollup(league_id = '00', season = year_to_season(most_recent_nba_season() - 1))

Value

Returns a named list of data frames: MatchupsRollup

MatchupsRollup

col_name types
SEASON_ID character
POSITION character
PERCENT_OF_TIME 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
MATCHUP_FTM character
MATCHUP_FTA character
SFL character

Author(s)

Saiem Gilani

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()


[Package hoopR version 2.1.0 Index]