server <- shinyServer(function(input, output) {
reactiveDf <- reactive({return(tbl_df(mtcars) %>%
filter(carb %in% input$Category))})
output$df <- renderTable({reactiveDf()})
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.