Extract city statistics via web APIs
We have following data sources:
- OpenStreeMap city data from metro extracts.
- Factual API: http://developer.factual.com/
- AngelList API: https://angel.co/api
Python 3 is required. Addtional Python packages can be found in requirements.txt
.
To run the code, the machine need to have PostGIS and osm2pgsql
.
The code is only tested on Linux, i.e. wget
and sudo
are used to download OSM data and create postgres database.
Configurations are in extract.ini
. Factual and AngelList API keys are needed.