Would wish to add user input as well in addition to what has been already listed. Then I'm using a function to save the data entered to DB.
library(shiny)
ui <- fluidPage(
titlePanel("Select or add Data"),
sidebarLayout(
sidebarPanel(
selectInput("selectedregion","Select Region",multiple = FALSE,c("North", "East", "West"))
),
mainPanel()
)
)
server <- function(input, output) { }
shinyApp(ui = ui, server = server)
I wish to give option to the user to add "south" which is in addition to the data listed.