cjer / open-bus-explore

Where I play with GTFS and SIRI, some notebooks also published in https://cjer.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

open-bus-explore

Where I play with GTFS, some notebooks also published in https://cjer.github.io

Setup

To run these notebooks you need Python 3.5+ with all the necessary packages, Jupyter Notebook (and an internet connection for some data fetches).

Downloads and installs

  1. Install Anaconda3 - this will give you all the basic scipy libraries (pandas, matplotlib, seaborn...) and Jupyter notebook. I'm using version 4.4, can't vouch for 5+. Get the right version here, make sure you're installing Anaconda3 and not 2
  2. You might need to update some libraries (conda update libname [-c conda-forge])
  3. Install partridge
  4. (for notebook 3) Install networkx
  5. (for notebook 3) Install peartree In the near-ish future, I'll try to publish a docker container and/or a spec-file for creating an environment more easily. A binder might pop-up at anytime too.

Run

After you have everything installed, run a local jupyter notebook (shortcut should be provided with the Anaconda installation), pointing it to the folder you cloned the repo to. And voila - you're on your own.

Notes

Note that the data is based on the time of download, so some parameters might need to be changed (e.g. the date for filtering the Partridge GTFS feed).

Please let me know if something's off or missing with anything.

About

Where I play with GTFS and SIRI, some notebooks also published in https://cjer.github.io

License:MIT License


Languages

Language:Jupyter Notebook 76.1%Language:HTML 23.8%Language:Python 0.1%