nba_teamgamelogs {hoopR} | R Documentation |
Get NBA Stats API Team Game Logs
Description
Get NBA Stats API Team Game Logs
Get NBA Stats API Team Game Logs
Usage
nba_teamgamelogs(
date_from = "",
date_to = "",
game_segment = "",
last_n_games = 0,
league_id = "00",
location = "",
measure_type = "Base",
month = 0,
opponent_team_id = 0,
outcome = "",
po_round = "",
per_mode = "Totals",
period = 0,
player_id = "",
season = year_to_season(most_recent_nba_season() - 1),
season_segment = "",
season_type = "Regular Season",
team_id = "1610612749",
vs_conference = "",
vs_division = "",
...
)
Arguments
date_from |
date_from |
date_to |
date_to |
game_segment |
game_segment |
last_n_games |
last_n_games |
league_id |
League - default: '00'. Other options include '10': WNBA, '20': G-League |
location |
location |
measure_type |
measure_type |
month |
month |
opponent_team_id |
opponent_team_id |
outcome |
outcome |
po_round |
po_round |
per_mode |
per_mode |
period |
period |
player_id |
Player ID |
season |
Season - format 2020-21 |
season_segment |
season_segment |
season_type |
Season Type - Regular Season, Playoffs, All-Star |
team_id |
team_id |
vs_conference |
vs_conference |
vs_division |
vs_division |
... |
Additional arguments passed to an underlying function like httr. |
Details
nba_teamgamelogs(team_id = '1610612749')
Value
Return a named list of data frames: TeamGameLogs
TeamGameLogs
col_name | types |
SEASON_YEAR | 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 |
TOV | character |
STL | character |
BLK | character |
BLKA | character |
PF | character |
PFD | character |
PTS | character |
PLUS_MINUS | character |
GP_RANK | character |
W_RANK | character |
L_RANK | character |
W_PCT_RANK | character |
MIN_RANK | character |
FGM_RANK | character |
FGA_RANK | character |
FG_PCT_RANK | character |
FG3M_RANK | character |
FG3A_RANK | character |
FG3_PCT_RANK | character |
FTM_RANK | character |
FTA_RANK | character |
FT_PCT_RANK | character |
OREB_RANK | character |
DREB_RANK | character |
REB_RANK | character |
AST_RANK | character |
TOV_RANK | character |
STL_RANK | character |
BLK_RANK | character |
BLKA_RANK | character |
PF_RANK | character |
PFD_RANK | character |
PTS_RANK | character |
PLUS_MINUS_RANK | character |
Author(s)
Saiem Gilani
See Also
Other NBA Team Functions:
nba_leaguedashteamstats()
,
nba_teamdashboardbyclutch()
,
nba_teamdashboardbygamesplits()
,
nba_teamdashboardbygeneralsplits()
,
nba_teamdashboardbylastngames()
,
nba_teamdashboardbyopponent()
,
nba_teamdashboardbyshootingsplits()
,
nba_teamdashboardbyteamperformance()
,
nba_teamdashboardbyyearoveryear()
,
nba_teamdashlineups()
,
nba_teamdashptpass()
,
nba_teamdashptreb()
,
nba_teamdashptshots()
,
nba_teamdetails()
,
nba_teamestimatedmetrics()
,
nba_teamgamelog()
,
nba_teamgamestreakfinder()
,
nba_teamhistoricalleaders()
,
nba_teaminfocommon()
,
nba_teamplayerdashboard()
,
nba_teamplayeronoffdetails()
,
nba_teamplayeronoffsummary()
,
nba_teams()
,
nba_teamvsplayer()
,
nba_teamyearbyyearstats()