Skip to content

anapereda/Election-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Election-Analysis

Project Overview

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

  1. Calculate the total number of the votes cast.
  2. Get a complete list of candidate who received votes.
  3. Calculate the total number of votes each candidate received.
  4. Calculate the percentage of votes each candidate won.
  5. Determine the winner of the election based on vote.

Resources

  • Data Source: election_results.csv
  • Software: Python 3.6.7, Visual Studio Code, 1.38.1

Summary

The analysis of the election shows that:

  • There were 369,711 votes cast in the election.
  • The candidates were:
  • Charles Casper Stockham
  • Diana DeGette
  • Raymon Anthony Doane
  • The candidate results were:
  • Charles Casper Stockham received 23.0% of the votes and 85,213 number of votes
  • Diana DeGette received 73.8% of the votes and 272,892 number of votes
  • Raymon Anthony Doane received 3.1% of the votes and 11,606 number of votes
  • The winner of the election was:
  • Candidate Diane DeGette, who received 73.8% of the votes and 272,892 number of votes

Challenge Overview

The analysis of vote turnout per country shows that:

  • The counties analyzed were:
    • Jefferson
    • Denver
    • Arapahoe
  • The county results were:
    • Jefferson received 10.5% of the votes and 38,855 number of votes.
    • Denver received 82.8% of the votes and 306,055 number of votes.
    • Arapahoe received 6.7% of the cotes and 24,801 number of votes.
  • The county with the larges vote turnuout was:
    • Denver, which received 82.8% of the votes and 306,055 number of votes.

Challenge Summary

Audit results show that Diana DeGette won the election with 73.8% of the votes and 272,892 number of votes and the county with the largest turnout was Denver with 82.8% of the votes and 306,055 number of votes.

About

Data Bootcamp Module 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages