fg_milb_batter_gamelog: # Scrape MiLB game logs for batters from Fangraphs, combining...

View source: R/fg_milb_gamelog.R

fg_milb_batter_gamelogR Documentation

# 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

fg_milb_batter_gamelog(playerid, year)

Arguments

playerid

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

year

The season for which game logs should be returned.

Examples

## Not run: fg_milb_batter_gamelog(playerid = "sa917940", 2018)

pontsuyu/mlbR documentation built on March 23, 2023, 6:38 a.m.