Skip to content

Instantly share code, notes, and snippets.

@JohnCoene
Last active June 20, 2020 16:03
Show Gist options
  • Save JohnCoene/a1108b99b03b565b96d4a80748adac8c to your computer and use it in GitHub Desktop.
Save JohnCoene/a1108b99b03b565b96d4a80748adac8c to your computer and use it in GitHub Desktop.
erer
library(shiny)
ui <- fluidPage(
gioOutput("globe"),
verbatimTextOutput("selected")
)
server <- function(input, output, session) {
output$globe <- renderGio({
random_data(1000) %>%
gio()
})
output$selected <- renderPrint({
print(input$selected_country)
})
}
shinyApp(ui, server)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment