Skip to contents

Get NBA Stats API Player Estimated Metrics

Get NBA Stats API Player Estimated Metrics

Usage

nba_playerestimatedmetrics(
  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: PlayerEstimatedMetrics

PlayerEstimatedMetrics

col_nametypes
PLAYER_IDcharacter
PLAYER_NAMEcharacter
GPcharacter
Wcharacter
Lcharacter
W_PCTcharacter
MINcharacter
E_OFF_RATINGcharacter
E_DEF_RATINGcharacter
E_NET_RATINGcharacter
E_AST_RATIOcharacter
E_OREB_PCTcharacter
E_DREB_PCTcharacter
E_REB_PCTcharacter
E_TOV_PCTcharacter
E_USG_PCTcharacter
E_PACEcharacter
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_TOV_PCT_RANKcharacter
E_USG_PCT_RANKcharacter
E_PACE_RANKcharacter

Author

Saiem Gilani