DaveM2430 commited on
Commit
1f17dbd
·
verified ·
1 Parent(s): 3d70877

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +2 -2
app.R CHANGED
@@ -294,7 +294,7 @@ build_hitter_stats <- function(df, min_pa, hitter_portal) {
294
  filter(!is.na(Name), trimws(Name) != "", grepl(" ", trimws(Name))) %>%
295
  select(Name, Level, Team, Portal, Position, BatSide, `Twitter`, PA,
296
  AVG, OBP, SLG, `BB%`, `K%`, `Swing%`, `Contact%`, `IZ Whiff%`,
297
- `Chase%`, `Hard Hit%`, `Avg EV`, `GB%`, `FB%`, `LD%`,
298
  ) %>%
299
  arrange(desc(PA))
300
  }
@@ -503,7 +503,7 @@ ui <- fluidPage(
503
  tags$div("Pitch Specifications", class = "section-label"),
504
  DTOutput("pitch_type_table")
505
  )
506
- )
507
  # hitter modal
508
  tags$div(
509
  id = "hitter_modal_wrapper", class = "modal-overlay", style = "display:none;",
 
294
  filter(!is.na(Name), trimws(Name) != "", grepl(" ", trimws(Name))) %>%
295
  select(Name, Level, Team, Portal, Position, BatSide, `Twitter`, PA,
296
  AVG, OBP, SLG, `BB%`, `K%`, `Swing%`, `Contact%`, `IZ Whiff%`,
297
+ `Chase%`, `Hard Hit%`, `Avg EV`, `GB%`, `FB%`, `LD%`
298
  ) %>%
299
  arrange(desc(PA))
300
  }
 
503
  tags$div("Pitch Specifications", class = "section-label"),
504
  DTOutput("pitch_type_table")
505
  )
506
+ ),
507
  # hitter modal
508
  tags$div(
509
  id = "hitter_modal_wrapper", class = "modal-overlay", style = "display:none;",