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")
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.