03/08/2019

Overall goal of our app

We’d like to build a system locating the closest hospital for habitants of Paris.

Our app should be able to :
- Let the user indicate its longitude and latitude coordinates
- Locate the closest hospital
- Estimate the time to arrival based on the user’s speed

Methodology

1/ Create Data

First, let’s build a list of the 12 largest hospitals in inner Paris.

##  Factor w/ 12 levels "Armand-Trousseau",..: 11 2 8 6 4 7 3 1 9 12 ...

2/ Look for closest hospital based on user’s position

Let’s calculate the distance from user’s position to all hospitals. We then order the hospitals according to their distance.
Below is an example of output with the coordinates (48.86; 2.34) :

##          name      lat     lng     dist
## 12 Hotel Dieu 48.85395 2.34776 881.3277

3/ Use speed to calculate time to reach the closest hospital.

Map Example

Using this small app, Paris residents may locate easily the closest hospital from their location.

Further improvements

To increase practicability, we may :
- use smartphone’s geolocation feature to get latitude and longitude coordinates automatically
- add informations on each hospital (such as areas of expertise, etc.)
- connect the service with Google maps to deliver a road itinerary to the user