library(tidyverse) library(shiny) library(shinybusy) library(mdsr) mergedViolations <- Violations %>% left_join(Cuisines) ui <- fluidPage( titlePanel("Restaurant Explorer"), fluidRow( # some things take time: this lets users know add_busy_spinner(spin = "fading-circle"), column( 4, selectInput(inputId = "boro", label = "Borough:", choices = c( "ALL", unique(as.character(mergedViolations$boro)) ) ) ), # display dynamic list of cuisines column(4, uiOutput("cuisinecontrols")) ), # Create a new row for the table. fluidRow( DT::dataTableOutput("table") ) )