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",
...
)Value
Return a named list of data frames: LeagueGameLog
LeagueGameLog
| col_name | types | description |
| SEASON_ID | character | Unique season identifier. |
| TEAM_ID | character | Unique team identifier. |
| TEAM_ABBREVIATION | character | Short team abbreviation (e.g. 'LAS'). |
| TEAM_NAME | character | Full team display name (e.g. 'Las Vegas Aces'). |
| GAME_ID | character | Unique game identifier. |
| GAME_DATE | character | Game date (YYYY-MM-DD). |
| MATCHUP | character | Matchup. |
| WL | character | Wl. |
| MIN | character | Minutes played. |
| FGM | character | Field goals made. |
| FGA | character | Field goal attempts. |
| FG_PCT | character | Field goal percentage (0-1). |
| FG3M | character | Three-point field goals made. |
| FG3A | character | Three-point field goal attempts. |
| FG3_PCT | character | Three-point field goal percentage (0-1). |
| FTM | character | Free throws made. |
| FTA | character | Free throw attempts. |
| FT_PCT | character | Free throw percentage (0-1). |
| OREB | character | Offensive rebounds. |
| DREB | character | Defensive rebounds. |
| REB | character | Total rebounds. |
| AST | character | Assists. |
| STL | character | Steals. |
| BLK | character | Blocks. |
| TOV | character | Turnovers. |
| PF | character | Personal fouls. |
| PTS | character | Points scored. |
| PLUS_MINUS | character | Plus/minus point differential while on court. |
| VIDEO_AVAILABLE | character | Video available. |
Details
nba_leaguegamelog(league_id = '00', season = year_to_season(most_recent_nba_season() - 1))See also
Other NBA League Functions:
nba_iststandings(),
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_leaguestandings(),
nba_leaguestandingsv3(),
nba_matchupsrollup(),
nba_playoffpicture(),
nba_shotchartleaguewide()
