Learn Data & AI Skills | 50% off

Last chance! 50% off unlimited learning

Sale ends in


baseballr (version 0.5.0)

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 = "sa873981", 2018)
# }

Run the code above in your browser using DataLab