Learn R Programming

nbastatR (version 0.1.11002)

get_games_play_by_play: Get Play by Play for NBA Game IDs

Description

Get Play by Play for NBA Game IDs

Usage

get_games_play_by_play(game_ids = NULL, nest_data = FALSE,
  return_message = TRUE)

Arguments

game_ids

vector of game ids

nest_data

if TRUE nests data

return_message

if T returns message

Value

a data_frame

Examples

Run this code
# NOT RUN {
get_games_play_by_play(game_ids = c(21700002, 21700003), nest_data = F, return_message = T)
# }

Run the code above in your browser using DataLab