{"id":19328866,"url":"https://github.com/bishopce16/election_analysis","last_synced_at":"2025-06-16T08:32:19.511Z","repository":{"id":41135333,"uuid":"507402996","full_name":"bishopce16/Election_Analysis","owner":"bishopce16","description":"The Colorado Board of Elections requested help to complete an election audit for a recent local congressional election.","archived":false,"fork":false,"pushed_at":"2022-06-30T22:09:23.000Z","size":1768,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T20:40:39.670Z","etag":null,"topics":["python","visual-studio-code"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bishopce16.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-25T19:44:11.000Z","updated_at":"2022-09-09T00:41:22.000Z","dependencies_parsed_at":"2022-09-08T02:45:09.635Z","dependency_job_id":null,"html_url":"https://github.com/bishopce16/Election_Analysis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bishopce16/Election_Analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bishopce16%2FElection_Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bishopce16%2FElection_Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bishopce16%2FElection_Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bishopce16%2FElection_Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bishopce16","download_url":"https://codeload.github.com/bishopce16/Election_Analysis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bishopce16%2FElection_Analysis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260126402,"owners_count":22962640,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","visual-studio-code"],"created_at":"2024-11-10T02:25:04.354Z","updated_at":"2025-06-16T08:32:19.495Z","avatar_url":"https://github.com/bishopce16.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Election_Analysis\n\n## Project Overview of Election Audit:\nThe Colorado Board of Elections requested help to complete an election audit for a recent local congressional election. The audit also included finding the answer to the following:\n\n* Total number of votes cast\n* A complete list of candidates who received votes\n* Total number of votes each candidate received\n* Percentage of votes each candidate won\n* The winner of the election based on popular vote\n* The voter turnout for each county\n* The percentage of votes from each county out of the total count\n* The county with the highest turnout\n------------------------------------------------------------\n\n## Resources\nData Sources: election_results.csv\nSoftware: Python 3.8.9, Visual Studio Code 1.67.2\n\n------------------------------------------------------------\n\n## Election-Audit Results:\n\n* How many votes were cast in this congressional election?\n    - Total Votes: 369,711\n------------------------------------------------------------\n\n* A complete list of candidates who received votes;\n* Provide a breakdown of the number of votes and the percentage of the total votes each candidate received.\n    - Charles Casper Stockham: 23.0% (85,213)\n    - Diana DeGette: 73.8% (272,892)\n    - Raymon Anthony Doane: 3.1% (11,606)\n------------------------------------------------------------\n\n* Which county had the largest number of votes?\n* Provide a breakdown of the number of votes and the percentage of total votes for each county in the precinct.\n    - Largest County Turnout: Denver\n    - County Votes:\n        - Jefferson: 10.5%: (38855)\n        - Denver: 82.8%: (306055)\n        - Arapahoe: 6.7%: (24801)\n------------------------------------------------------------\n\n* Which candidate won the election, what was their vote count, and what was their percentage of the total votes?\n\t- Winner: Diana DeGette\n    - Winning Vote Count: 272,892\n    - Winning Percentage: 73.8%\n------------------------------------------------------------\n\nBelow is a screenshot of the election analysis txt file.\n![Image of Election Analysis txt file](/Resources/election_analysis_txt.png)\n\n------------------------------------------------------------\n\n## Election-Audit Summary:\nBecause the Python code does not have values for the candidate names or counties hard-coded, the script could be applied too other State elections by changing the following:\n* The “file_to_load” variable can easily be given a new path to a different csv file from another state’s election data.\n* The “file_to_save” variable can also be assigned to a new txt file to record the results.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbishopce16%2Felection_analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbishopce16%2Felection_analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbishopce16%2Felection_analysis/lists"}