Skip to content

Consolidated State, Local and Federal election data across the USA

License

Notifications You must be signed in to change notification settings

electionscience/election_data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Election_data

Consolidated State, Local and Federal election data across the USA

Goals

  • A unified dataset for all elections across the USA
  • A simple tool to query that data to ask questions such as "all elections where the winners have won with fewer than 50% of the vote"

Tasks/Tools

Python

  • Pandas
  • DataTable ?
  • Jupyter?

Scraping Maybe an instance of CKAN for archiving the data? Probably best to store links/CSVs in the repo for now. Do we need a database/backend? What does our standardized format look like?

Importing

Identify and download source Create parser python script to convert to our standardized format

Dataset Sources

Alabama

Alaska

Arizona

Arkansas

California - California Elections Data Archive (CEDA)

Colorado

Connecticut

Delaware

Florida

Georgia

Hawaii

Idaho

Illinois

Indiana

Iowa

Kansas

Kentucky

Louisiana

Maine

Maryland

Massachusetts

Michigan

Minnesota

Mississippi

Missouri -

Montana

Nebraska

Nevada

New Hampshire

New Jersey

New Mexico

New York

North Carolina

North Dakota

Ohio

Oklahoma

Oregon

Pennsylvania

Rhode Island

South Carolina

South Dakota

Tennessee

Texas

Utah

Vermont

Virginia

Washington -

Find the year, go to Export Results, select All Counties:

https://results.vote.wa.gov/results/20211102/export.html

https://results.vote.wa.gov/results/20211102/export/20211102_AllCounties.csv

West Virginia

Wisconsin

Wyoming

About

Consolidated State, Local and Federal election data across the USA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages