Analysing the data of the National Elections in South Africa. In line with ci / cd, this project is still in progress and contributers are welcome
1. Looking at individual parties and provinces they get majority of their votes
Output (gallery)
- The core functionality is completed and includes:
- Automated script for cleaning the given spreadsheets
- Automated script for data analysis
- On the fly changing party and year of election to analyse
- Bar graph plotting from data
- Pie chart plotting from data
An approach to properly clean and format the data was needed to be able to perform analysis on it.
- A linux operating system
- Python3
- Pip
- Internet access (for dependency installation)
- Clone the repository
- Navigate to the project directory
-
Install dependencies
sudo apt-get install python3-tk pip install -r dependencies/requirements.txt
-
Run the script
python3 project.py
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
Nkosikhona Mlaba