Created
February 25, 2012 18:11
-
-
Save bycoffe/1909868 to your computer and use it in GitHub Desktop.
FECh example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filing = Fech::Filing.new(766953) | |
filing.download | |
fields = [:contributor_first_name, | |
:contributor_last_name, | |
:contributor_organization_name, | |
:contribution_amount] | |
rows = filing.rows_like(/sa/, :include => fields) | |
rows.each do |row| | |
p fields.map { |field| row[field] } | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
["Marc", "Andreessen", nil, "50000.00"] | |
["Michael", "Armstrong", nil, "50000.00"] | |
["Alan", "Ashton", nil, "10000.00"] | |
["Lynda", "Balfour", nil, "25.00"] | |
["Frank", "Baxter", nil, "5000.00"] | |
["Glen", "Beck", nil, "25.00"] | |
["James", "Berardinelli", nil, "25.00"] | |
["Andrew", "Bernstein", nil, "25.00"] | |
["Robert", "Beyer", nil, "50000.00"] | |
["Lynn", "Booth", nil, "25000.00"] | |
["David", "Bradford", nil, "30000.00"] | |
["James", "Brown", nil, "4000.00"] | |
["Frank", "Bruno", nil, "50.00"] | |
[nil, nil, "Buena Vista Investments LLC", "50000.00"] | |
["Lisa", "Carroll", nil, "25.00"] | |
["Trevor", "Carter", nil, "100.00"] | |
["Trevor", "Carter", nil, "25.00"] | |
[nil, nil, "CB Travel Corp.", "5000.00"] | |
[nil, nil, "Center Construction, Inc.", "10000.00"] | |
[nil, nil, "Clinical Medical Services, Inc.", "25000.00"] | |
["Scott", "Congel", nil, "25000.00"] | |
["Richard", "Corbett", nil, "50000.00"] | |
["Howard", "Cox", nil, "100000.00"] | |
["Joseph", "Craft", nil, "500000.00"] | |
["Gordon", "Crawford", nil, "25000.00"] | |
["John", "Cushman", nil, "100000.00"] | |
["Don", "Dancer", nil, "1000.00"] | |
["Irving", "Deal", nil, "10000.00"] | |
["William", "Diercksen", nil, "150.00"] | |
["Margaret", "Dizdarevic", nil, "50000.00"] | |
["Sead", "Dizdarevic", nil, "50000.00"] | |
["Janet", "Duchossois", nil, "250000.00"] | |
[nil, nil, "Eastgate Farms, Inc.", "25000.00"] | |
["Dean", "Eborne", nil, "100.00"] | |
["Hope", "Eccles", nil, "7500.00"] | |
["Lisa", "Eccles", nil, "7500.00"] | |
["Spencer", "Eccles", nil, "25000.00"] | |
["Robert", "Emmertson", nil, "500.00"] | |
["Bruce", "Evans", nil, "25000.00"] | |
[nil, nil, "Firehouse Restaurant Group, Inc.", "5000.00"] | |
["David", "Fischer", nil, "50000.00"] | |
["Andre", "Forde", nil, "10.00"] | |
["Jeanne", "Godwin", nil, "500.00"] | |
["Robert", "Goergen", nil, "15000.00"] | |
["Peter", "Greathouse", nil, "25.00"] | |
["Susan", "Groff", nil, "225000.00"] | |
[nil, nil, "Groff Family Trust", "25000.00"] | |
["Walter", "Hall", nil, "100.00"] | |
["Frederic", "Hamilton", nil, "25000.00"] | |
["James", "Heavener", nil, "10000.00"] | |
["Jami", "Heidegger", nil, "12500.00"] | |
["Klaus", "Heidegger", nil, "12500.00"] | |
["Kristen", "Hertel", nil, "95000.00"] | |
["Robert", "Hill", nil, "25000.00"] | |
["David", "Horowitz", nil, "10000.00"] | |
["Tony", "Hughes", nil, "100.00"] | |
["William", "Isaac", nil, "25000.00"] | |
[nil, nil, "JTC Holdings, LLC", "10000.00"] | |
[nil, nil, "JTC Holdings, LLC", "10000.00"] | |
["Bruce", "Kovner", nil, "500000.00"] | |
["Fred", "Lampropoulos", nil, "50000.00"] | |
["Kevin", "Landry", nil, "20000.00"] | |
[nil, nil, "Larry H. Miller Group of Companies", "100000.00"] | |
["Shane", "Larsen", nil, "50.00"] | |
["Marc", "Lautenbach", nil, "1000.00"] | |
["Howard", "Leach", nil, "100000.00"] | |
["Peter", "Leidel", nil, "10000.00"] | |
["David", "Lisonbee", nil, "500000.00"] | |
["David", "Lucchetti", nil, "10000.00"] | |
["Gregory", "Maffei", nil, "100000.00"] | |
["Peter", "Magowan", nil, "25000.00"] | |
[nil, nil, "Manchester Financial Group, LP", "25000.00"] | |
["J.W.", "Marriott", nil, "250000.00"] | |
["Richard", "Marriott", nil, "250000.00"] | |
["Larry", "McAfee", nil, "250.00"] | |
["John", "McDonnell", nil, "5100.00"] | |
["James", "McFarland", nil, "100.00"] | |
["Nancy", "Moening", nil, "25.00"] | |
["Kit", "Moncrief", nil, "5000.00"] | |
["Mitchell", "Morgan", nil, "50000.00"] | |
["Joan", "Newton", nil, "2500.00"] | |
["Russell", "Newton", nil, "2500.00"] | |
["Laura", "Overdeck", nil, "50000.00"] | |
["Randy", "Owen", nil, "1000.00"] | |
["Randy", "Owen", nil, "3000.00"] | |
["Geoff", "Palmer", nil, "250000.00"] | |
["Todd", "Pedersen", nil, "25000.00"] | |
["Wayne", "Perry", nil, "15000.00"] | |
["Joel", "Peterson", nil, "100000.00"] | |
["Jeffrey", "Pierce", nil, "50.00"] | |
["Jeffrey", "Pierce", nil, "250.00"] | |
["Kevin", "Pitts", nil, "25.00"] | |
["John", "Price", nil, "10000.00"] | |
["Byron", "Prinzmetal", nil, "250.00"] | |
["Randal", "Quarles", nil, "7500.00"] | |
[nil, nil, "REBS Inc.", "25000.00"] | |
["Julian", "Robertson", nil, "250000.00"] | |
["Charles", "Rogers", nil, "500.00"] | |
["Norman", "Rogers", nil, "500.00"] | |
["Kevin", "Rollins", nil, "125000.00"] | |
["Jerry", "Roth", nil, "10000.00"] | |
["Marc", "Rowan", nil, "10000.00"] | |
["Robert", "Rowling", nil, "100000.00"] | |
[nil, nil, "RTTTA, LLC", "75000.00"] | |
["Stephen", "Rushing", nil, "25.00"] | |
[nil, nil, "Ryan Enterprises Group", "25000.00"] | |
["John", "Salemi", nil, "5.00"] | |
["Steve", "Samuelian", nil, "25000.00"] | |
["Muneer", "Satter", nil, "95000.00"] | |
[nil, nil, "Select Management Resources, LLC", "100000.00"] | |
["Darryl", "Shapiro", nil, "25.00"] | |
["David", "Sheeren", nil, "25.00"] | |
["Harold", "Simmons", nil, "100000.00"] | |
["Mark", "Speers", nil, "5000.00"] | |
["Paula", "Speers", nil, "5000.00"] | |
["Douglas", "Spencer", nil, "50.00"] | |
["Douglas", "Spencer", nil, "100.00"] | |
["Glenn", "Stearns", nil, "50000.00"] | |
["Thomas", "Stemberg", nil, "10000.00"] | |
[nil, nil, "Suffolk Construction Company, Inc.", "25000.00"] | |
["Bruce", "Summers", nil, "25.00"] | |
["Eric", "Swanson", nil, "250.00"] | |
["Gabor", "Szakacsi", nil, "25.00"] | |
["David", "Tepper", nil, "375000.00"] | |
["Thomas", "Tierney", nil, "5000.00"] | |
[nil, nil, "Tiger Ventures", "5000.00"] | |
["Robert", "Tuttle", nil, "25000.00"] | |
[nil, nil, "United Refining", "25000.00"] | |
["Alice", "Walton", nil, "100000.00"] | |
["Jim", "Walton", nil, "100000.00"] | |
["Nathaniel", "Walton", nil, "500.00"] | |
["John", "Washika", nil, "10.00"] | |
[nil, nil, "Wellspring Associates, Inc.", "5000.00"] | |
["Raili", "West", nil, "25.00"] | |
["Robert", "Wetenhall", nil, "150000.00"] | |
["Meg", "Whitman", nil, "100000.00"] | |
["David", "Wilson", nil, "100000.00"] | |
["Thomas", "Wilson", nil, "100.00"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment