Skip to content

Perform calculations on election data to determine total votes, who won etc.

Notifications You must be signed in to change notification settings

BaileeRice/Election_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Election_Analysis

OVERVIEW

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

  1. Calculate total votes cast

  2. Get list of candidates

  3. Calculate the votes each candidate got

  4. Calculate the % of votes each candidate won

  5. Determine a winner based off popular vote

RESOURCES

Data Source: election_results.csv

Software: Python 3.10.4, Visual Studio Code 1.68

SUMMARY

The analysis of the election shows that:

-There were 369,711 total votes cast

-The candidates were:

Charles Casper Stockham

Diana DeGette

Raymon Anthony Doane

RESULTS

Charles Casper Stockham recieved 23.0% of the vote. (85,213)

Diana DeGette recieved 73.8% of the vote. (272,892)

Raymon Anthony Doane recieved 3.1% of the vote. (11,606)


WINNER: Diana DeGette

Winning Vote Count: 272,892

Winning Percentage: 73.8%

About

Perform calculations on election data to determine total votes, who won etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages