fip_plus()
:Calculate FIP and related metrics for any set of data.
woba_plus()
Calculate wOBA and related metrics for any set of data.
team_consistency()
Calculate Team-level Consistency.
label_statcast_imputed_data()
Label Statcast data as imputed.
run_expectancy_code()
Generate run expectancy and related measures from Baseball Savant data.
linear_weights_savant()
Generate linear weight values for events using Baseball Savant data.
team_consistency(year=2015)
fips_plus(df)
woba_plus(df)
statcast_df <- scrape_statcast_savant("2017-05-01", "2017-05-02")
sc_df <- label_statcast_imputed_data(statcast_df)
mean(sc_df$imputed)
df <- statcast_search(start_date = "2016-04-06", end_date = "2016-04-15",
playerid = 621043, player_type = 'batter')
run_expectancy_code(df, level = "plate appearances")
df <- statcast_search(start_date = "2016-04-06", end_date = "2016-04-15",
playerid = 621043, player_type = 'batter')
df <- run_expectancy_code(df, level = "plate appearances")
linear_weights_savant(df, level = "plate appearance")