TravelEurope

Bahadir Girtten
Sun Jan 25 21:28:42 2015

5 pages (excluding the cover page)

Travel Europe Shiny App


  • You can Use Travel Europe application for planning your trip around Europe.

  • The app draws an interactive Map of Europe based on the Base City you have chosen and the radius that you would like to travel around that Base City

Usage

 1. Select A City from the Dropdown Menu
 2. Enter a radius in km. 

The app will

  • Calculate the cities in the radius
  • Draw the interactive map including those cities
  • And also give a list of the possible cities you can visit as a table

Sample ScreenShot for Sample Input

Dataset Used

Using eurodist dataset

Description

The data give the road distances (in km) between 21 cities in Europe. The data are taken from a table in The Cambridge Encyclopaedia.

str(eurodist)
Class 'dist'  atomic [1:210] 3313 2963 3175 3339 2762 ...
  ..- attr(*, "Size")= num 21
  ..- attr(*, "Labels")= chr [1:21] "Athens" "Barcelona" "Brussels" "Calais" ...

Sample Logic

europe <-as.matrix(eurodist)
radius <-900; 
BaseCity  <- "Vienna"
names(europe[BaseCity,][europe[BaseCity,] < radius])
[1] "Milan"  "Munich" "Vienna"