TBD
This project is part of Data Science Working Group at Code for San Francisco
TBD
- Bubble map/cartogram:
- CA baselayer
- bubbles for each tract:
- radius encodes data from CPUC (upload/download speed)
- color encodes census tract data (income levels)
- more info on chart to the side
Name | Slack Handle | Contribution |
---|---|---|
Dylan Sather | @dylburger | Analysis |
Sanat Moningi | @sanat | Visualization |
Tyler Field | @tyler | Visualization |
Geoffrey Pay | @gpay | Visualization |
- TBD
At the moment, we have just started this project. If there's something you want to help out with, here's how to get started:
Fork this repo, then clone your repo locally
$ git clone <your-repo>
$ cd <this-repo's-name>
$ git remote add upstream <this-repo>
Launch a local server. If you're on a Mac, you already have SimpleHTTPServer installed:
$ cd path/to/local/clone
$ python -m SimpleHTTPServer
You could also use http-server if you wanted
Create a feature branch:
$ git checkout -b <feature-branch>
Do some work:
$ vim <some-files>
When you're ready, commit, merge any upstream changes, deal with conflicts, and push your branch (aka, forking workflow)
$ git commit -am 'my awesome feature'
$ git pull upstream master
# solve conflicts
$ git push
Create a Pull Request from your pushed branch (compare branch) to this repo (base branch)
...
Profit!
census shapefile shapefiles
data steps:
- download shapefile (direct link 439MB) of California census tract blocks
- scrape properties of shapefiles into csv
ogr2ogr -f CSV caCensusBlocks.csv tl_2010_06_tabblock10.shp
- income estimates only available for blockgroup level. scrape from census API, posted at numeracy
- test results from cpuc pulled out of looker
- join data using node script
data/join.js
- join lon/lat from caCensusBlocks.csv to CPUC data
- join income from ca-income-by-blockgroup.csv to CPUC data
- new data file is "output.csv"