get_guru: Get guru projections

Description Usage Arguments Value

Description

workhorse function. reads the raw guru excel file, cleans up headers, returns list of projection data frames ready for projection_prep function.

Usage

1
get_guru(year, limit_unmatched = TRUE)

Arguments

year

desired year. valid values: 2016

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.