Skip to content

The purpose of this project was to do election data audit for a State election commission.This script can be used for any future election given the csv file would have relevant data. We just have to replace/add the name of candidates and counties in csv file

Notifications You must be signed in to change notification settings

sainigagandeep/Election_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Election_Analysis

Project Overview

The purpose of this project was to do election data audit for a State election commission. By using Python, we have to analyize the following:

  1. Calculate the total number of votes cast.
  2. Get a complete list of candidates who received votes.
  3. Calculate the total number of votes each candidate received and calculate the percentage of votes each candidate won.
  4. Determine the winner of the election based on popular vote. additional requests:-
  5. Calculate the voter turnout for each county.
  6. Calculate the percentage of votes from each county of the total count of votes.
  7. Determine the county with the highest voter turnout.

Resources

  1. Visual Studio
  2. Git Bash
  3. Python 3.7.6
  4. Google

The analysis of the election show that:

  1. There were 369,711 total votes cast.

  2. The candidates and their voting share:

    • Charles Casper Stockham: 23.0% (85,213)
    • Diana DeGette: 73.8% (272,892)
    • Raymon Anthony Doane: 3.1% (11,606)
  3. The winner of the election:

    • Diana DeGette with 272,892 votes, and grab 73.8% of the total votes.
  4. Identifie counties and their voter turnout is as follows:

    • Jefferson: 38,855
    • Denver: 306,055
    • Arapahoe: 24,801
  5. The percentage of votes in each county from the total votes is as follows:

    • Jefferson: 10.5%
    • Denver: 82.8%
    • Arapahoe: 6.7%

Election_Analysis

## Election Audit Summary This script can be used for any future election given the csv file would have relevant data. We just have to replace/add the name of candidates and counties in csv file.

contact me --ggnsaini08@gmail.com

About

The purpose of this project was to do election data audit for a State election commission.This script can be used for any future election given the csv file would have relevant data. We just have to replace/add the name of candidates and counties in csv file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages