NCVotes / results-ingestor

Simple web app that downloads a precinct- and county-level election results files from N.C. State Board of Election and ingests them into a database
0 stars 0 forks source link

Contest Results Schema #7

Closed rtburg closed 7 years ago

rtburg commented 7 years ago

From @bill10 on August 28, 2017 2:24

All the precinct result files are loaded into the database. I made a readme page of the ingestors for future reference at https://github.com/reesenewslab/ncvoter/tree/master/Ingestor.

The schema for contest results is documented on that page. Just want to confirm about three columns from the data files:

Copied from original issue: NCVotes/ncvoter#15

rtburg commented 7 years ago
rtburg commented 7 years ago

From @bill10 on August 30, 2017 20:48

7 is loaded into the contest_county table since it has nothing to do with precincts. Query

select * from contest_county
order by election_date desc
limit 1000;

will give some examples.

When the election results are out, this table can be updated to incorporate vote counts.