fg_guts: *Scrape FanGraphs.com Guts!*

View source: R/fg_guts.R

fg_gutsR Documentation

Scrape FanGraphs.com Guts!

Description

Scrape historical FanGraphs Guts! table, wOBA, FIP coefficients and constants

Usage

fg_guts()

Value

Returns a tibble of seasonal constants from FanGraphs

col_name types description
season integer Season (YYYY).
lg_woba numeric League-average wOBA for the season.
woba_scale numeric wOBA scale factor (converts wOBA to runs).
wBB numeric Linear weight (runs) for an unintentional walk.
wHBP numeric Linear weight (runs) for a hit-by-pitch.
w1B numeric Linear weight (runs) for a single.
w2B numeric Linear weight (runs) for a double.
w3B numeric Linear weight (runs) for a triple.
wHR numeric Linear weight (runs) for a home run.
runSB numeric Run value of a stolen base.
runCS numeric Run value of a caught stealing.
lg_r_pa numeric League runs per plate appearance.
lg_r_w numeric League runs per win.
cFIP numeric FIP constant for the season.

Examples


  try(fg_guts())


baseballr documentation built on Aug. 27, 2026, 1:07 a.m.