powered by
This function allows you to scrape game logs by year for a pitcher from FanGraphs.com.
pitcher_game_logs_fg(playerid, year = 2017)
This is the playerid used by FanGraphs for a given player
The season for which game logs should be returned (use the YYYY format)
# NOT RUN { pitcher_game_logs_fg(playerid = 104, year = 2006) # }
Run the code above in your browser using DataLab