-
Notifications
You must be signed in to change notification settings - Fork 17
Description
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 results files you'll be converting are in the California sources repository. Many of these are either PDFs or Excel 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
If the county file also provides a breakdown of votes by method, include those using the following headers:
early_voting
, election_day
, provisional
, mail
For the following offices: President, U.S. House, and any State Senate or State Assembly races. File names should be: 20201103__ca__general__{county_name}__precinct.csv
, with the county name lower case and spaces replaced with underscores.
An example file looks like this
- Alameda
- Alpine
- Amador
- Butte
- Calaveras
- Colusa
- Contra Costa
- Del Norte
- El Dorado
- Fresno
- Glenn
- Humboldt
- Imperial
- Inyo
- Kern
- Kings
- Lake
- Lassen
- Los Angeles
- Madera
- Marin
- Mariposa
- Mendocino
- Merced
- Modoc
- Mono
- Monterey
- Napa
- Nevada
- Orange
- Placer
- Plumas
- Riverside
- Sacramento
- San Benito
- San Bernardino
- San Diego
- San Francisco
- San Joaquin
- San Luis Obispo
- San Mateo
- Santa Barbara
- Santa Clara
- Santa Cruz
- Shasta
- Sierra
- Siskiyou
- Solano
- Sonoma
- Stanislaus
- Sutter
- Tehama
- Trinity
- Tulare
- Tuolumne
- Ventura
- Yolo
- Yuba