Git Product home page Git Product logo

election_analysis's Introduction

Election Results Challenge

Election Results Challenge

Overview of Election Audit

Assist a Colorado Board of ELections employee, Tom, in an election audit of the tabulated results for a U.S. Congressional precinct in Colorado. Find the election outcomes for voting in counties and for the individual candidates.

Report the following:

  1. The total number of votes cast.
  2. A complete list of candidates who received votes.
  3. The percentage of votes each candidate won.
  4. The total number of votes each candidate won.
  5. The winner of the election based on popular vote.

Resources

Election-Audit Results

Election_Results

The analysis of the election results show that:

  • There were 369,711 votes cast in the election.

  • The candidates were:

    • Charles Casper Stockham
    • Diana Degette
    • Raymon Anthony Doane
  • The counties voting were:

    • Jefferson
    • Denver
    • Arapahoe
  • The counties' voting results were:

    • Jefferson had 10.5% of the vote, with 38,855 people voting from there.
    • Denver had 82.8% of the vote, with 272,892 people voting from there.
    • Arapahoe had 6.7% of the vote, with 11,606 people voting from there.
  • The largest voter turnout was in Denver.

  • The candidate results were:

    • Charles Casper Stockham received 23.0% of the vote and 85,213 number of votes.
    • Diana DeGette received 73.8% of the vote and 272,892 number of votes.
    • Raymon Anthony Doane received 3.1% of the vote and 11,606 number of votes.
  • The winner of the election was Diana Degette, who received 73.8% of the vote and 272,892 number of vote.

Election-Audit Summary

From these results, we can see that it would be beneficial for candidates to campaign in Denver primarily due to Denver having the highest voter turnout. This script can be used for any other election for candidates to see which areas would be more effective to campaign in, as long as small modifications are made according to the different types of elections being analyzed and the according different files being used.

For example, if there was an election amongst states, instead of counties, then the code would be modified to write states instead. Different files would be needed for different elections as well, therefore, modifications would need to be made to any lines involving those different files being read from and being written to, in order to be specific to the election being analyzed.

election_analysis's People

Contributors

lingumd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.