openelections / openelections-data-ks

Pre-processed results for Kansas elections
5 stars 12 forks source link

Convert 2016 general election files #1

Closed dwillis closed 7 years ago

dwillis commented 7 years ago

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

The source files you'll be converting can be found here. 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

For the following offices: President, U.S. Senate, U.S. House, State Senate, State House. You can use the Kiowa County file as an example of how things should look.

krishnan-viswanathan commented 7 years ago

Leon County, FL

dwillis commented 7 years ago

@krishnan-viswanathan Florida has election results files you can download; this is the Kansas repository.

krishnan-viswanathan commented 7 years ago

Realized that after I put in my comment that it is KS specific. Sorry about that.

Brown County.

taylorterry3 commented 7 years ago

I've got Allen county done. I can't push since I'm a first time contributor, but it's in a gist at https://gist.github.com/taylorterry3/aca4785c0d65147484dda4c107af429f. Let me know if any edits are needed.

Thanks!

dwillis commented 7 years ago

@taylorterry3 Thanks! It looks like districts for U.S. House and state senate are missing. Can you fix? You can't push directly, but you can fork this repository, push to your own copy and then create a pull request.

taylorterry3 commented 7 years ago

OK, cool, didn't realize you guys did forks rather than branches. Makes sense.

Re: districts, they're not present in the source file (nor is party). I'm guessing the whole county is in one state senate and US House, though, so I'll research that and hand-jam them.

dwillis commented 7 years ago

Many thanks!

mishelley commented 7 years ago

Is Nemaha and Neosho available? Happy to work on them

dwillis commented 7 years ago

@mishelley: yes, absolutely, thanks!

mishelley commented 7 years ago

Getting started

brentajones commented 7 years ago

Harper.

lephead commented 7 years ago

20161108_ks_general_decatur_precinct.xlsx

lephead commented 7 years ago

20161108_ks_general_dickinson_precinct.xlsx

I deleted the blank state leg lines in Abilene and am resubmitting.

lephead commented 7 years ago

20161108_ks_general_harvey_precinct.xlsx

lephead commented 7 years ago

20161108_ks_general_linn_precinct.xlsx

lephead commented 7 years ago

[Uploading 20161108_ks_general_logan_general.xlsx…]()

lephead commented 7 years ago

[Uploading 20161108_ks_general_sherman_precinct.xlsx…]()

lephead commented 7 years ago

20161108_ks_general_stafford_precinct.xlsx

lephead commented 7 years ago

20161108_ks_general_sumner_precinct.xlsx

nk9 commented 7 years ago

@lephead Thanks for all of these! Will convert them into CSVs and upload. In the future, please include the candidate and/or precinct totals where possible. This means we can have a checksum to make sure there weren't any typos/scannos/copy-paste errors in the results. Have a look at this CSV for how to include precinct totals. Candidate totals simply put the "Total" marker in the precinct field.

In addition, if you find it easier, you're welcome to use this format to submit the results. We have a script which takes that and turns it directly into an OE CSV file.

lephead commented 7 years ago

I'll add the county totals from now on.

lephead commented 7 years ago

20161108_ks_general_ford_precinct.xlsx

lephead commented 7 years ago

Ford with totals

20161108_ks_general_ford_precinct.xlsx

lephead commented 7 years ago

20161108_ks_general_franklin_precinct.xlsx

You won't believe this but between Franklin County and the Sec of State, there were no totals except president on the internet.

lephead commented 7 years ago

20161108_ks_general_geary_precinct.xlsx

nk9 commented 7 years ago

I'll be honest: it's Kansas. I can believe it. :-)

nk9 commented 7 years ago

@lephead The Sherman and Logan results above don't seem to have successfully uploaded. Can you have a look again, please?

lephead commented 7 years ago

20161108_ks_general_logan_general.xlsx 20161108_ks_general_sherman_precinct.xlsx

lephead commented 7 years ago

Here is Labette

20161108_ks_general_labette_precinct.xlsx

lephead commented 7 years ago

Here's Jackson for ya

20161108_ks_general_jackson_precinct.xlsx

lephead commented 7 years ago

Jewell

2016 jewell ks official.pdf 2016 jewell ks official.xlsx

michaelgreis commented 7 years ago

Hey, I'm going to be working some of these throughout the day. Working on Chase currently

gvpeek commented 7 years ago

Working on Chautauqua. Will try to run through some of these as well as part of the hackathon

gvpeek commented 7 years ago

Working on Lane next

gvpeek commented 7 years ago

I'm planning to work on Clay next, but it's pretty gross, so may take me a while

lephead commented 7 years ago

2016 clay ks General Election Final.pdf [Uploading 2016 CLAY KS PREC.pdf…]() 2016 CLAY KS Voter Turnout Official Final.pdf

karpet commented 7 years ago

I have obtained precinct level reports from the KS SoS office but they are mostly in PDF format. Would these be helpful for the remaining work here?

--edit Ah nevermind, I see you already have the same data in https://github.com/openelections/openelections-sources-ks

dwillis commented 7 years ago

@karpet thanks, if you see any that we don't have that you do, would love to have them.

lephead commented 7 years ago

Kansas is a difficult one because sometimes the county has more precincts than the state chart. Very annoying.

On Wed, Jul 5, 2017 at 2:27 PM, Derek Willis notifications@github.com wrote:

@karpet https://github.com/karpet thanks, if you see any that we don't have that you do, would love to have them.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openelections/openelections-data-ks/issues/1#issuecomment-313231786, or mute the thread https://github.com/notifications/unsubscribe-auth/AJkjUisAuNlYZkjW76hn1E_QJb9hTipiks5sK_-0gaJpZM4LkAW5 .

-- John Mifflin