This repository is retained for historical purposes, and serve the associated results site. All new development continues at https://github.com/tmccarthy/ausvotes.
A tool for collating and analysing the raw data about Australian Senate elections made available on the Australian Electoral Commission's website. This is essentially a slightly more ambitious rewrite of my other project at HypotheticalSenate. The initial focus will be analysing the 2016 election.
Results and reports from version 0.4 of the tool are available at https://tmccarthy.github.io/SenateDB/.
The AEC makes a huge amount of raw data about elections available on their website. This includes the raw preferences expressed on every single formal ballot paper in the Senate election. The data is made available in CSV format, which does not lend itself to easy analysis.
SenateDB is intended to grow into a set of tools to analyse this data. Its original incarnation (version 0.1) loaded the data into a relational database. You can view that tool here.
SenateDB is built and run with SBT. Simply check it out and run sbt core/run
to generate
the reports.
SenateDB will download the raw data from the AEC the first time it is run (about 180 MB), and then reads through these files to generate the reports. The report generation takes about 17 minutes on my Macbook Pro.
The src/test/resources/au/id/tmm/senatedb/fixtures
directory contains some (truncated) copies of raw AEC data. These
files are © Commonwealth of Australia 2014, and are licenced under the
Creative Commons Attribution 3.0 Australia Licence.
The accompanying website for this project is contained in the docs/
directory. This is built on the
Lanyon theme for Jekyll. It is licenced under the terms of the
docs/LICENCE file (MIT).
The rest of the application is licenced under the terms in the LICENCE file (GNU GPL version 3).