rdata_game_of_code_2018

Published on March 17, 2018

See the reuse

rdata luxembourg

Informations

Type
Visualization
Topic
Others
ID
5aad4b00d6686c0e8be1e891

Publication

Embed

Permalink

Description

Rdata.lu's contribution to the Game of Code 2018 - Open Data Challenge

We used various data sets, most from the Open data portal to build a Shiny web application. The app helps you make your commute smarter by telling you which bus lines, public bikes, public cars and more you can use.

You can run the app here:

You can also run the app locally by running the map.R script in the /app folder.

The /code folder contains a bunch of R functions that download/update the data. A lot of the data used is download into the /data folder. This might seem archaic compared to using relevant apis, but there are good reasons to it this way: first, there is no api for bus lines; instead, the Verkéiersverbond publishes GTFS files. There is an api for real time access to the buses and stops. However, there seems to be a daily limit (as per the comments here). This is why we decided to use the GTFS files for the bus.

For the public bicycles, we use the real time api to know if bikes are available for a given station, but we also have downloaded the gps coordinates of the bike stations. This makes it easier to put them on a map and draw paths between them.

For carloh, we downloaded the stations. As far as we are aware, there is no real time api for carloh yet.

Weather alerts get automatically updated every time you start the app.

The chargy api was down the day of the datathon, so we did not integrate it to our app.

Used datasets 0

Discussion between the owner and the community about this reuse.

More reuses

Discover more reuses.