game_logs: NBA game logs NBA game logs for specified parameters

game_logsR Documentation

NBA game logs NBA game logs for specified parameters

Description

NBA game logs NBA game logs for specified parameters

Usage

game_logs(
  seasons = 2019,
  league = "NBA",
  result_types = "player",
  season_types = "Regular Season",
  nest_data = F,
  assign_to_environment = TRUE,
  return_message = TRUE,
  ...
)

Arguments

seasons

vector of seasons where season is year ending

league

league name defaults to WNBA

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

return_message

Value

a 'tibble'

See Also

Other game: box_scores(), fanduel_summary(), win_probability()

Examples

game_logs(seasons = 2019, result_types = c("team", "player"))

abresler/nbastatR documentation built on Nov. 9, 2023, 2:33 p.m.