game_urls: Create urls from game_ids.

Description Usage Arguments Examples

View source: R/game_urls.R

Description

Create urls from game_ids.

Usage

1
game_urls(url_gids = NULL, dataset = NULL, ...)

Arguments

url_gids

A list of gid urls formatted by the make_gids() function.

dataset

The dataset to be scraped. The default is "inning_all." Other options include, "inning_hit", "players", "game", and "game_events".

...

additional arguments

Examples

1
2
gids <- make_gids(start = "2016-06-01", end = "2016-06-01", dataset="inning_all")
urls <- game_urls(gids)

keberwein/tidygameday documentation built on July 17, 2018, 3:17 a.m.