get_play_by_play | R Documentation |
This is the suggested function for scraping play-by-play, as it handles and binds multiple games. Please see the scrape_game() function documentation for a more detailed description.
get_play_by_play(
game_ids,
use_file = F,
save_file = F,
base_path = NA,
overwrite = F
)
game_ids |
A string/numeric object or vector containing game ids |
get_play_by_play(c(4671170, 4674164))
team_sched <- get_team_schedule(team.id = 450680)
get_play_by_play(team_sched$Game_ID)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.