Federal Campaign Expenditures Script
November 6th, 2004 | Published in Fed Data, Python
Good scripting happens, I’ve found, when a task proves so repetitive that it motivates you to make sure that you don’t have to do it ever again. Hence this new Python script I’m releasing that takes a list of FEC electronic filings and spits out two files containing each type of expenditure (known among campaign finance folks as Schedule Bs and H4s). You don’t need to change anything to make the script work; you just need a text file with the name of each filing on a separate line. Visit the electronic filings portion of my Projects section for more details and the script.