Learn R Programming

baseballr (version 0.8.6)

fg_park: Scrape Park Factors from FanGraphs.com

Description

This function allows you to scrape park factors for a given season from FanGraphs.com.

This function allows you to scrape park factors by handedness from FanGraphs.com for a given single year.

Usage

fg_park(yr)

fg_park_hand(yr)

Arguments

yr

Season for which you want to scrape the park factors.

Examples

Run this code
# NOT RUN {
fg_park(2013)
fg_park_hand(2013)
# }

Run the code above in your browser using DataLab