Skip to content

Commit

Permalink
Remove previous major and next major buttons
Browse files Browse the repository at this point in the history
This is because they were jumping to the wrong counts
  • Loading branch information
GusEvans committed Jan 9, 2024
1 parent 4e856e2 commit 6749018
Show file tree
Hide file tree
Showing 102 changed files with 102 additions and 131 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This program allows for the visualisation of the distribution of preferences in

## `process_data.py`

`process_data.py` is responsible for turning the AEC input data and outputting JSON which can be fetched by the webpage. The following additional input files should be downloaded from the AEC tally room website and put in the `data_in` folder for `process_data.py` to work:
`process_data.py` is responsible for turning the AEC input data and outputting JSON which can be fetched by the webpage. The following additional input files should be downloaded from the [AEC tally room website](https://results.aec.gov.au) and put in the `data_in` folder for `process_data.py` to work:
* `SenateCandidatesDownload-{election}.csv`, which contains the candidate information (for mapping candidate name to candidate party).
* `SenateDopDownload-{election}`, which should be another folder which is unzipped from the original AEC download. Each folder then contains files of the form `SenateStateDOPDownload-{election}-{state}.csv`, which is where the actual distribution of preferences data comes from.

Expand All @@ -15,6 +15,6 @@ The `ELECTION_ID_TO_NAME` dict at the top of `process_data.py` has to be manuall
## Credits

- **Code**: Written by Gus Evans and Xavier Cooney, and licensed under the [MIT License](LICENSE).
- **Graphing library**: [Chart.js](https://www.chartjs.org), licensed under the [MIT License](https://github.com/chartjs/Chart.js/blob/master/LICENSE.md).
- **Graphing library**: [Chart.js](https://www.chartjs.org) with the [chartjs-plugin-datalabels](https://chartjs-plugin-datalabels.netlify.app) plugin, licensed under the MIT License ([library](https://github.com/chartjs/Chart.js/blob/master/LICENSE.md), [plugin](https://github.com/chartjs/chartjs-plugin-datalabels/blob/master/LICENSE.md)).
- **Election data**: From the [Australian Electoral Commission](https://www.aec.gov.au)'s online [Tally Room](https://results.aec.gov.au), licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/).
- **Party colours**: From the [English Wikipedia](https://en.wikipedia.org/wiki/Template:Australian_politics/party_colours), licensed under [Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/).
2 changes: 1 addition & 1 deletion data_out/2004-federal-election-NSW.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2004-federal-election-NSW.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2004-federal-election-QLD.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2004-federal-election-QLD.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2004-federal-election-SA.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2004-federal-election-SA.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2004-federal-election-TAS.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2004-federal-election-TAS.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2004-federal-election-VIC.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2004-federal-election-VIC.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2004-federal-election-WA.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2004-federal-election-WA.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2007-federal-election-NSW.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2007-federal-election-NSW.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2007-federal-election-QLD.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2007-federal-election-QLD.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2007-federal-election-SA.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2007-federal-election-SA.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2007-federal-election-TAS.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2007-federal-election-TAS.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2007-federal-election-VIC.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2007-federal-election-VIC.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2007-federal-election-WA.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2007-federal-election-WA.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data_out/2010-federal-election-ACT.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6749018

Please sign in to comment.