inst/shiny-examples/myapp/ui.R

data(package = "weatherstar", "all_code")
codes <- all_code$Code

ui <- fluidPage(

  titlePanel("Plot Temperature History"),

  sidebarPanel(
    selectInput("code", "airport code", choices = codes  )
  ),

  mainPanel(
    plotOutput("plot_temp"),
    dataTableOutput("table")
  )
)
floatgreen/weatherstar documentation built on May 11, 2019, 3:12 p.m.