Git Product home page Git Product logo

openelections-data-ms's Introduction

OpenElections Data Mississippi

Converted CSVs of Mississippi election results.

Precinct Results

year general primary
2020 working working
2019 done done
2018 done done
2016 done done
2015 done working
2014 done done
2012 done done
2011 done done
2010 done not started
2008 done working
2007 working not started
2006 not started working

County Results

year general primary
2016 done done
2015 done done
2014 done working
2012 done working
2011 done working
2010 done done
2008 done done
2007 done not started
2006 done not started
2004 not started not started
2002 not started not started
2000 not started not started

To contribute, email [email protected] or find us on Twitter and let us know what counties/elections you'd like to work on. You also can leave a comment on one of the issues in this repository. Volunteers can do as much or as little as they like - one county or all of them.

The Process

TO BE CLEAR: This is data entry work. There is no magic here.

Mississippi stores election results in PDF files at the Secretary of State's site. The files are stored by year, and then either by race (for special elections) or by county (for primary and general elections). The county files contain precinct-level results, organized by office, with precincts labeled vertically across the top. Here's a file from the Nov. 6, 2012 general election in Chickasaw County:

MS county example

File names match the generated_name standard described in our docs. So the CSV file to match the above example would be 20121106__ms__general__chickasaw__precinct.csv.

The OpenElections CSV layout approach is to mirror the results file as much as possible, with one exception: we try to have a single result on each line, rather than multiple candidates or precincts.

MS county CSV example

Where totals are included, leave the precinct column blank and mark the overall winner in each race in the winner column, which takes a boolean value of TRUE for winning candidates:

MS county CSV total example

For elections that have only county-level results, total rows will leave the county blank for races that involve more than one county:

MS multi-county CSV total example

For elections in which two candidates advance to a runoff, both candidates are marked as winner.

Instructions

  • We're only interested in federal, statewide and state legislative offices. No local offices.
  • Don't include precincts which have "X" in the vote totals.
  • Don't include "County" in the county name.
  • Don't include "Precinct" in the name of the precinct.
  • For precincts with numbers in the name, remove any leading zeros (005 becomes 5).
  • Even within the same election, the order of candidates will differ between counties.

How to Contribute

The Git Way
  1. Fork this repository.
  2. Pick an election and add it and your name to the contributors file.
  3. Add CSV results files to your repository.
  4. Submit a pull request when done.
The Non-Git Way
  1. Pick an election.
  2. Email [email protected] to let us know what you're working on.
  3. Create CSV files.
  4. Email [email protected] with the files attached or a link to the files.

Questions

If you run into questions about the PDFs or how to enter the results, check out the Issues or file a new one.

openelections-data-ms's People

Contributors

alasdair-mackintosh avatar alykat avatar dankeemahill avatar dwillis avatar ghing avatar ijanderso avatar jamesclarence avatar jeremiak avatar jmillermi avatar nk9 avatar rfilmyer avatar saewitz avatar samuelmahle avatar smcalilly avatar stedy 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.