https://github.com/ejw-data/python-scripts-election
Python script extracting cast votes into common data structures and printing the results to the terminal.
https://github.com/ejw-data/python-scripts-election
python
Last synced: 11 months ago
JSON representation
Python script extracting cast votes into common data structures and printing the results to the terminal.
- Host: GitHub
- URL: https://github.com/ejw-data/python-scripts-election
- Owner: ejw-data
- Created: 2022-06-14T07:07:04.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-27T13:52:51.000Z (about 4 years ago)
- Last Synced: 2025-03-15T16:44:32.214Z (over 1 year ago)
- Topics: python
- Language: Python
- Homepage:
- Size: 17.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# python-scripts-election
Author: Erin James Wills, ejw.data@gmail.com

Photo by [Janine Robinson](https://unsplash.com/@janinekrobinson?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/election?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)
## Overview
Simple script that extracts voter data from a csv file and summarizes the individual records in the terminal. This script is an example of how to use a dictionary.
## Technologies
* Python
## Data Source
Dataset generated by Trilogy Education Services. Origins beyond this is unknown.
## Setup and Installation
1. Environment needs the following:
* Python 3.6+
* os
* csv
1. Activate your environment
1. Clone the repo to your local machine
1. Navigate the terminal to the repo folder
1. In the terminal, run `python main.py`
1. Note: the `time_test.py` file also uses the time module as part of script run-time tracking. All of these modules should be a part of the python base installation from anaconda.org