Where I play with GTFS, some notebooks also published in https://cjer.github.io
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
partridge_cjer
.gitignore
LICENSE
README.md
Untitled.ipynb
Untitled1.ipynb
eid_total.png
getStationInfoCapstone.py
hebtokenizer.py
may20-19.png
may_19_agencies.html
openbus_00_getting_started.ipynb
openbus_10_stuff.ipynb
openbus_11_ridership.ipynb
openbus_12_gtfstk.ipynb
openbus_13_gtfs_stats.ipynb
openbus_14_15minutes_route_improvements.ipynb
openbus_15_gtfs_stats_prod - Copy.ipynb
openbus_15_gtfs_stats_prod.ipynb
openbus_16_gtfs_stats_usage.ipynb
openbus_17_line_to_cluster.ipynb
openbus_18_haifa_tlv_train_hishmul_boosts.ipynb
openbus_19_id_al_adha.ipynb
openbus_1_basics.ipynb
openbus_20_route_desc.ipynb
openbus_21_siri.ipynb
openbus_22_siri_distributed.ipynb
openbus_2_concurrency.ipynb
openbus_3_geo.ipynb
openbus_4_cleanup.ipynb
openbus_4_loops-Copy1.ipynb
openbus_5_changes.ipynb
openbus_6_new_zone.ipynb
openbus_6_splunk.ipynb
openbus_7_lagbaomer.ipynb
openbus_8_curious_binyamina.ipynb
openbus_9_shavuot.ipynb
openbus_EXTRA.ipynb
requirements.txt
riders2017_scatter.html
train_hishmul.png
trips_map.png
zones.html
zones.json
zones_separate.html

README.md

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.