play_by_play: NBA games play-by play

View source: R/play_by_play.R

play_by_playR Documentation

NBA games play-by play

Description

Returns play-by-play data for specified game ids

Usage

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 tibble

Examples

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

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