Thanks. I\we get it. It’s a pain without data definitions\structure...
I have been going thru the named files individually.
I just found the candidate file with names and id# of names and I got the ID#s connected to the US Rep Candidates.
I now have to scan the data files for one of those IDs and I should find the votes for the race.
Depends on what I find - one file or multiple files ? It’s at that point, now what ?
I don’t know how i would connect the files to make sense of the data.
I am 9 years retired from a lifetime of this stuff...and JSON\scripting is not in my wheelhouse.
Mostly mainframe dinosaur.
I can do this one at a time...manually...a PITA - there are 1483 CVREport.json files.
Not sure I want to do this...only have to wait 3 more days.
The download file from alaska is a zip file that contains 1498 JSON files with a combine size of 1.39GB(1,498,701,824 bytes).
the zip file here ( scroll down to Cast Vote Record ):
https://www.elections.alaska.gov/election-results/
there is a notation on some details of contents.
thanks again
You would have to manually look-up and tabulate the results for the candidates you are interested in to get the race results.
While largely a trivial exercise by computer, this would be tedious as hell to do by hand and only marginally better if you use a spreadsheet to hold the intermediate results and do the final tally.
Be sure you REALLY want to do this before getting started.
SpyNavy
Garde la Foi, mes amis! Nous nous sommes les sauveurs de la République! Maintenant et Toujours!
(Keep the Faith, my friends! We are the saviors of the Republic! Now and Forever!)
LonePalm, le Républicain du verre cassé (The Broken Glass Republican)
Use chatgpt or some other AI tool. You will be amazed. I have it write code for me all the time... chatgpt loves JSON