| fg_milb_pitcher_game_logs {baseballr} | R Documentation |
Scrape MiLB game logs for pitchers from FanGraphs
Description
This function allows you to scrape MiLB game logs for individual batters from FanGraphs.com.
Usage
fg_milb_pitcher_game_logs(playerid, year)
Arguments
playerid |
The pitcher's minor league ID from FanGraphs.com. |
year |
The season for which game logs should be returned. |
Value
Returns a tibble of Minor League pitcher game logs.
| col_name | types |
| player_name | character |
| minor_playerid | character |
| Date | character |
| Team | character |
| Level | character |
| Opp | character |
| W | numeric |
| L | numeric |
| ERA | numeric |
| G | numeric |
| GS | numeric |
| CG | numeric |
| ShO | numeric |
| SV | numeric |
| IP | numeric |
| TBF | numeric |
| H | numeric |
| R | numeric |
| ER | numeric |
| HR | numeric |
| BB | numeric |
| IBB | numeric |
| HBP | numeric |
| WP | numeric |
| BK | numeric |
| SO | numeric |
| K/9 | numeric |
| BB/9 | numeric |
| K/BB | numeric |
| HR/9 | numeric |
| K% | numeric |
| K-BB% | numeric |
| BB% | numeric |
| AVG | numeric |
| WHIP | numeric |
| BABIP | numeric |
| LOB% | numeric |
| FIP | numeric |
| gamedate | character |
| dh | integer |
| UPId | character |
| MLBAMId | character |
| MinorMasterId | character |
| RRId | character |
| FirstName | character |
| LastName | character |
| firstLastName | character |
| Height | character |
| Weight | character |
| BirthDate | character |
| Bats | character |
| Throws | character |
| Position | character |
| BirthCity | character |
| College | character |
| Age | character |
Examples
try(fg_milb_pitcher_game_logs(playerid = "sa3020682", year=2023))
[Package baseballr version 1.6.0 Index]