bref_daily_Performance: Scrape Batter/Pitcher Performance Data Over a Custom Time...

View source: R/bref_daily_stats.R

bref_daily_PerformanceR Documentation

Scrape Batter/Pitcher Performance Data Over a Custom Time Frame

Description

This function allows you to scrape basic batter statistics over a custom time frame. Data is sourced from Baseball-Reference.com.

Usage

bref_daily_Performance(start_date, end_date, pit_bat)

Arguments

start_date

First date data should be scraped from. Should take the form "YEAR-MONTH-DAY"

end_date

Last date data should be scraped from. Should take the form "YEAR-MONTH-DAY"

pit_bat

Examples

## Not run: bref_daily_Performance("2015-05-10", "2015-06-20", "pitcher")

pontsuyu/mlbR documentation built on March 23, 2023, 6:38 a.m.