Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2012 general election precinct results parsing #14

Open
33 tasks
dwillis opened this issue Jun 13, 2017 · 1 comment
Open
33 tasks

2012 general election precinct results parsing #14

dwillis opened this issue Jun 13, 2017 · 1 comment

Comments

@dwillis
Copy link
Contributor

dwillis commented Jun 13, 2017

New Mexico has county-by-county files with precinct-level results that can be parsed using Tabula or another approach. The file name format is 20121106__nm__general__{county}__precinct.csv, where the county name is the slugified version of the county (lowercase, with underscores replacing spaces).

The source PDFs have several sections covering the various kinds of votes: absentee, early voting, "regular" (election-day) and summary. We'd like the CSV files to combine them so that each row represents a single candidate result in a race with all vote types included.

CSV headers: county, precinct, office, district, party, candidate, absentee, early_voting, regular, votes

The votes column represents the numbers in the "county summary" section of the PDFs. The absentee, early voting and regular columns represent votes in those categories.

We are interested in the following offices: President, U.S. Senate, U.S. House, State Senate and State House.

  • Bernalillo
  • Catron
  • Chaves
  • Cibola
  • Colfax
  • Curry
  • De Baca
  • Dona Ana
  • Eddy
  • Grant
  • Guadalupe
  • Harding
  • Hidalgo
  • Lea
  • Lincoln
  • Los Alamos
  • Luna
  • McKinley
  • Mora
  • Otero
  • Quay
  • Rio Arriba
  • Roosevelt
  • San Juan
  • San Miguel
  • Sandoval
  • Santa Fe
  • Sierra
  • Socorro
  • Taos
  • Torrance
  • Union
  • Valencia
@lawsonbh
Copy link

I've started working with the data files in Tabula. - Ostrich

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants