Olson Jodl Ignacio V. Gayatin
October 14, 2016
This app is an application of the tools and concepts learned in building a Shiny App. This app is built to help users who plan to embark on a backpacking trip to Europe
The output data is derived through a lookup in a stored data table
Here are sample codes used for plotting the map
cities1 <- read.csv("data/europecities.csv")
output$mymap <- renderLeaflet({
recommended1<-switch(input$var1,"Popular areas"=filter(cities1,area=='Popular'))
recommended2<-switch(input$var2,"At most five"=filter(recommended1, cities <= 1)
leaflet() %>% addProviderTiles("Stamen.TonerLite",options = providerTileOptions(noWrap = TRUE)) %>% addMarkers(data=recommended2,popup=recommended2$name)})
Here is the actual app as seen on the web