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:
viewer-sinatra: Sinatra app for generating a dynamic version EveryPolitician website
rebuilder rebuilds data from source
libraries for easily manipulating EveryPolitician data (useful for all devs, but we use the Ruby ones ourselves, of course!):
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 @everypolitbot
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.