fg_batter_gamelog | R Documentation |
This function allows you to scrape game logs by year for a batter from FanGraphs.com.
fg_batter_gamelog(playerid, year)
playerid |
This is the playerid used by FanGraphs for a given player |
year |
The season for which game logs should be returned (use the YYYY format) |
## Not run: fg_batter_gamelog(playerid = 6184, year = 2017)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.