Skip to contents

Get NBA Stats API Team Estimated Metrics

Get NBA Stats API Team Estimated Metrics

Usage

nba_teamestimatedmetrics(
  league_id = "00",
  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

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: TeamEstimatedMetrics

TeamEstimatedMetrics

col_nametypes
TEAM_NAMEcharacter
TEAM_IDcharacter
GPcharacter
Wcharacter
Lcharacter
W_PCTcharacter
MINcharacter
E_OFF_RATINGcharacter
E_DEF_RATINGcharacter
E_NET_RATINGcharacter
E_PACEcharacter
E_AST_RATIOcharacter
E_OREB_PCTcharacter
E_DREB_PCTcharacter
E_REB_PCTcharacter
E_TM_TOV_PCTcharacter
GP_RANKcharacter
W_RANKcharacter
L_RANKcharacter
W_PCT_RANKcharacter
MIN_RANKcharacter
E_OFF_RATING_RANKcharacter
E_DEF_RATING_RANKcharacter
E_NET_RATING_RANKcharacter
E_AST_RATIO_RANKcharacter
E_OREB_PCT_RANKcharacter
E_DREB_PCT_RANKcharacter
E_REB_PCT_RANKcharacter
E_TM_TOV_PCT_RANKcharacter
E_PACE_RANKcharacter

Author

Saiem Gilani