fg_pitcher_gamelog: Scrape Pitcher Game Logs from FanGraphs

View source: R/fg_mlb_gamelog.R

fg_pitcher_gamelogR Documentation

Scrape Pitcher Game Logs from FanGraphs

Description

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

Usage

fg_pitcher_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_pitcher_gamelog(playerid = 104, year = 2006)

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