Skip to content

arivers444/Election_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 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 votes cast.
  2. Get a complete list of candidates who received votes.
  3. Calculate the total number of votes each candidate received.
  4. Calculate the percentage of votes each candidate won.

Resources

-Data Source: election_results.csv -Software: Python 3.6.1, Visual Studio Code, 1.38.1

Summary

The analysis of the election show 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 vote and 85,213 total votes.
    • Diana DeGette received 73.8% of the vote and 272,892 total votes.
    • Raymon Anthony Doane received 3.1% of the vote and 11,606 total votes.
  • The winner of the election was:
    • Diana DeGette, who received 73.8% of the vote and 272,892 total votes.

Challenge Overview

Additionally, the Colorado Board of Elections would like more information on voter turnout by county.

  1. Calculate the total number of votes cast.
  2. Get a complete list of counties where ballots were cast.
  3. Calculate the total number of votes cast in each county.
  4. Calculate the percentage of votes cast by each county.

Challenge Summary

The analysis of the election show that:

  • There were 369,711 votes cast in the election.
  • The counties were:
    • Jefferson
    • Denver
    • Arapahoe
  • The county results were:
    • Jefferson cast 10.5% of the votes and 38,855 total votes.
    • Denver cast 82.8% of the votes and 306,055 total votes.
    • Arapahoe cast 6.7% of the votes and 24,801 total votes.
  • The county with the largest voter turnout is:
    • Denver which cast 82.8% of the votes and 306,055 total votes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages