Spaces:
Sleeping
Sleeping
Update app.R
Browse files
app.R
CHANGED
|
@@ -185,7 +185,7 @@ ui <- grid_page(
|
|
| 185 |
gap_size = "1rem",
|
| 186 |
sidebarPanel(
|
| 187 |
dateInput("date",
|
| 188 |
-
"Date:"),
|
| 189 |
selectizeInput("level","Level:",c("MLB","AAA","FSL","Spring Breakout")),
|
| 190 |
selectizeInput("homeT","Home Team:",mlbteamH[,1]),
|
| 191 |
selectizeInput("awayT", "Away Team:",mlbteamA[,1]),
|
|
@@ -362,7 +362,7 @@ server <- function(input, output) {
|
|
| 362 |
output$myTable <- renderTable({
|
| 363 |
t <- summary_table(game)
|
| 364 |
return(t)
|
| 365 |
-
},width = '
|
| 366 |
output$picture <- renderImage({
|
| 367 |
if(input$league == "MLB"){
|
| 368 |
y <- paste("https://midfield.mlbstatic.com/v1/people/","/mlb/300?circle=false",sep = id)
|
|
|
|
| 185 |
gap_size = "1rem",
|
| 186 |
sidebarPanel(
|
| 187 |
dateInput("date",
|
| 188 |
+
"Date:",""),
|
| 189 |
selectizeInput("level","Level:",c("MLB","AAA","FSL","Spring Breakout")),
|
| 190 |
selectizeInput("homeT","Home Team:",mlbteamH[,1]),
|
| 191 |
selectizeInput("awayT", "Away Team:",mlbteamA[,1]),
|
|
|
|
| 362 |
output$myTable <- renderTable({
|
| 363 |
t <- summary_table(game)
|
| 364 |
return(t)
|
| 365 |
+
},width = '1150px',digits = 1,na = "NA",align = 'c')
|
| 366 |
output$picture <- renderImage({
|
| 367 |
if(input$league == "MLB"){
|
| 368 |
y <- paste("https://midfield.mlbstatic.com/v1/people/","/mlb/300?circle=false",sep = id)
|