Skip to content

mlambright/decc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Deprecated DECC Repository This repository has been replaced by EA-Tools as of the 2014 election cycle

##DECC The scripts in this repo can be used to process files for use in the DECC project.

###processScans.py This script, when applied to a directory containing DECC batch scan files, will add records to the MySQL database for each file (recursively), and will move each file to a user-designated directory and rename each file to the appropriate convention. It is used as follows:

python processScans.py inputPath outputPath

As written, the script assumes a PostgreSQL Password file This script uses PyPDF2 and psycopg2

###processXLSX.py This script processes individual xlsx files returned from vendor; it attaches a batch name to each record, writes out a final csv, and updates the database with final counts. It is used as follows:

python processXLSX.py inputFile outputFile

As written, the script assumes a PostgreSQL Password file This script uses PyPDF2, psycopg2, and xlrd

###vrqc.py This script quality checks voter registration files returned from vendor. It is called as follows

python vrqc.py inputFile outputFile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published