FanGraphs Functions OverviewSource:
Scrape Pitcher Game Logs from FanGraphs.
Scrape Batter Game Logs from FanGraphs.
Scrape MiLB game logs for pitchers from Fangraphs, combining 'standard' and 'advanced' tabs.
Scrape MiLB game logs for batters from Fangraphs, combining 'standard' and 'advanced' tabs.
Scrape Batter Leaderboards from FanGraphs.
Scrape Pitcher Leaderboards from FanGraphs.
Scrape FanGraphs.com Guts!.
Scrape Park Factors from FanGraphs.com.
Scrape Park Factors by handedness from FanGraphs.com.
fg_pitcher_game_logs(playerid = 104, year = 2006)
fg_batter_game_logs(playerid = 6184, year = 2017)
fg_milb_pitcher_game_logs(playerid = "sa3004210", year=2017)
fg_milb_batter_game_logs(playerid = "sa917940", year=2018)
fg_batter_leaders(x = 2015, y = 2015, qual = 400)
fg_pitcher_leaders(x = 2015, y = 2015, qual = 150)