This project analyzes campaign contributions made to 2016 U.S. presidential primary candidates, using data from the Federal Election Commission (FEC) focused on California ZIP codes. It explores fundraising patterns, highlights top-performing candidates, and reveals donor behavior using Python-based tools.
- Analyzes 2016 primary contributions by ZIP code and candidate
- Filters for valid, positive, individual donations
- Aggregates and visualizes total contributions by party and geography
- Includes both Jupyter notebook and Python script versions
- Cleaned dataset available via Google Drive
fec_2016_ca_primary_analysis.ipynb– Main Jupyter notebook with analysis, plots, and resultsfec_campaign_analysis.py– Modular Python script for analysis logicREADME.md– This documentation file2016_ca_primary_cleaned.csv– (Too large for GitHub – see download link below)
The cleaned dataset used in this analysis (2016_ca_primary_cleaned.csv) exceeds GitHub’s file size limit.
🔗 Download Cleaned CSV from Google Drive
From the command line (for script version):
python fec_campaign_analysis.pyPraj Prabhu