Skip to content

acouch/transit-viz

Repository files navigation

Visuazlising Inequality and other Census Data along transit routes

This still needs a lot of work, but the foundation currently allows the graphing and mapping of census data along transit routes.

Any city with GTFS data can be plugged in. There is a python script to convert GTFS data to produce the stops along each route. GTFS does not provide that by default as the stops along a route could change per day.

Adding new cities

  1. Download gtfs data and add to data folder
  2. Build stops data:
docker build -t tv .
docker run --name=transit_vis -td tv
docker exec -it transit_vis python3 data_convert.py [FOLDER NAME]
docker exec -it transit_vis cat data/[FOLDER NAME]/routes_stops.csv > data/[FOLDER NAME]/routes_stops.csv
  1. Add to app by adding city to "cities" var in ./js/data.js

About

Combining GTFS transit stops with Census data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published