Data about every national legislature in the world, freely available for you to use
These are some of the key repos in the EveryPolitician family. There are others.
-
everypolitician (this repo): contains no code, but is where issues/tickets for the whole project live
-
everypolitician-data: where the data is stored -- but if you want to download it, get it from:
- human? go via the EveryPolitician website
- program? use the RawGit CDN, via links in
countries.json
, which we explain here
-
viewer-static: the live website http://everypolitician.org (
gh-pages
) -
viewer-sinatra: Sinatra app for generating a dynamic version EveryPolitician website
-
webhook-manager: sends out EveryPolitician WebHooks: register your URL here!
-
everypolitician-docs: documentation at http://docs.everypolitician.org/ (
gh-pages
)
- rebuilder rebuilds data from source
-
libraries for easily manipulating EveryPolitician data (useful for all devs, but we use the Ruby ones ourselves, of course!):
- Ruby: everypolitician-ruby and everypolitician-popolo.
- Python: everypolitician and everypolitician-popolo
-
handy gems we use when getting the data: wikidata-fetcher, wikisnakker, twitter_username_extractor, facebook_username_extractor, twitter_list, scraped_page_archive
-
gender-balance: repo for the Gender Balance website that crowdsources gender data for EveryPolitician
-
data_pr_change_summarizer: code used by the bot to review a data PR and leave a helpful summary as a comment
The repos for many of our scrapers are kept separately in github.com/everypolitician-scrapers.
The EveryPolitician bot's own page is a good jumping-off point to lots of semi-technical explanations of what's going on (it has its own blog on Medium). For example:
- how the website is built (spoiler: viewer-sinatra โ viewer-static)
- how webhooks are used (you can easily register your app!)
- how the scrapers run (many live on morph.io)
The bot is on twitter as @everypolitician
If you have data for us, or know where to get it, please read our page about how to contribute.
EveryPolitician is a mySociety project.