powered by
NBA game logs NBA game logs for specified parameters
get_game_logs(seasons = NULL, result_types = NULL, season_types = "Regular Season", nest_data = F, assign_to_environment = TRUE, return_message = TRUE, ...)
vector of seasons where season is year ending
vector of result types
player
team
vector of Season types
Regular Season
Playoffs
Pre Season
All Star
if TRUE nests data
TRUE
assigns individual table to environment
a `data_frame`
Other game: get_games_box_scores, get_games_fanduel_summary, get_games_pbp_win_probablity
get_games_box_scores
get_games_fanduel_summary
get_games_pbp_win_probablity
# NOT RUN { get_game_logs(seasons = 2017:2018, result_types = c("team", "player")) # }
Run the code above in your browser using DataLab