Coder Social home page Coder Social logo

iamthatiam777 / election-geodata Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nvkelso/election-geodata

0.0 0.0 0.0 2.5 GB

Precinct shapes (and vote results) for US elections past, present, and future

Shell 7.85% Makefile 86.42% Python 3.11% CSS 1.97% Dockerfile 0.66%

election-geodata's Introduction

Election Geodata

Precinct shapes (and vote results) for US elections past, present, and future

Download data

Preview render

MAP KEY

  • Dark green = newer 2016-2017 precincts
  • Medium green = 2014-2015 precincts
  • Light green = 2011-2012-2013 precincts
  • Light brown = older 2010 precincts
  • Medium brown = missing precincts

Background

I've been reading Mike Migurski's excellent blog series 1 and 2, on US election data and redistricting and this repo is in repsonse to his call for better data.

For analysis to be rigorous, geographic shape data is needed at the precinct level, and vote results for local races like state house, state senate, and federal representative to the U.S. Congress is essential. They must be matched up per year, as precinct voting districts often change each election.

This repo is an effort to gather this essential data and distribute it as open data.

Gathering data

Please browse the issues attached to this Github repo to identify sources and import shapefiles for precincts. The goal is to have state-wide shapefiles for multiple dates corresponding to election years (like 2008, 2010, 2012, 2014, and 2016). Statewide is prefered, but county and city are also interesting.

If you also find election result information along the way my current thinking is it's better to contribute to the Open Elections project directly, but maybe it's easier to do that here and then link up over there later.

Possible Sources:

  • State elections officials (eg secretary of state)
  • Local (county) election officials (eg registrar of voters)
  • Open Elections – a Github-based project by journalists Serdar Tumgoren and Derek Willis
  • Data hackers and data journalists, like LA Times
  • Census 2010 (src)
    • For the 2010 Census, only Rhode Island did not participate in Phase 2 (the Voting District/Block Boundary Suggestion Project) of the 2010 Census Redistricting Data Program. Kentucky chose not to provide VTDs as part of their participation in Phase 2, and the states of Montana and Oregon provided VTDs for some counties. Therefore, for 2010 Census data products, no VTDs exist in select counties in Montana and Oregon or for the states of Rhode Island and Kentucky in their entirety.

Credits

No permission is needed to use Election Geodata. Crediting the project, authors, and linking back is recommended but not required.

Short text:

Source: election-geodata.

Long text:

Source: Precinct-level maps from election-geodata compiled by Nathaniel Kelso and Michal Migurski.

See also:

  1. baby steps towards measuring the efficiency gap - Mike's follow-up post
  2. things I’ve recently learned about legislative redistricting - Mike's original post

Building From Scratch

Code for building output maps, nationwide packages, and uploading downloadable files can be founder under docker/ directory.

election-geodata's People

Contributors

almccon avatar eczajk1 avatar hodgesmr avatar karpet avatar migurski avatar mvered avatar nvkelso avatar saranrapjs avatar sigpwned avatar wtadler 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.