openelections-data-ny icon indicating copy to clipboard operation
openelections-data-ny copied to clipboard

2022 General Election Official Precinct Results Conversion

Open dwillis opened this issue 2 years ago • 23 comments

List of county websites here, and source files we've collected are found here.

The goal is to create a single CSV file for each county, with the following headers:

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

If the county file also provides a breakdown of votes by method, include that using the following headers, as applicable:

early_voting, election_day, provisional, absentee, federal

The filename should be 20221108__ny__general__{county}__precinct.csv, where {county} is the name of the county in lower case.

Include the following offices:

  • Registered Voters (if available)
  • Ballots Cast (if available)
  • Governor
  • Attorney General
  • Comptroller
  • U.S. Senate
  • U.S. House
  • State Senate
  • State Assembly
  • [x] Albany
  • [x] Allegany
  • [x] Bronx
  • [x] Broome
  • [x] Cattaraugus
  • [x] Cayuga
  • [x] Chautauqua
  • [x] Chemung
  • [x] Chenango
  • [x] Clinton
  • [x] Columbia
  • [x] Cortland
  • [x] Delaware
  • [x] Dutchess
  • [x] Erie
  • [x] Essex
  • [x] Franklin
  • [x] Fulton
  • [x] Genesee
  • [x] Greene
  • [x] Hamilton
  • [x] Herkimer
  • [x] Jefferson
  • [x] Kings
  • [x] Lewis
  • [x] Livingston
  • [x] Madison
  • [x] Monroe
  • [x] Montgomery
  • [x] Nassau
  • [x] New York
  • [x] Niagara
  • [x] Oneida
  • [x] Onondaga
  • [x] Ontario
  • [x] Orange
  • [x] Orleans
  • [x] Oswego
  • [x] Otsego
  • [x] Putnam
  • [x] Queens
  • [x] Rensselaer
  • [x] Richmond
  • [x] Rockland
  • [x] St. Lawrence
  • [x] Saratoga
  • [x] Schenectady
  • [x] Schoharie
  • [x] Schuyler
  • [x] Seneca
  • [x] Steuben
  • [x] Suffolk
  • [x] Sullivan
  • [x] Tioga
  • [x] Tompkins
  • [x] Ulster
  • [x] Warren
  • [x] Washington
  • [x] Wayne
  • [x] Westchester
  • [x] Wyoming
  • [x] Yates

dwillis avatar Dec 21 '22 02:12 dwillis

Hi Derek, The description here has the order of the headers with 'party' followed by 'candidate', but in the two files that were already done the 'candidate' column goes before 'party'. Which is the right way to go or does it not matter?

kdent avatar Dec 30 '22 00:12 kdent

@kdent Hey Kyle, order doesn't matter as long as the columns are there.

dwillis avatar Dec 30 '22 01:12 dwillis

Hey Derek, Rensselaer county complete. Moving onto Schenectady. 20221108__ny__general__rensselaer__precinct.csv

Rwmiletich avatar Mar 27 '23 16:03 Rwmiletich

@Rwmiletich thanks!

dwillis avatar Mar 27 '23 16:03 dwillis

Ulster County finished too. 20221108__ny__general__ulster__precinct.csv

Rwmiletich avatar Mar 27 '23 23:03 Rwmiletich

@Rwmiletich, can you enlighten me on where those links are actually pointing? Some of the components in the target URL (e.g., files/11083856) are unfamiliar to me, so I'm just curious.

warwickmm avatar Mar 28 '23 00:03 warwickmm

Never mind, I forgot that was the result of just attaching a file in a comment here. :neutral_face:

warwickmm avatar Mar 28 '23 00:03 warwickmm

No worries - if there’s a better way for me to upload completed sheets, I’d be happy to hear it. I’m basically completely new to GitHub, so any advice would be much appreciated.

Rwmiletich avatar Mar 28 '23 00:03 Rwmiletich

@Rwmiletich what you're doing is absolutely fine, so if that works for you it's all good.

dwillis avatar Mar 28 '23 01:03 dwillis

Dropping the files here like you've been doing works just fine. Thanks! Sorry for the confusion.

warwickmm avatar Mar 28 '23 01:03 warwickmm

Schenectady and Hamilton attached. Moving on to Lewis and Schuyler over the next few days.

20221108__ny__general__hamilton__precinct.csv 20221108__ny__general__schenectady__precinct.csv

Rwmiletich avatar Mar 28 '23 14:03 Rwmiletich

20221108__ny__general__lewis__precinct.csv 20221108__ny__general__schuyler__precinct.csv

Lewis and Schuyler counties complete. Data requests in with Schohaire and Seneca Counties and moving on to Orleans and Essex Counties in the meantime.

Rwmiletich avatar Mar 29 '23 14:03 Rwmiletich

@Rwmiletich thanks! we do have files for Schoharie and Seneca in the sources repo: https://github.com/openelections/openelections-sources-ny/tree/master/2022/general

dwillis avatar Mar 30 '23 02:03 dwillis

20221108__ny__general__orleans__precinct.csv 20221108__ny__general__seneca__precinct.csv 20221108__ny__general__essex__precinct.csv

Essex, Orleans, and Seneca Counties attached. Working on Schoharie and maybe one of the bigger counties this weekend.

Rwmiletich avatar Apr 01 '23 05:04 Rwmiletich

20221108__ny__general__columbia__precinct.csv 20221108__ny__general__schoharie__precinct.csv 20221108__ny__general__wyoming__precinct.csv

Columbia, Schoharie, and Wyoming counties attached. Working on Dutchess and slowly gathering Suffolk.

Rwmiletich avatar Apr 16 '23 00:04 Rwmiletich

20221108__ny__general__dutchess__precinct.csv

Dutchess County completed

Rwmiletich avatar Apr 17 '23 19:04 Rwmiletich

20221108__ny__general__oswego__precinct.csv 20221108__ny__general__otsego__precinct.csv 20221108__ny__general__putnam__precinct.csv Oswego, Otsego, and Putnam complete. Moving on to Rockland, St. Lawrence, and Saratoga

Rwmiletich avatar Apr 27 '23 03:04 Rwmiletich

20221108__ny__general__saratoga__precinct.csv 20221108__ny__general__stlawrence__precinct.csv 20221108__ny__general__rockland__precinct.csv Rockland, Saratoga, and St. Lawrence complete. Going to save Suffolk for last since it's such a monster. Moving on to Sullivan, Tompkins, Wayne, and Westchester.

Rwmiletich avatar Apr 27 '23 16:04 Rwmiletich

20221108__ny__general__suffolk__precinct.csv And finally suffolk. Taking a break but happy to do more volunteering after a few weeks.

Rwmiletich avatar May 01 '23 04:05 Rwmiletich

@Rwmiletich amazing, thank you for your efforts!

dwillis avatar May 01 '23 10:05 dwillis