DemocracyClub / ge2015-election-data

Re-usable results data for the 2015 UK Parliamentary Elections
10 stars 8 forks source link

Build Status

UK Parliamentary Elections 2015

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.

Some background

This repo contains two folders, one which will contain CSV files with the votes each party received by constituency.

Collaborating

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:

Votes

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

Seats

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.

Pre validation

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.