Last active
June 20, 2020 16:03
-
-
Save JohnCoene/a1108b99b03b565b96d4a80748adac8c to your computer and use it in GitHub Desktop.
erer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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