openelections / openelections-data-ga Goto Github PK
View Code? Open in Web Editor NEWPre-processed raw election results for Georgia election results
Pre-processed raw election results for Georgia election results
See commit #235
While checking in some 2021 race results, I see the new data test process is failing on many files. Once I get the 2020 & 2021 race results loaded up, I'll start fixing the failing data test files. Looks to be a lot of them. I mainly want to get all the files from 2000 - 2012 fixed as these years have been validated. Then I'll move onto >= 2013. Reach out if you have any questions or want to help. Thanks
Use the openelections.net Metadata API to extract the URL's for all election results in 2007.
http://openelections.net/api/v1/election/?format=json&limit=0&state__postal=GA&start_date__year=2007
Create individual CSV files for each special, primary & general election date (which may involve multiple races) using the file name conventions. The CSV files should have the following headers: county, office, district, party, candidate, votes. For offices, follow our naming conventions. See the completed years for an example of what your output needs to be.
Some of these election files have overall results on the first page (with full candidate names) and county-specific results on interior pages, so we'll need both for our CSVs - the first page for candidate names and the interior ones for county-specific vote totals.
These results #251 are missing the below (4) counties. I have sent a notice to the Georgia Secretary of State regarding these.
Once these are available I will update these results.
In the 2016 Fulton County general precinct file, and from what I can tell in all the other county precinct files as well, the "party" filed is missing data for a lot of the races, and for other races the formatting is inconsistent. Some races list the party a "D" & "R" while others as "Dem" & "Rep", with some having a stray "(" before the name.
Use the openelections.net Metadata API to extract the URL's for all election results in 2005.
http://openelections.net/api/v1/election/?format=json&limit=0&state__postal=GA&start_date__year=2005
Create individual CSV files for each special, primary & general election date (which may involve multiple races) using the file name conventions. The CSV files should have the following headers: county, office, district, party, candidate, votes. For offices, follow our naming conventions. See the completed years for an example of what your output needs to be.
Some of these election files have overall results on the first page (with full candidate names) and county-specific results on interior pages, so we'll need both for our CSVs - the first page for candidate names and the interior ones for county-specific vote totals.
I have noticed that older years' data have multiple format, especially those special elections.
For example, in http://sos.ga.gov/elections/election_results/2002_0212/ we have candidates grouped by counties. In another election http://sos.ga.gov/elections/election_results/2001_1106/ , we have candidates grouped by districts and followed by their percentage. I would like to know if we can construct a unique format that defines the number of variables for those special elections. For those variables not shown in the election results just left them as blank.
Any suggestion is welcome!
The county-level results files are broken out by race, which means you can either do each race as a separate file (for example, 20101102__ga__general__senate.csv
) or tackle all of the races and combine them into a single file (or handle all statewide officers or all U.S. House races). You can copy and paste into a spreadsheet, then re-arrange to fit our practice of one candidate result per county on each line. For each eace, you'll need to get the candidates' first names.
Use the openelections.net Metadata API to extract the URL's for all election results in 2003.
http://openelections.net/api/v1/election/?format=json&limit=0&state__postal=GA&start_date__year=2003
Create individual CSV files for each special, primary & general election date (which may involve multiple races) using the file name conventions. The CSV files should have the following headers: county, office, district, party, candidate, votes. For offices, follow our naming conventions. See the completed years for an example of what your output needs to be.
Some of these election files have overall results on the first page (with full candidate names) and county-specific results on interior pages, so we'll need both for our CSVs - the first page for candidate names and the interior ones for county-specific vote totals.
Parse from html here: http://sos.ga.gov/elections/election_results/2012_0306/
Use the openelections.net Metadata API to extract the URL's for all election results in 2008.
http://openelections.net/api/v1/election/?format=json&limit=0&state__postal=GA&start_date__year=2008
Create individual CSV files for each special, primary & general election date (which may involve multiple races) using the file name conventions. The CSV files should have the following headers: county, office, district, party, candidate, votes. For offices, follow our naming conventions. See the completed years for an example of what your output needs to be.
Some of these election files have overall results on the first page (with full candidate names) and county-specific results on interior pages, so we'll need both for our CSVs - the first page for candidate names and the interior ones for county-specific vote totals.
I've started a county parser that, when given a race-specific URL like this one from 2010, an office, district and filename, will scrape results and output a CSV file. The process still involves too much manual work, and it hasn't been applied to 2009 and earlier elections, but should work with a few tweaks.
A couple of changes would be useful:
cat
the CSV files together).Use the openelections.net Metadata API to extract the URL's for all election results in 2004.
http://openelections.net/api/v1/election/?format=json&limit=0&state__postal=GA&start_date__year=2004
Create individual CSV files for each special, primary & general election date (which may involve multiple races) using the file name conventions. The CSV files should have the following headers: county, office, district, party, candidate, votes. For offices, follow our naming conventions. See the completed years for an example of what your output needs to be.
Some of these election files have overall results on the first page (with full candidate names) and county-specific results on interior pages, so we'll need both for our CSVs - the first page for candidate names and the interior ones for county-specific vote totals.
As we get close to having Georgia complete we need to roll back through all of the years and verify we have all the available data loaded. I know we are missing some of the more recent elections.
Please work on the issue related to office name and party standardization while you review this data.
If you start working on a year please leave a commit below. Thanks
Ga. secretary of state has produced two PDFs that can be converted into CSVs:
These are county-level files, using these headers. Convert the data in the following urls, using the file names provided:
Use the openelections.net Metadata API to extract the URL's for all election results in 2002.
http://openelections.net/api/v1/election/?format=json&limit=0&state__postal=GA&start_date__year=2002
Create individual CSV files for each special, primary & general election date (which may involve multiple races) using the file name conventions. The CSV files should have the following headers: county, office, district, party, candidate, votes. For offices, follow our naming conventions. See the completed years for an example of what your output needs to be.
Some of these election files have overall results on the first page (with full candidate names) and county-specific results on interior pages, so we'll need both for our CSVs - the first page for candidate names and the interior ones for county-specific vote totals.
We've updated our Clarify library to support new-style Clarity election sites like Georgia uses. If you build and install the latest source version of Clarify, you should be able to generate precinct files. Here's an example using West Virginia: https://github.com/openelections/openelections-data-wv/blob/master/scripts/clarity_parser.py
For the 2018 general election, there appears to be a missing csv file for all of the county-level election results merged together. I'm using this data for a research project and any help in generating this file would be greatly appreciated.
Using the following files:
Create individual CSV files for each special election date (which may involve multiple races) using the file name conventions. The CSV files should have the following headers: county
, office
, district
, party
, candidate
, votes
. For offices, follow our naming conventions.
These special election files have overall results on the first page (with full candidate names) and county-specific results on interior pages, so we'll need both for our CSVs - the first page for candidate names and the interior ones for county-specific vote totals.
using clarify
:
The website has this statement on the main page "Unofficial Results โ Totals may not include all Absentee or Provisional Ballots" but at the county level it shows all counties certified. I'll create an issue and check back later and refresh once the main page banner goes away. See #238 for more details.
Use the openelections.net Metadata API to extract the URL's for all election results in 2001.
http://openelections.net/api/v1/election/?format=json&limit=0&state__postal=GA&start_date__year=2001
Create individual CSV files for each special, primary & general election date (which may involve multiple races) using the file name conventions. The CSV files should have the following headers: county, office, district, party, candidate, votes. For offices, follow our naming conventions. See the completed years for an example of what your output needs to be.
Some of these election files have overall results on the first page (with full candidate names) and county-specific results on interior pages, so we'll need both for our CSVs - the first page for candidate names and the interior ones for county-specific vote totals.
Using the following files:
Create individual CSV files for each special election date (which may involve multiple races) using the file name conventions. The CSV files should have the following headers: county
, office
, district
, party
, candidate
, votes
. For offices, follow our naming conventions.
These special election files have overall results on the first page (with full candidate names) and county-specific results on interior pages, so we'll need both for our CSVs - the first page for candidate names and the interior ones for county-specific vote totals.
Use the openelections.net Metadata API to extract the URL's for all election results in 2006.
http://openelections.net/api/v1/election/?format=json&limit=0&state__postal=GA&start_date__year=2006
Create individual CSV files for each special, primary & general election date (which may involve multiple races) using the file name conventions. The CSV files should have the following headers: county, office, district, party, candidate, votes. For offices, follow our naming conventions. See the completed years for an example of what your output needs to be.
Some of these election files have overall results on the first page (with full candidate names) and county-specific results on interior pages, so we'll need both for our CSVs - the first page for candidate names and the interior ones for county-specific vote totals.
Hey @ATLJoeReed, I'd like to make some standardizations of office names, particularly U.S. House and U.S. Senate. That would impact lots of files - does that work for you?
using clarify
Using the following files:
Create individual CSV files for each special election date (which may involve multiple races) using the file name conventions. The CSV files should have the following headers: county
, office
, district
, party
, candidate
, votes
. For offices, follow our naming conventions.
These special election files have overall results on the first page (with full candidate names) and county-specific results on interior pages, so we'll need both for our CSVs - the first page for candidate names and the interior ones for county-specific vote totals.
Use the openelections.net Metadata API to extract the URL's for all election results in 2000.
http://openelections.net/api/v1/election/?format=json&limit=0&state__postal=GA&start_date__year=2000
This will return a JSON file that contains all of the URL's for each of the elections.
Create individual CSV files for each special, primary & general election date (which may involve multiple races) using the file name conventions. The CSV files should have the following headers: county, office, district, party, candidate, votes. For offices, follow our naming conventions. See the completed years for an example of what your output needs to be.
Some of these election files have overall results on the first page (with full candidate names) and county-specific results on interior pages, so we'll need both for our CSVs - the first page for candidate names and the interior ones for county-specific vote totals.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.