bref_players_stats: Basketball Reference Player Season Tables

bref_players_statsR Documentation

Basketball Reference Player Season Tables

Description

Basketball Reference Player Season Tables

Usage

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

Other BREF: bref_awards_votes(), bref_awards(), bref_bios(), bref_teams_stats(), dictionary_bref_coaches(), dictionary_bref_players(), dictionary_bref_teams()

Examples

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

abresler/nbastatR documentation built on Nov. 9, 2023, 2:33 p.m.