parse_game_pbp: Parse Play by Play Data

Description Usage Arguments Examples

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

Description

Parse Play by Play Data

Usage

1
parse_game_pbp(json, sport = c(NA, "nba", "nhl", "nfl", "mlb"))

Arguments

json

list of data

sport

sport

Examples

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)

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