bragisig / straeto-data

Data for (hopefully) all publicly available and user contributed static data for Strætó bs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strætó data

This repository contains data files for (hopefully) all publicly available and user contributed static data for Strætó bs. which provides the public transportation for the greater Reykjavík area.

Which data is available

Route stops

In the stops folder, the files are named as such

routeNr-direction-endStop[variant].csv

For example route 1 going from Hlemmur towards Klukkuvellir is named 1-A-Klukkuvellir.csv. A few routes have either branches or take different routes at certain times a day, thus have a variant, such as 12-A-Breiðhöfði_Ártún-1.csv.

Route paths

The routes data is included in the routes folder. The format should be fairly self-explanatory but one should be aware that the data is drafted up in Google Earth so it is far from perfect.

Estimated timetables

Estimated timetables have been generated by combining the route stops and scraped data from Strætó's website. The estimation is done by calculating the distance between each stop on a route, and from the scraped data, missing times are inferred.

In the timetables folder, the same naming pattern is used as for the route stops above. Within each folder the trips are grouped by day and within those sorted by time.

The format of each CSV file is stopId,time,source, where the stopIdand timeare self explanatory. The source denotes where the data comes from, either scraped or estimated.

For example the first trip of route 1 going to Klukkuvellir on a Monday is found in timetables/1-A-Klukkuvellir/weekdays/1.csv.

Caveat

  • These timetables are estimates.
  • A few routes are missing: 51, 52, 57, 71, 72 and 73.

Contributing

If you would like to contribute data that you have, either fork this repository and send a pull request or submit an issue with whatever you have.

License

The allStops.csv file was provided by Strætó bs. and the license of which is unclear, but could be published online.

The remaining data is dual licenced under CC BY-SA 3.0 and ODbl 1.0.

CC BY-SA 3.0

Thanks (in no particular order)

About

Data for (hopefully) all publicly available and user contributed static data for Strætó bs.