Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Load Federal Election Commission data into a database
Perl
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
CSV.pl
README.pod
create_db.sql

README.pod

FEC PARSER

Converting political contribution data from the FEC(fec.gov) COBOL format to CSV for loading into MySQL.

VERSION

version 0.1a (DEPRECATED).

SYNOPSIS

FEC Data is in a stupid format. This converts it into normalized CSV files for upload in MySQL. Detailed Files About Candidates, Parties and Other Committees: http://www.fec.gov/finance/disclosure/ftpdet.shtml

WINDOWS

For them there Windows users who like GUIs: https://sourceforge.net/projects/fectool/

INSTALLATION

1) Download the necessary files via git clone.

2) Change a lot of the absolute file paths.

*NOTE: Very quickly written a long while back, YMMV. **NOTE: Currently started new project to parse .fec files vs COBOL file!

DEPENDENCIES

Must load Archive::Extract

LIMITATIONS

The COBOL file turncates long names.

SUPPORT AND DOCUMENTATION

No support since it's deprecated. Considering using OpenData (http://www.opensecrets.org/action/data.php).

COPYRIGHT AND LICENCE

Copyright (C) 2007,2008 Naveen Manivannan (Nash Research Group)

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Something went wrong with that request. Please try again.