parse_starting_lineup: Parse starting lineup for a game

Description Usage Arguments Examples

View source: R/by-game-parsers.r

Description

Parse starting lineup for a game

Usage

1
parse_starting_lineup(json, type = c("actual", "expected"))

Arguments

json

content from response

type

actual or expected lineup

Examples

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)

zamorarr/msf documentation built on May 3, 2019, 9:01 p.m.