An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# python-scripts-election

Author: Erin James Wills, ejw.data@gmail.com

![Python Script](./images/votes-script.png)
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