The results of 2015 UK Parliamentary Elections are due to be announced on Friday 8th May, 2015.
This repo will contain the results by constituency for the UK. We're asking you to help us collect this data, and use Cid to validate the data when collaborators submit it.
This repo contains two folders, one which will contain CSV files with the votes each party received by constituency.
First, fork the repo, then clone it to your local machine either on the command line like so:
git clone git@github.com:YOUR_USERNMAE/ge2015-election-data.git
or using Github for Mac
Then add two CSV files in the following formats:
The votes CSVs should live in the folder /votes and have the following columns:
The filename should have the format CONSTITUENCY-NAME-votes.csv
You can see an example of what the file should look like here
The seats CSVs should live in the folder /seats and have the following columns:
The filename should have the format CONSTITUENCY-NAME-seats.csv
You can see an example of what the file should look like here
Once you have made your changes, push them up to your fork, and open a pull request.
Our robots will then check the format of the data, and apply a status to it. If we're happy, we'll merge the changes.
You can also validate the changes you've made before pushing by running:
gem install cid
cid validate
If all is well, you should see that each file is valid. If not, make the changes and try again.