get_fangraphs: Get various fangraphs projections

Description Usage Arguments Value

Description

workhorse function. reads, cleans, preps, matches fangraphs projections

Usage

1
get_fangraphs(year, proj_system, limit_unmatched = TRUE)

Arguments

year

desired year. valid values: 2016

proj_system

proj_system name of a projection system. one of c('zips', 'steamer', 'steamer600', 'fangraphsdc')

limit_unmatched

if TRUE (the default behavior) will only return players with an mlbid that can be matched. look at 'id_map' and the 'universal_metadata' vignette for more about the id map we're using to match players to ids. fundamentally, you need a consistent, unique identifier if you want to work with multiple projection systems. so this really needs to be TRUE.

Value

list of named projection data frames.


almartin82/projprep documentation built on May 10, 2019, 9:57 a.m.