Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update MapIt data and governors CSV from bin/prepare-data too #96

Open
mhl opened this issue Mar 10, 2017 · 0 comments
Open

update MapIt data and governors CSV from bin/prepare-data too #96

mhl opened this issue Mar 10, 2017 · 0 comments

Comments

@mhl
Copy link
Contributor

mhl commented Mar 10, 2017

For performance in development, and so that we're not internet dependent when running the the Sinatra app, we use local copies of the governors CSV file and the MapIt Area data:

mapit/FED.json
mapit/SEN.json
mapit/STA.json
morph/nigeria-state-governors.csv

It would probably make sense to update these from the bin/prepare-data script, though, since that's already dependent on getting data from the internet. This will mean putting a valid MORPH_API_KEY in the Travis config of shineyoureye-prose so that automated deployments from there can still get the governors data from https://morph.io/everypolitician-scrapers/nigeria-state-governors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant