nba_leaguegamelog {hoopR}R Documentation

Get NBA Stats API League Game Log

Description

Get NBA Stats API League Game Log

Get NBA Stats API League Game Log

Usage

nba_leaguegamelog(
  counter = 0,
  date_from = "",
  date_to = "",
  direction = "ASC",
  league_id = "00",
  player_or_team = "T",
  season = year_to_season(most_recent_nba_season() - 1),
  season_type = "Regular Season",
  sorter = "DATE",
  ...
)

Arguments

counter

counter

date_from

date_from

date_to

date_to

direction

direction

league_id

league_id

player_or_team

player_or_team

season

season

season_type

season_type

sorter

sorter

...

Additional arguments passed to an underlying function like httr.

Details

Player/Team Boxscores

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

Value

Return a named list of data frames: LeagueGameLog

LeagueGameLog

col_name types
SEASON_ID character
TEAM_ID character
TEAM_ABBREVIATION character
TEAM_NAME character
GAME_ID character
GAME_DATE character
MATCHUP character
WL character
MIN character
FGM character
FGA character
FG_PCT character
FG3M character
FG3A character
FG3_PCT character
FTM character
FTA character
FT_PCT character
OREB character
DREB character
REB character
AST character
STL character
BLK character
TOV character
PF character
PTS character
PLUS_MINUS character
VIDEO_AVAILABLE 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_leaguelineupviz(), nba_leagueplayerondetails(), nba_leagueseasonmatchups(), nba_leaguestandingsv3(), nba_leaguestandings(), nba_matchupsrollup(), nba_playoffpicture(), nba_shotchartleaguewide()


[Package hoopR version 2.1.0 Index]