Code Monkey home page Code Monkey logo

addsub's Introduction

AddSub

  • Detect additions and subtractions to Florida's state voter rolls.
  • Compute demographic statistics on the changes
  • Generate CSV output with results

Overview

This simple set of code is designed to allow you to determine who has been added or subtracted from Florida's voter rolls by comparing the full list from month to month. But not just all voters, but voters in a variety of demographic groups.

The thing that makes this unique is its ability to analyze the intersectional nature of voters. Want to know how african-american women have been added/removed from voting rolls? You can do that. But to do that, the code has to look at each voter and determine which category (that you have chosen) they fall into.

The list of categories is defined in main.py as the list of filters to use. You can have can abritrary number of filters with arbitrary complexity. There are several examples given in the code to get you started.

Do you wish for different / additional statistics that the filters support but do not know python? Contact me on Twitter at @SocialSeerCom and I'll see what I can do for you.

Where to get historical voter data

You can download historical sets of Florida voter lists from here.

The older rolls are conveniently in .zip files so you can download them all at once. The recent ones are not, and you will have to download them one at a time (or figure out how to automate them).

Put each month's data into a separate directory as this program relies on that structure to process the data from each county.

Todos:

  • Detect people who have moved from one county to another. Right now, they are treated as deletions from one county and additions to another.

This is written in python version 3.5, and relies on some features present only in 3.5. Only standard libraries are used at this point.

Copyright 2016 Charles McGuinness This work is licensed under a Creative Commons Attribution 4.0 International License.

addsub's People

Stargazers

Tim avatar Charles McGuinness avatar

Watchers

Charles McGuinness avatar James Cloos avatar

Forkers

marwahaha

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.