DaveM2430 commited on
Commit
5b51434
·
verified ·
1 Parent(s): 3fe2f07

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +1 -2
app.R CHANGED
@@ -207,8 +207,7 @@ build_pitcher_stats <- function(df, min_pitches) {
207
  na.rm=TRUE),
208
  .groups = "drop"
209
  ) %>%
210
- left_join(team_lookup, by="Pitcher")
211
- %>%
212
  left_join(
213
  tryCatch(compute_stuff_plus(df), error=function(e) tibble(Pitcher=character(), `Stuff+`=numeric())),
214
  by="Pitcher"
 
207
  na.rm=TRUE),
208
  .groups = "drop"
209
  ) %>%
210
+ left_join(team_lookup, by="Pitcher") %>%
 
211
  left_join(
212
  tryCatch(compute_stuff_plus(df), error=function(e) tibble(Pitcher=character(), `Stuff+`=numeric())),
213
  by="Pitcher"