• Stars
    star
    118
  • Rank 289,453 (Top 6 %)
  • Language
    Python
  • Created over 8 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python scripts to parse U.S. voter files

voter-files

This repository contains a set of Python and R scripts to parse voting registration files in the United States into CSV files with the same variables:

  • voter_id
  • first_name
  • middle_name
  • last_name
  • birth_date
  • gender
  • turnout2008
  • turnout2010
  • turnout2012
  • turnout2014
  • party_affiliation_2008
  • party_affiliation_2010
  • party_affiliation_2012
  • party_affiliation_2014
  • party_affiliation (current)
  • residential_address
  • zipcode
  • race, ethnicity (in Florida and North Carolina)

When any of these variables is not available, that column will be left empty (NA). The idea is to be able to easily merge all these files if so desired.

Pull requests, comments, and suggestions are very welcome!

Legal restrictions

Most states have restrictions against commercial or non-political use. For a summary of usage restrictions, see NCSL's Access To and Use Of Voter Registration Lists.

Availability of voter files across states

The following lists contains details about if/where voting registration records for each state are available, how much it would cost to obtain them, and other details. (I will expand this list over the next few months.)

To be clear: this repository does NOT contain any data.

Classification:

  • ๐Ÿ˜„ Available at low cost ($100 or less) or free
  • ๐Ÿ’ธ Available at high cost (more than $100)
  • ๐Ÿ˜ž No information online about how to acquire voter file

๐Ÿ’ธ Alabama

The Secretary of State links to an interactive site that searches by multiple criteria and provides an instant price. As of March 2021, there were 3.5M active voters for a cost of $35K.

Alaska

It appears to be possible to request it via email. A list with contact information is here.

๐Ÿ’ธ Arizona

Costs used to be much higher, but are now somewhat lower due to a lawsuit.

Individual county recorders offices are responsible for maintaining the permanent voter files in AZ.

๐Ÿ˜„ Arkansas

The voter registration file can be requested using the form here, which has to be mailed along with $2.50 per file. A copy of the voter list appears to be also available online for free on this website.

California

http://www.sos.ca.gov/elections/contact/email-elections-division/

๐Ÿ˜„ Colorado

The registered voter list and voter history list can be requested using the form here, at a cost of $50 each. There appears to be a free copy of all the files on this website as well.

๐Ÿ˜„ Connecticut

The voter registry file can be purchased at a cost of $300 by contacting the Secretary of State as detailed here. A copy of the voter list appears to be also available online for free on this website.

๐Ÿ˜„ Delaware

The voter file can be requested using the form here, at a cost of $10 (in CD format). A copy of the voter list appears to be also available online for free on this website.

๐Ÿ˜„ Florida

The voter file can be requested using voter extract disk request form, and there is no fee for "this complimentary disk." A copy of the voter list appears to be also available online for free on this website.

๐Ÿ’ธ Georgia

Voter history files are freely available here, but these do not include voters information. These need to be requested (and will be delivered on a CD) with this form at a cost of $500. There's more information here. I also found this GitHub repo with python scripts to parse these files.

Hawaii

Idaho

The Idaho voter file is available through a public records request for non-commercial purposes. The Secretary of State provides the following statement on their FAQ:

"Idaho law requires the Secretary of Stateโ€™s office to provide this information in response to public records requests."

Illinois

Illinois makes their voter information available via paper medium "for election, scholarly, journalistic, political or governmental purposes"1 Digital records are available to political organizations that complete a D-1 Statement of Organization.

๐Ÿ’ธ Indiana

Indiana makes computerized access to the list available to political parties and media organizations, along with elected officials. A request must be made to the Indiana Election Division. The "election division shall charge each person [...] an annual subscription fee of five thousand dollars ($5,000)" More information can be found in the Indiana Code.

๐Ÿ’ธ Iowa

Individuals can request an Iowa statewide voter registration list through the Iowa Secratary of State here. The statewide list with updates is provided at the cost of $1,500 a year.

๐Ÿ’ธ Kansas

Voter files can be requested from the Office of the Secretary of State using the form here. The full state costs $200 with additional costs for other options and delivery is by CD or email, depending on the request.

Kentucky

I also found this GitHub repo with python scripts to parse these files.

๐Ÿ’ธ Louisiana

Statewide lists are available to approved entities upon request at a cost not to exceed $5,000. Requests must be made through the Secretary of State's web request application.

Document detailing how to convert the tab delimited file to an Excel document. Voter list cost information.

Maine

Maryland

Massachusetts

๐Ÿ˜„ Michigan

A copy of the voter list appears to be also available online for free on this website.

Minnesota

Mississippi

Missouri

๐Ÿ’ธ Montana

The voter file is available online here, but the cost of obtaining the statewide dataset is $1,000.

Nebraska

๐Ÿ˜„ Nevada

The voter file is available online here, but it is first necessary to send a signed official request via fax or mail.

New Hampshire

New Jersey

I also found this GitHub repo with PHP scripts to parse these files.

