jeancarlov / Election-Analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Election_Anlysis

Overview of Election Audit:

A Colorado Board of Elecitons employee has given you the following task to complete the election audit of a recent local congressional election.

  • Candidate Results Objective:
  1. Calculate the total nummber of votes cast.
  2. Get a complete list of candidates who received votes.
  3. Calculate the percentage of votes each candidate won.
  4. Determine the winner of the election based on popular vote.
  • County Results Objective:
  1. The voter turnout for each county
  2. The percentage of votes from each county out of the total count
  3. The county with the highest turnout

Resources

  • Data Source: election_results.csv
  • Software: Python 3.9.7. Visual Studio Code

Election-Audit Results:

The analysis of the election show that:

  • There were 369,711 votes cast in the election.

  • The candidates were:

    • Candidate Charles Casper Stockham
    • Candidate Diana DeGette
    • Candidate Raymon Anthony Doane
  • The candidate results were:

    • Candidate Charles Casper Stockham received 23.0% of the vote and 85,213 number of votes.
    • Candidate Diana DeGette received 73.8% of the vote and 272,892 number of votes.
    • Candidate Raymon Anthony Doane received 3.1% of the vote and 11,606 number of votes.
  • The winner of the election was:
    • Candidate Diana DeGette, who received 73.8% of the vote and 272,892 number of votes
  • The county votes result were:

    • Jefferson county: 10.5% (38,855)
    • Denver county: 82.8% (306,055)
    • Arapahoe county: 6.7% (24,801)
  • The winner county with the most votes:

    • Winner: Denver county cast the most votes at 82.8% (306,055).

Election-Audit Summary:

This election audit will summarized the requested task by the colorado board of election to calculate key results from the votes cast at the election. This file was develop to support the county election system with increase effiency in data collection, to reduced the probability of human error, and to reduce the expense budget by allocating resources to other needed task to provide an accurated and trusted elections result. This automation script file can be modify to track the success rate of each candidate in each county as well as to calculate success of each candidate on the the different demography ranges of age.

About


Languages

Language:Python 66.7%Language:Jupyter Notebook 33.3%