Skip to content

About

Data analysis of 2016 U.S. presidential primary contributions in California, using Python and visualization to surface fundraising trends by party and zip code.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

FEC Campaign Contribution Analysis – 2016 California Primary

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.

Features

  • 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

Files

  • fec_2016_ca_primary_analysis.ipynb – Main Jupyter notebook with analysis, plots, and results
  • fec_campaign_analysis.py – Modular Python script for analysis logic
  • README.md – This documentation file
  • 2016_ca_primary_cleaned.csv – (Too large for GitHub – see download link below)

Data

The cleaned dataset used in this analysis (2016_ca_primary_cleaned.csv) exceeds GitHub’s file size limit.

🔗 Download Cleaned CSV from Google Drive

How to Run

From the command line (for script version):

python fec_campaign_analysis.py

Author

Praj Prabhu

About

Data analysis of 2016 U.S. presidential primary contributions in California, using Python and visualization to surface fundraising trends by party and zip code.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages