Learn R Programming

baseballr (version 0.8.6)

milb_batter_game_logs_fg: # Scrape MiLB game logs for batters 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_batter_game_logs_fg(playerid, year = 2017)

Arguments

playerid

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

year

The season for which game logs should be returned.

Examples

Run this code
# NOT RUN {
milb_batter_game_logs_fg(playerid = "sa917940", 2018)
# }

Run the code above in your browser using DataLab