get_pitchfx: Scrape PITCHf/x data

Description Usage Arguments Value Examples

View source: R/get_pitchfx.R

Description

Scrape PITCHf/x data

Usage

1
get_pitchfx(date_start = 0, date_end = 0, game_id = NULL)

Arguments

date_start

The starting date. Optional, if you only want to scrape specific games

date_end

The ending date. Optional, if you only want to scrape for a single day

game_id

Game ids. Optional, if you want to scrape given days

Value

PITCHf/x data for within starting date and ending date

Examples

1
2
3
get_pitchfx(date_start = "2020-7-23")
get_pitchfx(date_start = "2020-7-23", date_end = "2020-7-24")
get_pitchfx(game_id = "630851")

McChickenNuggets/pitchfx documentation built on Dec. 17, 2021, 3:21 a.m.