Petition Parser

Motivation

This all spawned from a single question - what percentage of signatures on a UK petition are from outside of the UK? I was primarily curious about petitions surrounding religion, LGBT issues and medical issues.

Requirements

  • Provide additional information about a petition
  • Provide details about the signatures on a petition
  • Provide a more readable format for the data

Solution

Let Python handle it! I built out a script that retrieves the JSON files that are provided in order to analyse the data and get the answer to my burning questions - turns out there are a lot more signatures from outside the UK than you would expect!

There are plans to expand this in the future to get more information from a pool of petitions rather than just a single petition. I believe that this will give a better insight into the motivation behind this project.

Tech Stack

  • Python
  • Pandas