Spaces:
Sleeping
Sleeping
Update app.R
Browse files
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"
|