Basketball Reference Player Season Tables

bref_players_stats(
  seasons = NULL,
  tables = c("advanced", "totals"),
  include_all_nba = F,
  only_totals = TRUE,
  nest_data = FALSE,
  assign_to_environment = TRUE,
  widen_data = TRUE,
  join_data = TRUE,
  return_message = TRUE
)

Arguments

seasons

vector of years 1951 to current season

tables

player table

  • totals: Totals

  • per_game: Per game

  • advanced: Advanced

  • per_minute: Per 36 minutes

  • per_poss: Per Possession

include_all_nba

if TRUE include all_nba teams

only_totals

if TRUE returns only a player's total statistics

nest_data

if TRUE returns a nested data frame

assign_to_environment

if `TRUE` assigns to environment

widen_data

if `TRUE` widens data

join_data

if `TRUE` joins `tibbles`

return_message

if TRUE returns a message

Value

a tibble

See also

Examples

bref_players_stats(seasons = 2017:2018, tables = c("advanced", "totals"))