Skip to content

femolyn1/Election_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Election_Analysis

Project Overview

Sponsor: Colorado Board of Elections

-Task: 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
  5. Determine the winner of the election based on popular vote

Resources

-Data Sources: 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 -Rayman Anthony Doane -The candidate results were: -Charles Casper Stockham received 23.0% of the vote and 85,213 votes -Diana DeGette received 73.8% of the vote and 272,892 votes. -Rayman Anthony Doane received 3.1% of the vote and 11,606 votes. -The winner of the election was : -Diana DeGette who received 73.8% of the vote and 272,892 votes.

Challenge Overview

The Colorado Board of Elections would like to know the voters turnout for each county that voted in the congressional district.In view of this, the following tasks are required;

  1. Determine the number of vote cast from each county
  2. The percentage of vote each county contributed to the election
  3. The county which had the largest turnout

Summary

The analysis of the election show that: -There were 369,711 votes cast in the election -The names of the counties in the district were; -Jefferson -Denver -Arapahoe -The county results were: -Jefferson contributed 10.5% votes to the election with 38,855 votes -Denver contributed 82.8% votes to the election with 306,055 votes -Arapahoe contributed 6.7% votes to the election with 24,801 votes -The county with the largest turnout was: -Denver

About

Using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages