NBA players table data
get_players_tables_data(players = NULL, player_ids = NULL,
tables = c("year over year", "passes", "game splits"), measures = "Base",
seasons = 2018, modes = c("PerGame", "Totals"),
season_types = "Regular Season", playoff_rounds = NA, is_plus_minus = F,
n_games = 20, is_rank = F, is_pace_adjusted = F, outcomes = NA,
locations = NA, months = NA, season_segments = NA, date_from = NA,
date_to = NA, opponent_ids = NA, vs_confs = NA, vs_divisions = NA,
game_segments = NA, periods = NA, shot_clocks = NA, last_n_games = NA,
assign_to_environment = TRUE, return_message = TRUE)
vector of player names
vector of player ids
vector of tables options
passes
clutch
game splits
general splits
opponent
next n games
player on off details
defense
game logs
rebounding
shot chart detail
shots
year over year
fantasy profile
vector of measure types options include
Base
Advanced
Misc
Scoring
Four Factors
Opponent
Usage
Defense
vector of seasons
vector of modes options include
PerGame
Totals
MinutesPer
Per48
Per40
Per36
PerMinute
PerPossession
PerPlay
Per100Possessions
Per100Plays
#'
vector of season types options include
Regular Season
Pre Season
Playoffs
All Star
vector of playoff rounds options include code0:4
TRUE
returns plus minus
number n of last games
if TRUE
returns rank
if TRUE
adjusts for pace
vector of outcomes options include
NA
Wins
Losses
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
NA
or date from
NA
or date to
vector of opponent ids
vector of conferences against options include
NA
East
West
vector of divisions against options include
NA
Atlantic
Central
Northwest
Pacific
Southeast
Southwest
vector of game segments options include
NA
First Half
Second Half
Overtime
vector of periods 0:12
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
vector of last_n games 0:82
if TRUE
assigns data to environment
if TRUE
returns a message
a data_frame
Other player: get_bref_players_bios
,
get_players_awards
,
get_players_career_stats
,
get_years_draft_combines
# NOT RUN {
get_players_tables_data(players = c("Caris LeVert", "Joe Harris"), tables = c("year over year", "passes", "game splits"), modes = c("PerGame", "Totals"), measures = c("Base", "Advanced"), assign_to_environment = TRUE)
# }
Run the code above in your browser using DataLab