make_gids: Create game ids from dates.

Description Usage Arguments Examples

Description

Create game ids from dates.

Usage

1
2
make_gids(start = NULL, end = NULL, league = "mlb", dataset = NULL,
  game_ids = NULL, ...)

Arguments

start

A start date passed as a character in ISO 8601 format. "2017-05-01"

end

An end date passed as a character in ISO 8601 format. "2017-09-01"

league

The league to gather gids for. The default is "mlb". Other options include "aaa" and "aa".

dataset

The dataset to be scraped. The default is "inning_all." Other options include, "inning_hit", "linescore."

game_ids

A list of user-supplied gameIds.

...

additional arguments

Examples

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

mlbgameday documentation built on May 2, 2019, 3:21 a.m.