List of council candidates for the 2014 election in csv format along with analysis of addresses
Ruby Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
pdfs
.ruby-version
README.markdown
generate_single_file.rb
process-pdfs.sh
summary.rb

README.markdown

There should be open data on who is standing in elections right? Well if there is I couldn't find it. Instead I downloaded the PDFs that listed candidates from Lambeth website. I used the the command line version of Tabula to extract the data. I then geocoded the data using MySociety's fantastic MapIt API. All the data and code is on github.

Check out the How local are party candidates for the Lambeth council elections blog post for more info.

Setup

Uses tabula.

jruby -S gem install tabula-extractor