A website for crowd-sourcing structured election candidate data
https://candidates.democracyclub.org.uk/
YourNextRepresentative is a open source platform for crowd-sourcing information about candidates for political office and making it available as open data to anyone.
The core data that YourNextRepresentative collects includes who is standing, what party they’re standing for, their contact details, their social media accounts etc. The software requires that each change is submitted with a source, so that the collected information can be independently checked.
Installation
See INSTALL.md
Known Bugs
You can find a list of known issues to work on here:
Acknowledgements
This codebase was originally forked from mysociety/yournextrepresentative We no longer track the upstream but we thank mySociety for their work on the project which we have been able to build on.
API Versions
v0.9 is legacy code and is now frozen. v1.0 is currently in alpha. We plan on publishing a v1 API once we have some more feedback from users and we think it’s stable enough.
SOPN Parsing
YNR uses pypandoc
(which relies on pandoc
) to convert SOPN documents to PDF, as needed, to be parsed.
To install pandoc
, visit this page and follow the instructions for you operating system:
https://pandoc.org/installing.html
Once pandoc
is installed
Install pypandoc (or via requirements.txt
):
pip install pandoc
If pypandoc
does not install via pip
, visit https://pypi.org/project/pypandoc/ for further instructions.