Analysing Israel's public transport data
Clone or download
AvivSela Merge pull request #134 from hasadna/siri-retriever-dev
merge "Siri retriever dev" into master
Latest commit 2a285e1 Nov 18, 2018

README.md

Open Bus

Build Status codecov

Open Bus is a project of The Public Knowledge Workshop.

We use public data to improve bus service - and public transport in general - in Israel.

We currently work on one main project, Real Delays, aggregating real-time bus data and comparing it to the planned bus schedules.

Where does the data come from?

  1. Planned (static) data: The Ministry of Transport publishes a file called GTFS. This file contains planned trips data for the next 60 days. Start here for information about GTFS and what we do with it. The gtfs package is where we work on code for reading GTFS, parsing and loading it to DB.
  2. Online data: the MoT has a webservice that provides real-time data. The webservice is called SIRI SM. Start here for information about the protocol. The siri package has code for accessing SIRI. To understand what's going on, start at siri/fetch_and_store_arrivals.py.

Some Jupyter Notebook examples for working directtly with GTFS - Blog posts / github. Get started with the Getting Started notebook.

Want to help?

The project is currently focused on aggregating and analysing data, so we need mainly Python developers and data scientists. We also have side tasks that are quite "stand-alone".

We are using Python 3.5.x . Some of the code requires Postgres SQL, and we are moving to use PostGIS.

To get started, clone the repository, and have a look at our issues and the doc directory, to see what we need help with. You are welcome to check out our new (and still not perfect) ROADMAP too.

We recommend contacting us by filling up the workshop's new volunteer form. There's sometimes, but not always, someone working on the project in the Public Knowledge Workshop Tel-Aviv development meetings (Monday evenings).