Description Usage Arguments Examples
View source: R/by-game-parsers.r
Parse Play by Play Data
1 | parse_game_pbp(json, sport = c(NA, "nba", "nhl", "nfl", "mlb"))
|
json |
list of data |
sport |
sport |
1 2 3 4 5 | ## Not run:
resp <- game_pbp("nhl", "20161215-FLO-WPJ", season = "2016-2017-regular")
parse_game_pbp(resp$content, "nhl")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.