Learn R Programming

nbastatR (version 0.1.110202031)

get_game_logs: NBA game logs NBA game logs for specified parameters

Description

NBA game logs NBA game logs for specified parameters

Usage

get_game_logs(seasons = NULL, result_types = NULL,
  season_types = "Regular Season", nest_data = F,
  assign_to_environment = TRUE, return_message = TRUE, ...)

Arguments

seasons

vector of seasons where season is year ending

result_types

vector of result types

  • player

  • team

season_types

vector of Season types

  • Regular Season

  • Playoffs

  • Pre Season

  • All Star

nest_data

if TRUE nests data

assign_to_environment

assigns individual table to environment

...

Value

a `data_frame`

See Also

Other game: get_games_box_scores, get_games_fanduel_summary, get_games_pbp_win_probablity

Examples

Run this code
# NOT RUN {
get_game_logs(seasons = 2017:2018, result_types = c("team", "player"))
# }

Run the code above in your browser using DataLab