Author: Joseph Loffredo
Institution: MIT
Date: 2025-01-31
This dataset is the product of scraping the National Conference of State Legislature's "State Elections Legislation Database" and Voting Rights Lab's "Legislative Tracker." The code for producing this dataset can be found in this GitHub repo: https://github.com/jloffredo2/state-elect-law-db. See the code
subfolder for all relevant code.
If you are using this dataset, please cite it and provide, NCSL and Voting Rights Lab with proper citation as follows:
National Conference of State Legislatures. 2024. State Elections Legislation Database. www.ncsl.org/research/elections-and-campaigns/elections-legislation-database.aspx (January 31, 2025).
Voting Rights Lab. 2024. Legislative Tracker. https://tracker.votingrightslab.org/pending/search (January 31, 2025).
To access tidy versions of these databases, use the following files:
output/ncsl_bill_database.csv
: NCSL "State Elections Legislation" database in.csv
formatoutput/ncsl_bill_database.Rdata
: NCSL "State Elections Legislation" database saved as aR
data frameoutput/vrl_bill_database.csv
: VRL "Legislative Tracker" database in.csv
formatoutput/vrl_bill_database.Rdata
: VRL "Legislative Tracker" database saved as aR
data frame
All datasets have a similar structure and following the column label/definitions below.
-
UUID
Unique identifier in the formSTATE
-YEAR
-BILLNUM
(can be used to join datasets) -
YEAR
Year tracking organization has tagged bill -
STATE
State bill is introduced in -
BILLNUM
Bill number -
AUTHORNAME
Last name of bill author -
AUTHORPARTY
Party affiliation of bill author
BILLSTATUS
Current bill status- Adopted
- Enacted
- Failed
- Override Pending
- Pending
- To Congress
- To Executive
- Vetoed
BILLOCATIOM
Bill location in legislative processINTRODUCEDDATE
Date bill is officially introducedLASTACTIONDATE
Date of bill's last actionNCOAUTHORS
Total number of coauthorsNDEMCOAUTHORS
Number of Democratic coauthorsNREPCOAUTHORS
Number of Republican coauthors
Each topic indictator takes the value 1 if the organization has tagged the bill to a given topic, 0 otherwise.
AUDITS
Audits-Post ElectionAVAPPL
Absentee Voting-Application forAVBDIS
Absentee Voting-Distributing BallotsAVBRET
Absentee Voting-Returning BallotsAVDLIN
Absentee Voting-DeadlinesAVELIG
Absentee Voting-EligibilityAVEVIP
Absentee Voting-Early Voting/In-Person AbsenteeAVMIOV
Absentee Voting-Military/OverseasAVMISC
Absentee Voting-Misc.AVMOVE
Absentee Voting-MOVE ActAVNOEX
Absentee Voting-No ExcuseAVPERM
Absentee Voting-Permanent StatusBACAND
Ballot Access-CandidatesBACURE
Ballot Return, Verification, and CureBALDES
Ballots-Format & DesignBAMEAS
Ballot measuresBAPART
Ballot Access-PartiesCANQUL
Candidates-Qualifications for OfficeCANRTR
Candidates-Resign to RunCANWDW
Candidates-Withdrawal/DeathCANWRI
Candidates-Write-inCNTEST
ContestsCRIMES
Election CrimesCYBSEC
CybersecurityDATART
Election Data-Collection/Retention ofDGVOTE
Digital/electronic votingDUALFU
Fusion/Dual-PartyECONPV
Electoral College-National Popular VoteEDHOLI
Election Day HolidayELAUTH
Shifts in Election AuthorityELCOST
Cost/Funding of ElectionsELDATE
Dates of ElectionsELECOL
Electoral CollegeELEING
ElectioneeringEMEDIS
Emergencies/DisastersEOCAMP
Election Officials-Campaign ActivitiesEOGENR
Election Official-General (anything broadly related to election official)EOLOCA
Election Officials-LocalEOSTWD
Election Officials-StatewideEPLOCL
Local election proceduresEXPOLL
Exit PollingFILING
Offices-Method of FillingINVOTE
Internet VotingLNCACC
Language accommodationsMAILVO
Mail VotingMISCEL
MiscellaneousPOLPAR
Political PartiesPOLWAT
Poll WatchersPPACES
Polling Places-Disabled AccessPPGENR
Polling Places-General (nonspecific)PPLOCA
Polling Places-LocationsPPPROC
Polling Places-Arrangement of/Procedures atPPVCEN
Polling Places-Vote CentersPPVHRS
Polling Places-HoursPREDEF
Precinct DefinitionPRIDAT
Primaries-DatesPRIMIS
Primaries-Misc.PRIPUS
Primaries-PresidentialPRIRNF
Primaries-RunoffPRITYP
Primaries-TypesPROVOT
Provisional VotingPTDRES
DREs-Paper TrailPWCOMP
Poll Workers-CompensationPWMISC
Poll Workers-Misc.PWQUAL
Poll Workers-Selection/Qualifications ofPWTRAI
Poll Workers-TrainingPWYOTH
Poll Workers-YouthRECALL
Recall electionsRECOUN
RecountsREDIST
RedistrictingREGAGY
Registration-AgenciesREGAPP
Registration-Application Form/ContentREGATO
Registration-AutomaticREGCVL
Registration-Centralized Voter ListREGDRI
Registration DrivesREGDTE
Registration-DeadlineREGEDY
Registration-Election Day/Same DayREGELE
Registration-ElectronicREGGEN
Registration-GeneralREGIDR
Registration-ID RequiredREGLST
Registration-List MaintenanceREGMSC
Registration-Misc.REGONL
Registration-OnlineREGPRE
Registration-PreregistrationREGSDL
Registration-Sale/Distribution/Use of ListsREPRES
Election Results/Canvass, Reporting ofRUNOFF
Run-Off ElectionsSPELEC
Special ElectionsSTVOTE
Straight Ticket VotingTECHSS
Voting Equipment/Technology-Selection & StandardsTFSCIC
Task Forces/Study Commissions/Interim CommitteesVACNCY
VacanciesVCOUNT
Counting VotesVEDINF
Voter Education/InformationVOTAFW
Voters-Absence from WorkVOTAGE
Voters-AgeVOTAST
Voters-Assistance toVOTEME
Alt Voting Methods (Ranked Choice, etc)VOTFVR
Voters-Felon Voting RightsVOTMQU
Voters-Miscellaneous QualificationsVOTRID
Voter IdentificationVOTSEC
Voting security (polling places, drop box, counting)VSSCST
Voting System Testing/Security/StorageVTDROP
Ballot Drop-off LocationsVTRCHA
Challenges to Voters
VRLRATING
VRL's coding of overall bill impact- Anti-voter =
R
- Pro-voter =
E
- Mixed/Unclear =
M
- Neutral =
N
- Anti-voter =
BILLTEXTURL
URL to access bill's textBILLSUMMARY
Organization's summarization of bill
If using R, use rjson::fromJSON()
to transform these values into an R vector.
COAUTHORS
JSON string listing all coauthorsHISTORY
JSON string of bill's history logBILLTEXTURL
URL to bill text
The Voting Rights Lab dataset also codes whether provisions related to certain topics are Anti-voter, Pro-voter, Neutral, or Mixed/Unclear. You can find those codings in output/vrl_provisions.csv
or output/vrl_provisions.RData
. What appears in the dataset follows the same VRLRATING
mapping as above. The files in output/vrl_process_check.csv
and output/vrl_process_check.RData
are used to check handcoding for some of my ongoing projects.