Learn R Programming

nbastatR (version 0.1.110202031)

get_bref_players_seasons: Basketball Reference Player Season Tables

Description

Basketball Reference Player Season Tables

Usage

get_bref_players_seasons(seasons = 2016:2018, 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 `data_frames`

return_message

if TRUE returns a message

Value

a data_frame

See Also

Other BREF: get_bref_coach_dictionary, get_bref_player_dictionary, get_bref_players_bios, get_bref_team_dictionary, get_bref_teams_seasons

Examples

Run this code
# NOT RUN {
get_bref_players_seasons(seasons = 2017:2018, tables = c("advanced", "totals"))
# }

Run the code above in your browser using DataLab