Saskatchewan New Democrats

2016 Saskatchewan Election Candidate Finder

The Saskatchewan New Democrats (NDP) needed a tool for the 2016 provincial election to allow citizens to find their local candidate by searching their postal code. From there, citizens could learn more about the candidate, volunteer for them, or donate to them.

This tool needed a Rails API application to take postal codes in and return the riding the user belonged to. For this, I used CartoDB to upload the provincial election shapefile, and then, using a SQL query, retrieve the riding to which the individual belonged.

An Angular front-facing application was built, which, once the user's riding was retrieved from the Rails app, would query NationBuilder for the candidate that was running in that riding, and retrieve their information for display.