View source: R/fg_mlb_gamelog.R
fg_pitcher_gamelog | R Documentation |
This function allows you to scrape game logs by year for a pitcher from FanGraphs.com.
fg_pitcher_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_pitcher_gamelog(playerid = 104, year = 2006)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.