Spaces:
Sleeping
Sleeping
Update app.R
Browse files
app.R
CHANGED
|
@@ -207,7 +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())),
|
|
@@ -515,7 +515,7 @@ server <- function(input, output, session) {
|
|
| 515 |
list(className = "dt-left", targets = 0:1),
|
| 516 |
list(className = "dt-center", targets = 2:16),
|
| 517 |
list(orderable = FALSE, targets = c(15, 16))
|
| 518 |
-
)
|
| 519 |
initComplete = JS("function(settings, json) {
|
| 520 |
$('#loading_msg').hide();
|
| 521 |
}")
|
|
|
|
| 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())),
|
|
|
|
| 515 |
list(className = "dt-left", targets = 0:1),
|
| 516 |
list(className = "dt-center", targets = 2:16),
|
| 517 |
list(orderable = FALSE, targets = c(15, 16))
|
| 518 |
+
),
|
| 519 |
initComplete = JS("function(settings, json) {
|
| 520 |
$('#loading_msg').hide();
|
| 521 |
}")
|