Learn R Programming

nbastatR (version 0.1.11011)

get_players_seasons_summary_stats: NBA players summary statistics

Description

Gets NBA summary statistics tables

Usage

get_players_seasons_summary_stats(seasons = 2018,
  season_types = "Regular Season", measures = "Base", modes = "PerGame",
  is_plus_minus = F, is_pace_adjusted = F, periods = 0, is_rank = F,
  game_segments = NA, divisions_against = NA, conferences_against = NA,
  date_from = NA, date_to = NA, last_n_games = 0, locations = NA,
  months = 0, season_segments = NA, opponents = NA, countries = NA,
  weights = NA, outcomes = NA, playoff_rounds = 0,
  players_experience = NA, players_positions = NA, colleges = NA,
  draft_picks = NA, draft_years = NA, game_scopes = NA, heights = NA,
  shot_clock_ranges = NA, starters_bench = NA,
  assign_to_environment = TRUE, add_mode_names = T, return_message = TRUE)

Arguments

seasons

vector of seasons

season_types

vector of season types

measures

vector of measures

modes

vector of modes

is_plus_minus

if `TRUE` uses plus minus

is_pace_adjusted

if `TRUE` is pace adjusted

periods

vector of periods

is_rank

if `TRUE` returns rank

game_segments

vector of game segments

divisions_against

vector of seasons

conferences_against

vector of conferences against

date_from

dates from

date_to

dates to

last_n_games

vector games

locations

vector of locations

months

vector of months

season_segments

vector of seasons segments

opponents

vector of opponents

countries

vector of countries

weights

vector of weights

outcomes

vector of outcomes

playoff_rounds

vector of playoff rounds

players_experience

vector of player experience

players_positions

vector of positions

colleges

vector of colleges

draft_picks

vector of draft picks

draft_years

vector of draft years

game_scopes

vector game scopes

heights

vector of heights

shot_clock_ranges

vector of shot clock ranges

starters_bench

vector of starter type

assign_to_environment

if `TRUE` assigns tables to environment

add_mode_names

if `TRUE` adds mode names

return_message

if `TRUE` returns a message

Value

a `data_frame`

Examples

Run this code
# NOT RUN {
get_players_seasons_summary_stats(seasons = 2016:2018)
# }

Run the code above in your browser using DataLab