Spaces:
Build error
Build error
Update app.R
Browse files
app.R
CHANGED
|
@@ -15,6 +15,15 @@ summarise(
|
|
| 15 |
.groups = 'drop'
|
| 16 |
)
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
pitch_colors <- c(
|
| 19 |
"FF" = "#FF4136",
|
| 20 |
"SI" = "#FF851B",
|
|
|
|
| 15 |
.groups = 'drop'
|
| 16 |
)
|
| 17 |
|
| 18 |
+
pitch_type_lookup <- data.frame(
|
| 19 |
+
pitch_name = c("Changeup", "Curveball", "Cutter", "Eephus", "Forkball",
|
| 20 |
+
"Four-Seam Fastball", "Knuckle Ball", "Knuckle Curve",
|
| 21 |
+
"Screwball", "Sinker", "Slider", "Slurve", "Splitter", "Sweeper"),
|
| 22 |
+
pitch_abbr = c("CH", "CU", "FC", "EP", "FO", "FF", "KN", "KC",
|
| 23 |
+
"SC", "SI", "SL", "SV", "FS", "ST"),
|
| 24 |
+
stringsAsFactors = FALSE
|
| 25 |
+
)
|
| 26 |
+
|
| 27 |
pitch_colors <- c(
|
| 28 |
"FF" = "#FF4136",
|
| 29 |
"SI" = "#FF851B",
|