Skip to content

ssyed21/election-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

election-analysis

Project Overview

  • This project delivers on determining the election results for the Colorado Board of Elections. The code gives the winning candidate and also the breakdown of all of the candidates that ran for office. The code also determines which county brought in the most votes while also giving the breakdown of the votes by county.

Resources

  • election_results.csv
  • Python 3.9 and VS Code

Summary/Analysis

  • The election results were as follows:
  • The total amount of votes was 369,711
  • Results for the election:
  • Jefferson: 10.5% (38,855)
  • Denver: 82.8% (306,055)
  • Arapahoe: 6.7% (24,801)
  • Denver had 82.8% of the votes with 306,055 votes
  • Charles Casper Stockham: 23.0% (85,213)
  • Diana DeGette: 73.8% (272,892)
  • Raymon Anthony Doane: 3.1% (11,606)
  • Diana DeGette was the winning candidate with 73.8% of the votes with a total of 272,892 votes
  • This code could be modified for future election analysis so that more elections can be analyzed quickly and fairly. A way the code could be changed for future elections is to print out the results so that it is immediately ready for a press release. Another way to modify the code is to include political party data so that further analysis can be made.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages