Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A mashup to overlaying demographic info with the all the major mass transit routes in the San Francisco Bay Area.
branch: master

This branch is 3 commits behind dangrover:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
code
data
.gitignore
README.md

README.md

Inequality & Mass Transit in the Bay Area

This is a mashup to overlay demographic info with the all the major mass transit routes in the San Francisco Bay Area.

This master branch you’re looking at has the Python code used to generate the data files used by the visualization.. The visualization itself is in the gh-pages branch.

Modifying for other cities and demographic data

To generate the JSON file that the mashup reads data from, run grab_routes.py.

To change it to graph another city, change ALL_GTFS_PATHS in config.py to point to other GTFS feeds available from the transit agency of your choice.

To graph other dimensions, change the MEDIAN_INCOME_TABLE_NAME constant to some other American Community Survey column name. More info available at census.gov. Also, be sure to use your own API key!

Python Requirements

Something went wrong with that request. Please try again.