Skip to content
This repository has been archived by the owner on Feb 3, 2019. It is now read-only.

tmccarthy/SenateDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

This repository is retained for historical purposes, and serve the associated results site. All new development continues at https://github.com/tmccarthy/ausvotes.

SenateDB

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

Results and reports from version 0.4 of the tool are available at https://tmccarthy.github.io/SenateDB/.

Overview

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.

Running

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.

Licence

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).

About

A tool for collating and analysing the raw data about Australian Senate elections

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages