Skip to content

R code to download and parse box scores from Baseball Reference. Relies primarily on Rvest and Dplyr.

Notifications You must be signed in to change notification settings

richjand/Scrape-Baseball-Reference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Scrape-Baseball-Reference

R code to download and parse box scores from Baseball Reference. Relies primarily on Rvest and Dplyr.

This repository provides a function to download and parse batting data from box scores on Baseball Reference. The function takes a year as an input and downloads all batting data for that year.

In addition, the box score is parsed to provide information on at bat outcomes needed to calculate OBP, SLG, wOBA, or any number of other batting metrics.

About

R code to download and parse box scores from Baseball Reference. Relies primarily on Rvest and Dplyr.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages