Giter VIP home page Giter VIP logo

alaska_2020_early_absentee_vote's Introduction

Introduction

More Alaska voters than ever are voting by mail or in early voting this year. This page tracks the numbers as reported by the state.

The data come from the Alaska Division of Elections website It's a 10-page pdf, so I ran a script using tabula-py to extract the data. Additional summary information is available here.

I have republished the data here, where you can download the reports from each day. I had a google sheet that was updating automatically, but that kept breaking.

If you see any errors, contact Ben Matheson. Disclaimer - this may not be fully accurate or up to date. It also may break at any time. This is not official or affiliated with anything...enjoy!

More Details

The Alaska Division of Elections data is originally is published in a 10-page PDF that I parsed to extract the data. This uses a combination of R and Python. The Python uses Tabula to pull out the data. After that, an R script cleans out extra spaces, gaps, and labels the rows by house district and adds descriptions. I wanted to do everything in R, but I couldn't get rJava loaded for the Tabulizer, so the tabula-py library ended up being more expedient.

This page is an RMarkdown document that calculates some summary stats, like percent rejected and then displays the data in several ggplot2 plots. The PDF parsing in particular may be brittle and this could definitely break at anytime.

alaska_2020_early_absentee_vote's People

Contributors

benmatheson avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.