Learn R Programming

nbastatR (version 0.1.11003)

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 = TRUE, 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 Possesion

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

return_message

if TRUE returns a message

Value

a data_frame

Examples

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

Run the code above in your browser using DataLab