Learn R Programming

baseballr (version 0.8.6)

milb_pitcher_game_logs_fg: # Scrape MiLB game logs for pitchers from Fangraphs, combining 'standard' and 'advanced' tabs

Description

This function allows you to scrape MILB game logs for individual batters from FanGraphs.com.

Usage

milb_pitcher_game_logs_fg(playerid, year = 2017)

Arguments

playerid

The pitcher's minor leauge ID from FanGraphs.com.

year

The season for which game logs should be returned.

Examples

Run this code
# NOT RUN {
milb_pitcher_game_logs_fg(playerid = "sa873980", 2018)
# }

Run the code above in your browser using DataLab