library(shiny)
monthApp <- function(filter = filter, ...) {
ui <- navbarPage(
"Sample app",
tabPanel(
datasetInput("dataset", filter = filter),
tableOutput('data')
)
)
server <- function(input, output, session) {
data <- datasetServer("dataset")
output$data <- renderTable(head(data()))
}
shinyApp(ui, server, ...)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.