mlbgameday (version 0.0.1)

game_urls: Create urls from game_ids.

Description

Create urls from game_ids.

Usage

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

Run this code
# NOT RUN {
gids <- make_gids(start = "2016-06-01", end = "2016-06-01", dataset="inning_all")
urls <- game_urls(gids)


# }

Run the code above in your browser using DataLab