Description Usage Arguments Examples
View source: R/by-game-parsers.r
Parse starting lineup for a game
1 | parse_starting_lineup(json, type = c("actual", "expected"))
|
json |
content from response |
type |
actual or expected lineup |
1 2 3 4 5 6 7 8 | ## Not run:
resp <- game_starting_lineup("nhl", "20171014-BUF-LAK", season = "2017-2018-regular")
resp <- game_starting_lineup("mlb", "20170822-COL-KC", season = "2017-regular")
resp <- game_starting_lineup("nba", "42070", season = "2017-2018-regular")
parse_starting_lineup(resp$content, "actual")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.