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

EveryPolitician compilation #21

Closed
jpmckinney opened this issue Oct 22, 2015 · 6 comments
Closed

EveryPolitician compilation #21

jpmckinney opened this issue Oct 22, 2015 · 6 comments

Comments

@jpmckinney
Copy link
Contributor

Auto-generate compilations of EveryPolitician data on Heroku.

  1. Subscribe to a hook on EveryPolitician to be notified any time there's a data change
  2. Iterate through the legislatures
  3. Build a master names file and/or terms file
  4. Store it somewhere (e.g. in a GitHub Pages repo)

For this, https://github.com/everypolitician/everypolitician-writeinpublic is a good template.

@jpmckinney jpmckinney mentioned this issue Oct 22, 2015
19 tasks
@davewhiteland
Copy link

Hi @jpmckinney heads up that as part of the job of documenting the way we support this, I'm going to be attempting to knock such a thing together; working on it now

@jpmckinney
Copy link
Contributor Author

I had thrown something together at https://github.com/influencemapping/whos_got_dirt-json_file_api but it's search mechanism is terrible: influencemapping/whos_got_dirt-json_file_api#1

@jpmckinney
Copy link
Contributor Author

Oops, sorry, I thought this was a different issue! Nevermind.

@davewhiteland
Copy link

A names.csv exists for you now, @jpmckinney

https://everypolitician.github.io/everypolitician-names/names.csv (warning: big file!) is being regenerated whenever EveryPolitician data changes.

Under the hood: https://github.com/everypolitician/everypolitician-names is making that file in its own gh_pages branch, subscribed to EveryPolitician's "hey-data-has-changed" webhook.

@jpmckinney
Copy link
Contributor Author

Awesome, thanks!

@jpmckinney
Copy link
Contributor Author

Done. Adding API handlers for EveryPolitician is covered in #3.

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

No branches or pull requests

2 participants