New Mexico

๐Ÿ˜„ New York

There's an online form to request voter registration data, documented on their FOIL page. There's no cost, and data is sent on CD via USPS, arriving in about a week.

Repos on working with New York voter files:

North Carolina

North Dakota

๐Ÿ˜„ Ohio

๐Ÿ˜„ Oklahoma

A copy of the voter list appears to be also available online for free on this website.

๐Ÿ’ธ Oregon

The voter file can be requested here at a cost of $500 for the statewide voter list.

Pennsylvania

Rhode Island

A copy of the voter list appears to be also available online for free on this website.

๐Ÿ’ธ South Carolina

The voter file is available online here, but the cost of obtaining the statewide dataset is $2,500.

South Dakota

Tennessee

Texas

๐Ÿ’ธ Utah

The voter file can be requested here at a cost of $1,050. Note that this file does not include voters' birth dates. And old version of this file was available here.

Vermont

Virginia

๐Ÿ˜„ Washington

The Voter registration database is freely available for download here. A list of database fields can be found here.

๐Ÿ’ธ West Virginia

Voter files can be requested in various ways by filling out a form and returning it to the West Virginia's Secretary of State's office via fax, email, or mail.
The exports come in a variety of options including the statewide voter registration list for $500 and the master voter history list for $500.

๐Ÿ’ธ Wisconsin

Voter files (sliced various ways, etc.) can be requested via an online system (documentation) for $25 plus $5 per thousand voters, up to a maximum cost of $12,500.

Wyoming

Washington DC

Available on this GitHub repository.

More Repositories

1

Rfacebook

Dev version of Rfacebook package: Access to Facebook API via R
R
350
star
2

twitter_ideology

Estimating Ideological Positions with Twitter Data
R
206
star
3

streamR

Dev version of streamR package: Access to Twitter Streaming API via R
R
106
star
4

social-media-workshop

Workshop: Collecting and Analyzing Social Media Data with R
HTML
104
star
5

instaR

Dev version of instaR package: Access to Instagram API via R
R
103
star
6

Rdataviz

Materials for workshop "Data Visualization with R and ggplot2"
R
76
star
7

scholarnetwork

Extract and Visualize Google Scholar Collaboration Networks
R
76
star
8

pytwools

Python tools for the analysis of Twitter data
Python
72
star
9

quant3materials

PhD course: Quantitative Methods for Political Science III (NYU) -- Recitation Materials
R
50
star
10

workshop

Workshop: Scraping Twitter and Web Data Using R
R
47
star
11

eui-text-workshop

Methods workshop: Automated Text Analysis with R
HTML
34
star
12

echo_chambers

Replication materials for the paper "Tweeting from Left to Right: Is Online Political Communication More Than an Echo Chamber?"
R
34
star
13

POIR613-2019

Course materials: POIR 613 - Computational Social Science - USC Fall 2019
HTML
31
star
14

ECPR-SC105

ECPR Summer School: Big Data Analysis in the Social Sciences
HTML
31
star
15

POIR613-2021

Course materials: POIR 613 - Computational Social Science - USC Fall 2021
HTML
31
star
16

big-data-upf

RECSM-UPF Summer School: Social Media and Big Data Research
HTML
22
star
17

incivility-sage-open

Incivility classifier used in Theocharis et al (2020, Sage Open)
R
20
star
18

ECPR-SC104

ECPR Summer School: Automated Collection of Web and Social Data
HTML
15
star
19

NYU-AD-160J

Recitation materials for the NYU-Abu Dhabi course "Social Media and Political Participation", J-TERM 2014
R
14
star
20

text-analysis-vienna

HTML
13
star
21

social-media-upf

Summer School: Social Media and Big Data Research
HTML
13
star
22

POIR613

Course materials: POIR 613 - Computational Social Science - USC Fall 2022
HTML
10
star
23

twitter-incivility

Replication materials for the paper "A Bad Workman Blames His Tweets. The Consequences of Citizens' Uncivil Twitter Use when Interacting with Party Candidates"
R
9
star
24

POIR613-2017

2017 version of the PhD-level course POIR 613 - Computational Social Science
Makefile
8
star
25

pablobarbera.github.com

Website
HTML
7
star
26

SQL-workshop

Workshop: Querying large-scale online datasets - SQL and Google BigQuery
HTML
7
star
27

votes

Tracking Twitter Users Who "Tweet Their Vote"
R
3
star
28

icourts-workshop

Workshop materials: the use of Social Media for the study of International Courts
HTML
2
star
29

world-leaders-isq

Replication materials for the paper "The New Public Address System: Why Do World Leaders Adopt Social Media?"
Stata
2
star
30

eitm

EITM Europe Summer Instute: Social Media Research
HTML
2
star
31

zombies

Code for Zombie Outbreak Detector
R
1
star
32

corruption-psrm

Replication materials for the paper "Rooting Out Corruption or Rooting for Corruption? The Heterogeneous Electoral Consequences of Scandals"
R
1
star