play_by_play_v2: NBA games play-by-play v2

Description Usage Arguments Value Examples

View source: R/play_by_play.R

Description

Returns play-by-play information using the playbyplayv2 endpoint

Usage

1
play_by_play_v2(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 tibble

Examples

1
play_by_play(game_ids = c(21700002, 21700003), nest_data = F, return_message = T)

bonusrp/nbastatRR documentation built on Jan. 4, 2020, 9:10 p.m.