fg_batter_gamelog: Scrape Batter Game Logs from FanGraphs

fg_batter_gamelogR Documentation

Scrape Batter Game Logs from FanGraphs

Description

This function allows you to scrape game logs by year for a batter from FanGraphs.com.

Usage

fg_batter_gamelog(playerid, year)

Arguments

playerid

This is the playerid used by FanGraphs for a given player

year

The season for which game logs should be returned (use the YYYY format)

Examples

## Not run: fg_batter_gamelog(playerid = 6184, year = 2017)

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