Skip to content

Instantly share code, notes, and snippets.

@MatthewJA
Forked from mitchellbusby/description.md
Last active July 31, 2016 00:34
Show Gist options
  • Save MatthewJA/83a44a2b41671042501f5a435f3ff02f to your computer and use it in GitHub Desktop.
Save MatthewJA/83a44a2b41671042501f5a435f3ff02f to your computer and use it in GitHub Desktop.

Love Hansard but wish it was somehow represented on a map? So do we. That's why we created Question Time.

We love political banter, and we wanted to visualise how political debate occurs over time. For each day of the 2015 -- 2016 NSW Parliament, Question Time visualises mentions of NSW suburbs found in the NSW Parliament Hansard with a heatmap of how unusually often each suburb was mentioned.

We also analyse the top five location mentions in NSW on each sitting day and plot them on the same map. Clicking one of these locations opens data in the sidebar about why it was interesting on that day. We're going to start out with snippets of mentions in Hansard, but plan to include more interesting record information via NLP.

We made extensive use of Python's Flask and also the OpenLayers 3 mapping library that gives us heatmaps overlaid onto regular maps for free.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment