VoterFinder is a tool designed to help users easily locate voter information, analyze data, and manage election-related datasets. This project aims to simplify the process of exploring voter demographics and organizing related data for campaigns, studies, and civic engagement.
-
Clone the repository:
git clone https://github.com/vivertido/voterfinder.git
-
Obtain your voter data. Usually your county will provide a list for purchase.
-
Clean your data. You should remove unecessary columns to reduce size of dataset. This app uses just basic info for search, but feel free to allow for all the columns of iterest:
- First name
- Last name
- Phone
- City
- Mail address
-
Create a db at /instance (create this directory)
sqlite3 my_database.db
-
Enable CSV Mode Tell SQLite to read data in CSV format:
.mode csv
-
Import the CSV File Use the
.import
command to load your.csv
file into a new table:.import your_file.csv table_name
-
Verify the Import Check if the data has been imported:
SELECT * FROM table_name;
-
Exit sql:
.exit