nba_playernextngames {hoopR}R Documentation

Get NBA Stats API Player Next N Games

Description

Get NBA Stats API Player Next N Games

Get NBA Stats API Player Next N Games

Usage

nba_playernextngames(
  league_id = "",
  number_of_games = 2147483647,
  player_id = "2544",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  ...
)

Arguments

league_id

League - default: '00'. Other options include '10': WNBA, '20': G-League

number_of_games

N in number of games

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.

Details

 nba_playernextngames(player_id = '2544')

Value

Return a named list of data frames: NextNGames

NextNGames

col_name types
GAME_ID character
GAME_DATE character
HOME_TEAM_ID character
VISITOR_TEAM_ID character
HOME_TEAM_NAME character
VISITOR_TEAM_NAME character
HOME_TEAM_ABBREVIATION character
VISITOR_TEAM_ABBREVIATION character
HOME_TEAM_NICKNAME character
VISITOR_TEAM_NICKNAME character
GAME_TIME character
HOME_WL character
VISITOR_WL character

Author(s)

Saiem Gilani

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_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_playerprofilev2(), nba_playervsplayer()


[Package hoopR version 2.1.0 Index]