Get Player Splits
get_players_season_stat_splits(players = NULL, player_ids = NULL,
seasons = 2018, season_types = c("Regular Season"),
measures = c("Base"), modes = c("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, outcomes = NA,
playoff_rounds = 0, shot_clock_ranges = NA, return_message = TRUE,
assign_to_environment = TRUE, add_mode_names = T)
vector of player names
vector of player ids
vector of the start years
vector of season types options include
Regular Season
Pre Season
Playoffs
All Star
vector of measure types options include
Base
Advanced
Misc
Scoring
Usage
vector of modes options include
PerGame
Totals
MinutesPer
Per48
Per40
Per36
PerMinute
PerPossession
PerPlay
Per100Possessions
Per100Plays
is plus minus TRUE
or FALSE
is pace adjusted TRUE
or FALSE
vector of periods 0:12
is rank TRUE
or FALSE
vector of game segments options include
NA
First Half
Second Half
Overtime
vector of divisions against options include
NA
Atlantic
Central
Northwest
Pacific
Southeast
Southwest
vector of conferences against options include
NA
East
West
vector of dates from
vector of dates to
vector of last_n games 0:82
vector of locations options include
NA
Home
Road
vector of game months options include 0:12
vector of season segments, options include
NA
Post All-Star
Pre All-Star
vector of opponent names
if NA
all teams
vector of outcomes options include
NA
Wins
Losses
vector of playoff rounds options include code0:4
vector of shot clock ranges options include
NA,
24-22
22-18 Very Early
18-15 Early
15-7 Average
7-4 Late
4-0 Very Late
ShotClock Off
if TRUE
add mode nanmes
if TRUE
assigns data to environment
if TRUE
adds data to environment
# NOT RUN {
get_players_season_stat_splits(players = "Jarrett Allen", measures = c("Base", "Advanced"))
# }
Run the code above in your browser using DataLab