Deprecated in hoopR 3.0.0. This endpoint is unstable/empty; use nba_playerprofilev2() instead.
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.
Value
Return a named list of data frames: NextNGames
NextNGames
| col_name | types | description |
| GAME_ID | character | Unique game identifier. |
| GAME_DATE | character | Game date (YYYY-MM-DD). |
| HOME_TEAM_ID | character | Unique identifier for the home team. |
| VISITOR_TEAM_ID | character | |
| HOME_TEAM_NAME | character | Home team name. |
| VISITOR_TEAM_NAME | character | |
| HOME_TEAM_ABBREVIATION | character | |
| VISITOR_TEAM_ABBREVIATION | character | |
| HOME_TEAM_NICKNAME | character | |
| VISITOR_TEAM_NICKNAME | character | |
| GAME_TIME | character | Game start time. |
| HOME_WL | character | |
| VISITOR_WL | character |
Details
nba_playernextngames(player_id = '2544')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_playercareerbycollege(),
nba_playercareerbycollegerollup(),
nba_playercareerstats(),
nba_playercompare(),
nba_playerdashboardbyclutch(),
nba_playerdashptpass(),
nba_playerdashptreb(),
nba_playerdashptshotdefend(),
nba_playerdashptshots(),
nba_playerestimatedmetrics(),
nba_playerfantasyprofile(),
nba_playerfantasyprofilebargraph(),
nba_playergamelog(),
nba_playergamelogs(),
nba_playergamestreakfinder(),
nba_playerheadshot(),
nba_playerindex(),
nba_playerprofilev2(),
nba_playervsplayer()
