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 #37

Closed
62 tasks done
dwillis opened this issue Jan 6, 2018 · 5 comments
Closed
62 tasks done

2012 General Election Precinct Results #37

dwillis opened this issue Jan 6, 2018 · 5 comments

Comments

@dwillis
Copy link
Contributor

dwillis commented Jan 6, 2018

If you want to work on a county, add a comment saying which one you'd like to work on or email [email protected]. You can either email us finished CSV files or submit a pull request, whatever is easiest.

You'll find 2012 results files you'll be converting in some of the county-specific folders in the NY sources repository. Many of these are either PDFs or Excel files, and in some cases you'll need to convert a number of office-specific files. For electronic PDFs, we recommend using Tabula, which is free, to extract data. The goal is to create a single CSV file for each county, with the following headers:

county, precinct, office, district, party, candidate, votes

If a county reports votes by type, add a absentee column for those votes and use votes for the total number.

For the following offices: President, U.S. Senate, U.S. House, State Senate, State Assembly. Since NY reports separate candidate-and-party totals, you should list each combination of candidate and party on a separate line. You can use the Herkimer County file as an example of how things should look.

In New York, the concept of a precinct is often called an "election district," so if the file says "district" or "election district," use that as the precinct.

  • Albany
  • Allegany
  • Bronx
  • Broome
  • Cattaraugus
  • Cayuga
  • Chautauqua
  • Chemung
  • Chenango
  • Clinton
  • Columbia
  • Cortland
  • Delaware
  • Dutchess
  • Erie
  • Essex
  • Franklin
  • Fulton
  • Genesee
  • Greene
  • Hamilton
  • Herkimer
  • Jefferson
  • Kings
  • Lewis
  • Livingston
  • Madison
  • Monroe
  • Montgomery
  • Nassau
  • New York
  • Niagara
  • Oneida
  • Onondaga
  • Ontario
  • Orange
  • Orleans
  • Oswego
  • Otsego
  • Putnam
  • Queens
  • Rensselaer
  • Richmond
  • Rockland
  • St. Lawrence
  • Saratoga
  • Schenectady
  • Schoharie
  • Schuyler
  • Seneca
  • Steuben
  • Suffolk
  • Sullivan
  • Tioga
  • Tompkins
  • Ulster
  • Warren
  • Washington
  • Wayne
  • Westchester
  • Wyoming
  • Yates
@GulliverDataJournalist
Copy link

I've got Chatauqua.

@GulliverDataJournalist
Copy link

finished my first (Chautauqua, president) - not sure if it went through. it's just for you to check at this point. a few questions - one, are you doing every race in a separate sheet or should they be tabs in the same sheet like in the original. Also,can't remember, what 's proper label for party and candidate fields when values are W-IN/Scattering and (isblank)/BlankVoid?

@dwillis
Copy link
Contributor Author

dwillis commented Oct 15, 2018

@GulliverDataJournalist Just gave you access to push to the repository, so your changes haven't made it yet. If you want, you can email the file to [email protected] so I can check it. The CSV should have all races in the same sheet and the labels for Scattering should be:

party: blank
candidate: Scattering

and for Blank/Void

party: blank
candidate: Blank/Void

@GulliverDataJournalist
Copy link

Hey, FYI, been busy but I'm basically doing a race a day (US president, then Senate, etc)
Tried to push again just so you could see where I was at and it didn't go through. Will try again. With Devin watching, so I'll have a guide to the terrain. :)

@dwillis
Copy link
Contributor Author

dwillis commented Oct 23, 2018

@GulliverDataJournalist no worries - I've sent you an email invite that should allow you to push.

@dwillis dwillis closed this as completed Nov 9, 2018
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