Learn R Programming

baseballr (version 0.8.6)

daily_batter_bref: Scrape Batter 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

daily_batter_bref(t1, t2)

Arguments

t1

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

t2

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

Examples

Run this code
# NOT RUN {
daily_batter_bref("2015-05-10", "2015-06-20")
# }

Run the code above in your browser using DataLab