fech 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -6,10 +6,12 @@
6
6
 
7
7
  Fech makes it easy to parse electronic presidential campaign filings[http://query.nictusa.com/pres/], PAC filings and independent expenditure filings[http://www.fec.gov/finance/disclosure/ie_reports.shtml] from the Federal Election Commission. It lets you access filing attributes the same way regardless of filing version, and works as a framework for cleaning and filing data.
8
8
 
9
- Fech supports several FEC form types, including all F3P (presidential filings), F5 (independent expenditures), F24 (24/48 hour notices of independent expenditures), F56 (contributions to independent expenditure committees) F57 (expenditures by independent expenditure committees) and F3X (filings by unauthorized committees).
9
+ Fech supports several FEC form types, including all F3P (presidential filings), F5 (independent expenditures), F24 (24/48 hour notices of independent expenditures), F56 (contributions to independent expenditure committees) F57 (expenditures by independent expenditure committees), F3X (filings by unauthorized committees) and F9 (electioneering communications).
10
10
 
11
11
  == News
12
12
 
13
+ * Feb. 11, 2012: Version 0.7.0 released. Layouts for form 9 added, for parsing electioneering communications filings.
14
+ * Jan. 28, 2012: Version 0.6.0 released. Added support for quoted fields.
13
15
  * Nov. 22, 2011: Version 0.5.0 released. Layouts for form 3X added, for parsing filings from non-candidate committees.
14
16
  * Nov. 13, 2011: Version 0.3.0 released. Layouts for forms 24, 5, 56 and 57 added, for parsing independent expenditure filings.
15
17
  * Nov. 4, 2011: Version 0.2.1 released. Bug-fix release to address a problem with the :include option for selecting only certain columns. Thanks to Aaron Bycoffe for the report and patch.
@@ -34,7 +36,7 @@ Start by creating a Filing object that corresponds to any presidential electroni
34
36
  filing.download
35
37
 
36
38
  * Pass in the FEC filing id
37
- * Optional: specify the :download_dir on initialization to set where filings are stored. Otherwise, they'll go into a temp folder on your filesystem.
39
+ * Optional arguments: pass in a :quote_char argument, and Fech will use it as a quote character to parse the file (see details below). Specify the :download_dir on initialization to set where filings are stored. Otherwise, they'll go into a temp folder on your filesystem.
38
40
 
39
41
  === Summary Data
40
42
 
@@ -15,6 +15,11 @@ module FechUtils
15
15
  :f5 => /^f5[na]/i,
16
16
  :f56 => /^f56/i,
17
17
  :f57 => /^f57/i,
18
+ :f9 => /^f9/i,
19
+ :f91 => /^f91/i,
20
+ :f92 => /^f92/i,
21
+ :f93 => /^f93/i,
22
+ :f94 => /^f94/i,
18
23
  :sa => /^sa/i,
19
24
  :sb => /^sb/i,
20
25
  :sc => /^sc[^1-2]/i,
@@ -9,7 +9,8 @@ module Fech
9
9
  attr_accessor :map
10
10
  FILING_VERSIONS = ["8.0", "7.0", "6.4", "6.3", "6.2", "6.1",
11
11
  "5.3", "5.2", "5.1", "5.0", "3"]
12
- BASE_ROW_TYPES = ["HDR", "F24", "F3P", "F3P31", "F3PS", "F3S", "F3X", "F5", "F56", "F57",
12
+ BASE_ROW_TYPES = ["HDR", "F24", "F3P", "F3P31", "F3PS", "F3S", "F3X", "F5", "F56", "F57",
13
+ "F9", "F91", "F92", "F93", "F94",
13
14
  "SchA", "SchB", "SchC", "SchC1", "SchC2", "SchD", "SchE",
14
15
  "SchF", "TEXT"]
15
16
  ROW_TYPE_MATCHERS = {
@@ -23,6 +24,11 @@ module Fech
23
24
  "F5" => FechUtils::ROW_TYPES[:f5],
24
25
  "F56" => FechUtils::ROW_TYPES[:f56],
25
26
  "F57" => FechUtils::ROW_TYPES[:f57],
27
+ "F9" => FechUtils::ROW_TYPES[:f9],
28
+ "F91" => FechUtils::ROW_TYPES[:f91],
29
+ "F92" => FechUtils::ROW_TYPES[:f92],
30
+ "F93" => FechUtils::ROW_TYPES[:f93],
31
+ "F94" => FechUtils::ROW_TYPES[:f94],
26
32
  "SchA" => FechUtils::ROW_TYPES[:sa],
27
33
  "SchB" => FechUtils::ROW_TYPES[:sb],
28
34
  "SchC" => FechUtils::ROW_TYPES[:sc],
@@ -6,38 +6,38 @@
6
6
  module Fech
7
7
  RENDERED_MAPS = {
8
8
  "^hdr$" => {
9
- '^[6-8]' => [:record_type, :ef_type, :fec_version, :soft_name, :soft_ver, :report_id, :report_number, :comment],
10
9
  '^[3-5]' => [:record_type, :ef_type, :fec_version, :soft_name, :soft_ver, :name_delim, :report_id, :report_number, :comment],
10
+ '^[6-8]' => [:record_type, :ef_type, :fec_version, :soft_name, :soft_ver, :report_id, :report_number, :comment],
11
11
  },
12
12
  "^f24" => {
13
- '^8.0' => [:form_type, :filer_committee_id_number, :report_type, :original_amendment_date, :committee_name, :street_1, :street_2, :city, :state, :zip, :treasurer_last_name, :treasurer_first_name, :treasurer_middle_name, :treasurer_prefix, :treasurer_suffix, :date_signed],
14
13
  '^7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :report_type, :committee_name, :street_1, :street_2, :city, :state, :zip, :treasurer_last_name, :treasurer_first_name, :treasurer_middle_name, :treasurer_prefix, :treasurer_suffix, :date_signed],
14
+ '^8.0' => [:form_type, :filer_committee_id_number, :report_type, :original_amendment_date, :committee_name, :street_1, :street_2, :city, :state, :zip, :treasurer_last_name, :treasurer_first_name, :treasurer_middle_name, :treasurer_prefix, :treasurer_suffix, :date_signed],
15
15
  '^5.0|5.1|5.2|5.3' => [:form_type, :filer_committee_id_number, :committee_name, :street_1, :street_2, :city, :state, :zip, nil, :date_signed, :report_type],
16
16
  '^3' => [:form_type, :filer_committee_id_number, :committee_name, :street_1, :street_2, :city, :state, :zip, nil, :date_signed],
17
17
  },
18
18
  "(^f3p$)|(^f3p[^s|3])" => {
19
- '^7.0|8.0' => [:form_type, :filer_committee_id_number, :committee_name, :change_of_address, :street_1, :street_2, :city, :state, :zip, :activity_primary, :activity_general, :report_code, :election_code, :date_of_election, :state_of_election, :coverage_from_date, :coverage_through_date, :treasurer_last_name, :treasurer_first_name, :treasurer_middle_name, :treasurer_prefix, :treasurer_suffix, :date_signed, :col_a_cash_on_hand_beginning_period, :col_a_total_receipts, :col_a_subtotal, :col_a_total_disbursements, :col_a_cash_on_hand_close_of_period, :col_a_debts_to, :col_a_debts_by, :col_a_expenditures_subject_to_limits, :col_a_net_contributions, :col_a_net_operating_expenditures, :col_a_federal_funds, :col_a_individuals_itemized, :col_a_individuals_unitemized, :col_a_individual_contribution_total, :col_a_political_party_committees_receipts, :col_a_other_political_committees_pacs, :col_a_the_candidate, :col_a_total_contributions, :col_a_transfers_from_aff_other_party_cmttees, :col_a_received_from_or_guaranteed_by_cand, :col_a_other_loans, :col_a_total_loans, :col_a_operating, :col_a_fundraising, :col_a_legal_and_accounting, :col_a_total_offsets_to_expenditures, :col_a_other_receipts, :col_a_total_receipts, :col_a_operating_expenditures, :col_a_transfers_to_other_authorized_committees, :col_a_fundraising_disbursements, :col_a_exempt_legal_accounting_disbursement, :col_a_made_or_guaranteed_by_candidate, :col_a_other_repayments, :col_a_total_loan_repayments_made, :col_a_individuals, :col_a_political_party_committees_refunds, :col_a_other_political_committees, :col_a_total_contributions_refunds, :col_a_other_disbursements, :col_a_total_disbursements, :col_a_items_on_hand_to_be_liquidated, :col_a_alabama, :col_a_alaska, :col_a_arizona, :col_a_arkansas, :col_a_california, :col_a_colorado, :col_a_connecticut, :col_a_delaware, :col_a_dist_of_columbia, :col_a_florida, :col_a_georgia, :col_a_hawaii, :col_a_idaho, :col_a_illinois, :col_a_indiana, :col_a_iowa, :col_a_kansas, :col_a_kentucky, :col_a_louisiana, :col_a_maine, :col_a_maryland, :col_a_massachusetts, :col_a_michigan, :col_a_minnesota, :col_a_mississippi, :col_a_missouri, :col_a_montana, :col_a_nebraska, :col_a_nevada, :col_a_new_hampshire, :col_a_new_jersey, :col_a_new_mexico, :col_a_new_york, :col_a_north_carolina, :col_a_north_dakota, :col_a_ohio, :col_a_oklahoma, :col_a_oregon, :col_a_pennsylvania, :col_a_rhode_island, :col_a_south_carolina, :col_a_south_dakota, :col_a_tennessee, :col_a_texas, :col_a_utah, :col_a_vermont, :col_a_virginia, :col_a_washington, :col_a_west_virginia, :col_a_wisconsin, :col_a_wyoming, :col_a_puerto_rico, :col_a_guam, :col_a_virgin_islands, :col_a_totals, :col_b_federal_funds, :col_b_individuals_itemized, :col_b_individuals_unitemized, :col_b_individual_contribution_total, :col_b_political_party_committees_receipts, :col_b_other_political_committees_pacs, :col_b_the_candidate, :col_b_total_contributions_other_than_loans, :col_b_transfers_from_aff_other_party_cmttees, :col_b_received_from_or_guaranteed_by_cand, :col_b_other_loans, :col_b_total_loans, :col_b_operating, :col_b_fundraising, :col_b_legal_and_accounting, :col_b_total_offsets_to_operating_expenditures, :col_b_other_receipts, :col_b_total_receipts, :col_b_operating_expenditures, :col_b_transfers_to_other_authorized_committees, :col_b_fundraising_disbursements, :col_b_exempt_legal_accounting_disbursement, :col_b_made_or_guaranteed_by_the_candidate, :col_b_other_repayments, :col_b_total_loan_repayments_made, :col_b_individuals, :col_b_political_party_committees_refunds, :col_b_other_political_committees, :col_b_total_contributions_refunds, :col_b_other_disbursements, :col_b_total_disbursements, :col_b_alabama, :col_b_alaska, :col_b_arizona, :col_b_arkansas, :col_b_california, :col_b_colorado, :col_b_connecticut, :col_b_delaware, :col_b_dist_of_columbia, :col_b_florida, :col_b_georgia, :col_b_hawaii, :col_b_idaho, :col_b_illinois, :col_b_indiana, :col_b_iowa, :col_b_kansas, :col_b_kentucky, :col_b_louisiana, :col_b_maine, :col_b_maryland, :col_b_massachusetts, :col_b_michigan, :col_b_minnesota, :col_b_mississippi, :col_b_missouri, :col_b_montana, :col_b_nebraska, :col_b_nevada, :col_b_new_hampshire, :col_b_new_jersey, :col_b_new_mexico, :col_b_new_york, :col_b_north_carolina, :col_b_north_dakota, :col_b_ohio, :col_b_oklahoma, :col_b_oregon, :col_b_pennsylvania, :col_b_rhode_island, :col_b_south_carolina, :col_b_south_dakota, :col_b_tennessee, :col_b_texas, :col_b_utah, :col_b_vermont, :col_b_virginia, :col_b_washington, :col_b_west_virginia, :col_b_wisconsin, :col_b_wyoming, :col_b_puerto_rico, :col_b_guam, :col_b_virgin_islands, :col_b_totals],
20
19
  '^6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :committee_name, :change_of_address, :street_1, :street_2, :city, :state, :zip, :activity_primary, :activity_general, :report_code, :election_code, :date_of_election, :state_of_election, :coverage_from_date, :coverage_through_date, :treasurer_last_name, :treasurer_first_name, :treasurer_middle_name, :treasurer_prefix, :treasurer_suffix, :date_signed, :col_a_cash_on_hand_beginning_period, :col_a_total_receipts, :col_a_subtotal, :col_a_total_disbursements, :col_a_cash_on_hand_close_of_period, :col_a_debts_to, :col_a_debts_by, :col_a_expenditures_subject_to_limits, :col_a_net_contributions, :col_a_net_operating_expenditures, :col_a_federal_funds, :col_a_individual_contribution_total, :col_a_political_party_committees_receipts, :col_a_other_political_committees_pacs, :col_a_the_candidate, :col_a_total_contributions, :col_a_transfers_from_aff_other_party_cmttees, :col_a_received_from_or_guaranteed_by_cand, :col_a_other_loans, :col_a_total_loans, :col_a_operating, :col_a_fundraising, :col_a_legal_and_accounting, :col_a_total_offsets_to_expenditures, :col_a_other_receipts, :col_a_total_receipts, :col_a_operating_expenditures, :col_a_transfers_to_other_authorized_committees, :col_a_fundraising_disbursements, :col_a_exempt_legal_accounting_disbursement, :col_a_made_or_guaranteed_by_candidate, :col_a_other_repayments, :col_a_total_loan_repayments_made, :col_a_individuals, :col_a_political_party_committees_refunds, :col_a_other_political_committees, :col_a_total_contributions_refunds, :col_a_other_disbursements, :col_a_total_disbursements, :col_a_items_on_hand_to_be_liquidated, :col_a_alabama, :col_a_alaska, :col_a_arizona, :col_a_arkansas, :col_a_california, :col_a_colorado, :col_a_connecticut, :col_a_delaware, :col_a_dist_of_columbia, :col_a_florida, :col_a_georgia, :col_a_hawaii, :col_a_idaho, :col_a_illinois, :col_a_indiana, :col_a_iowa, :col_a_kansas, :col_a_kentucky, :col_a_louisiana, :col_a_maine, :col_a_maryland, :col_a_massachusetts, :col_a_michigan, :col_a_minnesota, :col_a_mississippi, :col_a_missouri, :col_a_montana, :col_a_nebraska, :col_a_nevada, :col_a_new_hampshire, :col_a_new_jersey, :col_a_new_mexico, :col_a_new_york, :col_a_north_carolina, :col_a_north_dakota, :col_a_ohio, :col_a_oklahoma, :col_a_oregon, :col_a_pennsylvania, :col_a_rhode_island, :col_a_south_carolina, :col_a_south_dakota, :col_a_tennessee, :col_a_texas, :col_a_utah, :col_a_vermont, :col_a_virginia, :col_a_washington, :col_a_west_virginia, :col_a_wisconsin, :col_a_wyoming, :col_a_puerto_rico, :col_a_guam, :col_a_virgin_islands, :col_a_totals, :col_b_federal_funds, :col_b_individual_contribution_total, :col_b_political_party_committees_receipts, :col_b_other_political_committees_pacs, :col_b_the_candidate, :col_b_total_contributions_other_than_loans, :col_b_transfers_from_aff_other_party_cmttees, :col_b_received_from_or_guaranteed_by_cand, :col_b_other_loans, :col_b_total_loans, :col_b_operating, :col_b_fundraising, :col_b_legal_and_accounting, :col_b_total_offsets_to_operating_expenditures, :col_b_other_receipts, :col_b_total_receipts, :col_b_operating_expenditures, :col_b_transfers_to_other_authorized_committees, :col_b_fundraising_disbursements, :col_b_exempt_legal_accounting_disbursement, :col_b_made_or_guaranteed_by_the_candidate, :col_b_other_repayments, :col_b_total_loan_repayments_made, :col_b_individuals, :col_b_political_party_committees_refunds, :col_b_other_political_committees, :col_b_total_contributions_refunds, :col_b_other_disbursements, :col_b_total_disbursements, :col_b_alabama, :col_b_alaska, :col_b_arizona, :col_b_arkansas, :col_b_california, :col_b_colorado, :col_b_connecticut, :col_b_delaware, :col_b_dist_of_columbia, :col_b_florida, :col_b_georgia, :col_b_hawaii, :col_b_idaho, :col_b_illinois, :col_b_indiana, :col_b_iowa, :col_b_kansas, :col_b_kentucky, :col_b_louisiana, :col_b_maine, :col_b_maryland, :col_b_massachusetts, :col_b_michigan, :col_b_minnesota, :col_b_mississippi, :col_b_missouri, :col_b_montana, :col_b_nebraska, :col_b_nevada, :col_b_new_hampshire, :col_b_new_jersey, :col_b_new_mexico, :col_b_new_york, :col_b_north_carolina, :col_b_north_dakota, :col_b_ohio, :col_b_oklahoma, :col_b_oregon, :col_b_pennsylvania, :col_b_rhode_island, :col_b_south_carolina, :col_b_south_dakota, :col_b_tennessee, :col_b_texas, :col_b_utah, :col_b_vermont, :col_b_virginia, :col_b_washington, :col_b_west_virginia, :col_b_wisconsin, :col_b_wyoming, :col_b_puerto_rico, :col_b_guam, :col_b_virgin_islands, :col_b_totals],
21
- '^5.3|5.2' => [:form_type, :filer_committee_id_number, :committee_name, :street_1, :street_2, :city, :state, :zip, :change_of_address, :activity_primary, :activity_general, :report_code, :election_code, :date_of_election, :state_of_election, :coverage_from_date, :coverage_through_date, :col_a_cash_on_hand_beginning_period, :col_a_total_receipts, :col_a_subtotal, :col_a_total_disbursements, :col_a_cash_on_hand_close_of_period, :col_a_debts_to, :col_a_debts_by, :col_a_expenditures_subject_to_limits, :col_a_net_contributions, :col_a_net_operating_expenditures, :col_a_federal_funds, :col_a_individual_contribution_total, :col_a_political_party_committees_receipts, :col_a_other_political_committees_pacs, :col_a_the_candidate, :col_a_total_contributions, :col_a_transfers_from_aff_other_party_cmttees, :col_a_received_from_or_guaranteed_by_cand, :col_a_other_loans, :col_a_total_loans, :col_a_operating, :col_a_fundraising, :col_a_legal_and_accounting, :col_a_total_offsets_to_expenditures, :col_a_other_receipts, :col_a_total_receipts, :col_a_operating_expenditures, :col_a_transfers_to_other_authorized_committees, :col_a_fundraising_disbursements, :col_a_exempt_legal_accounting_disbursement, :col_a_made_or_guaranteed_by_candidate, :col_a_other_repayments, :col_a_total_loan_repayments_made, :col_a_individuals, :col_a_political_party_committees_refunds, :col_a_other_political_committees, :col_a_total_contributions_refunds, :col_a_other_disbursements, :col_a_total_disbursements, :col_a_items_on_hand_to_be_liquidated, :col_a_alabama, :col_a_alaska, :col_a_arizona, :col_a_arkansas, :col_a_california, :col_a_colorado, :col_a_connecticut, :col_a_delaware, :col_a_dist_of_columbia, :col_a_florida, :col_a_georgia, :col_a_hawaii, :col_a_idaho, :col_a_illinois, :col_a_indiana, :col_a_iowa, :col_a_kansas, :col_a_kentucky, :col_a_louisiana, :col_a_maine, :col_a_maryland, :col_a_massachusetts, :col_a_michigan, :col_a_minnesota, :col_a_mississippi, :col_a_missouri, :col_a_montana, :col_a_nebraska, :col_a_nevada, :col_a_new_hampshire, :col_a_new_jersey, :col_a_new_mexico, :col_a_new_york, :col_a_north_carolina, :col_a_north_dakota, :col_a_ohio, :col_a_oklahoma, :col_a_oregon, :col_a_pennsylvania, :col_a_rhode_island, :col_a_south_carolina, :col_a_south_dakota, :col_a_tennessee, :col_a_texas, :col_a_utah, :col_a_vermont, :col_a_virginia, :col_a_washington, :col_a_west_virginia, :col_a_wisconsin, :col_a_wyoming, :col_a_puerto_rico, :col_a_guam, :col_a_virgin_islands, :col_a_totals, :col_b_federal_funds, :col_b_individual_contribution_total, :col_b_political_party_committees_receipts, :col_b_other_political_committees_pacs, :col_b_the_candidate, :col_b_total_contributions_other_than_loans, :col_b_transfers_from_aff_other_party_cmttees, :col_b_received_from_or_guaranteed_by_cand, :col_b_other_loans, :col_b_total_loans, :col_b_operating, :col_b_fundraising, :col_b_legal_and_accounting, :col_b_total_offsets_to_operating_expenditures, :col_b_other_receipts, :col_b_total_receipts, :col_b_operating_expenditures, :col_b_transfers_to_other_authorized_committees, :col_b_fundraising_disbursements, :col_b_exempt_legal_accounting_disbursement, :col_b_made_or_guaranteed_by_the_candidate, :col_b_other_repayments, :col_b_total_loan_repayments_made, :col_b_individuals, :col_b_political_party_committees_refunds, :col_b_other_political_committees, :col_b_total_contributions_refunds, :col_b_other_disbursements, :col_b_total_disbursements, :col_b_alabama, :col_b_alaska, :col_b_arizona, :col_b_arkansas, :col_b_california, :col_b_colorado, :col_b_connecticut, :col_b_delaware, :col_b_dist_of_columbia, :col_b_florida, :col_b_georgia, :col_b_hawaii, :col_b_idaho, :col_b_illinois, :col_b_indiana, :col_b_iowa, :col_b_kansas, :col_b_kentucky, :col_b_louisiana, :col_b_maine, :col_b_maryland, :col_b_massachusetts, :col_b_michigan, :col_b_minnesota, :col_b_mississippi, :col_b_missouri, :col_b_montana, :col_b_nebraska, :col_b_nevada, :col_b_new_hampshire, :col_b_new_jersey, :col_b_new_mexico, :col_b_new_york, :col_b_north_carolina, :col_b_north_dakota, :col_b_ohio, :col_b_oklahoma, :col_b_oregon, :col_b_pennsylvania, :col_b_rhode_island, :col_b_south_carolina, :col_b_south_dakota, :col_b_tennessee, :col_b_texas, :col_b_utah, :col_b_vermont, :col_b_virginia, :col_b_washington, :col_b_west_virginia, :col_b_wisconsin, :col_b_wyoming, :col_b_puerto_rico, :col_b_guam, :col_b_virgin_islands, :col_b_totals, :treasurer_name, :date_signed],
22
20
  '^5.1|5.0|3' => [:form_type, :filer_committee_id_number, :committee_name, :street_1, :street_2, :city, :state, :zip, :change_of_address, :activity_primary, :activity_general, :report_code, :election_code, :date_of_election, :state_of_election, :coverage_from_date, :coverage_through_date, :col_a_cash_on_hand_beginning_period, :col_a_total_receipts, :col_a_subtotal, :col_a_total_disbursements, :col_a_cash_on_hand_close_of_period, :col_a_debts_to, :col_a_debts_by, :col_a_expenditures_subject_to_limits, :col_a_net_contributions, :col_a_net_operating_expenditures, :col_a_federal_funds, :col_a_individual_contribution_total, :col_a_political_party_committees_receipts, :col_a_other_political_committees_pacs, :col_a_the_candidate, :col_a_total_contributions, :col_a_transfers_from_aff_other_party_cmttees, :col_a_received_from_or_guaranteed_by_cand, :col_a_other_loans, :col_a_total_loans, :col_a_operating, :col_a_fundraising, :col_a_legal_and_accounting, :col_a_total_offsets_to_expenditures, :col_a_other_receipts, :col_a_total_receipts, :col_a_operating_expenditures, :col_a_transfers_to_other_authorized_committees, :col_a_fundraising_disbursements, :col_a_exempt_legal_accounting_disbursement, :col_a_made_or_guaranteed_by_candidate, :col_a_other_repayments, :col_a_total_loan_repayments_made, :col_a_individuals, :col_a_political_party_committees_refunds, :col_a_other_political_committees, :col_a_total_contributions_refunds, :col_a_other_disbursements, :col_a_total_disbursements, :col_a_items_on_hand_to_be_liquidated, :col_a_alabama, :col_a_alaska, :col_a_arizona, :col_a_arkansas, :col_a_california, :col_a_colorado, :col_a_connecticut, :col_a_delaware, :col_a_dist_of_columbia, :col_a_florida, :col_a_georgia, :col_a_hawaii, :col_a_idaho, :col_a_illinois, :col_a_indiana, :col_a_iowa, :col_a_kansas, :col_a_kentucky, :col_a_louisiana, :col_a_maine, :col_a_maryland, :col_a_massachusetts, :col_a_michigan, :col_a_minnesota, :col_a_mississippi, :col_a_missouri, :col_a_montana, :col_a_nebraska, :col_a_nevada, :col_a_new_hampshire, :col_a_new_jersey, :col_a_new_mexico, :col_a_new_york, :col_a_north_carolina, :col_a_north_dakota, :col_a_ohio, :col_a_oklahoma, :col_a_oregon, :col_a_pennsylvania, :col_a_rhode_island, :col_a_south_carolina, :col_a_south_dakota, :col_a_tennessee, :col_a_texas, :col_a_utah, :col_a_vermont, :col_a_virginia, :col_a_washington, :col_a_west_virginia, :col_a_wisconsin, :col_a_wyoming, :col_a_puerto_rico, :col_a_guam, :col_a_virgin_islands, :col_a_totals, :col_b_federal_funds, :col_b_individual_contribution_total, :col_b_political_party_committees_receipts, :col_b_other_political_committees_pacs, :col_b_the_candidate, :col_b_total_contributions_other_than_loans, :col_b_transfers_from_aff_other_party_cmttees, :col_b_received_from_or_guaranteed_by_cand, :col_b_other_loans, :col_b_total_loans, :col_b_operating, :col_b_fundraising, :col_b_legal_and_accounting, :col_b_total_offsets_to_operating_expenditures, :col_b_other_receipts, :col_b_total_receipts, :col_b_operating_expenditures, :col_b_transfers_to_other_authorized_committees, :col_b_fundraising_disbursements, :col_b_exempt_legal_accounting_disbursement, :col_b_made_or_guaranteed_by_the_candidate, :col_b_other_repayments, :col_b_total_loan_repayments_made, :col_b_individuals, :col_b_political_party_committees_refunds, :col_b_other_political_committees, :col_b_total_contributions_refunds, :col_b_other_disbursements, :col_b_total_disbursements, :col_b_alabama, :col_b_alaska, :col_b_arizona, :col_b_arkansas, :col_b_california, :col_b_colorado, :col_b_connecticut, :col_b_delaware, :col_b_dist_of_columbia, :col_b_florida, :col_b_georgia, :col_b_hawaii, :col_b_idaho, :col_b_illinois, :col_b_indiana, :col_b_iowa, :col_b_kansas, :col_b_kentucky, :col_b_louisiana, :col_b_maine, :col_b_maryland, :col_b_massachusetts, :col_b_michigan, :col_b_minnesota, :col_b_mississippi, :col_b_missouri, :col_b_montana, :col_b_nebraska, :col_b_nevada, :col_b_new_hampshire, :col_b_new_jersey, :col_b_new_mexico, :col_b_new_york, :col_b_north_carolina, :col_b_north_dakota, :col_b_ohio, :col_b_oklahoma, :col_b_oregon, :col_b_pennsylvania, :col_b_rhode_island, :col_b_south_carolina, :col_b_south_dakota, :col_b_tennessee, :col_b_texas, :col_b_utah, :col_b_vermont, :col_b_virginia, :col_b_washington, :col_b_west_virginia, :col_b_wisconsin, :col_b_wyoming, :col_b_puerto_rico, :col_b_guam, :col_b_virgin_islands, :col_b_totals, :treasurer_name, :date_signed],
21
+ '^7.0|8.0' => [:form_type, :filer_committee_id_number, :committee_name, :change_of_address, :street_1, :street_2, :city, :state, :zip, :activity_primary, :activity_general, :report_code, :election_code, :date_of_election, :state_of_election, :coverage_from_date, :coverage_through_date, :treasurer_last_name, :treasurer_first_name, :treasurer_middle_name, :treasurer_prefix, :treasurer_suffix, :date_signed, :col_a_cash_on_hand_beginning_period, :col_a_total_receipts, :col_a_subtotal, :col_a_total_disbursements, :col_a_cash_on_hand_close_of_period, :col_a_debts_to, :col_a_debts_by, :col_a_expenditures_subject_to_limits, :col_a_net_contributions, :col_a_net_operating_expenditures, :col_a_federal_funds, :col_a_individuals_itemized, :col_a_individuals_unitemized, :col_a_individual_contribution_total, :col_a_political_party_committees_receipts, :col_a_other_political_committees_pacs, :col_a_the_candidate, :col_a_total_contributions, :col_a_transfers_from_aff_other_party_cmttees, :col_a_received_from_or_guaranteed_by_cand, :col_a_other_loans, :col_a_total_loans, :col_a_operating, :col_a_fundraising, :col_a_legal_and_accounting, :col_a_total_offsets_to_expenditures, :col_a_other_receipts, :col_a_total_receipts, :col_a_operating_expenditures, :col_a_transfers_to_other_authorized_committees, :col_a_fundraising_disbursements, :col_a_exempt_legal_accounting_disbursement, :col_a_made_or_guaranteed_by_candidate, :col_a_other_repayments, :col_a_total_loan_repayments_made, :col_a_individuals, :col_a_political_party_committees_refunds, :col_a_other_political_committees, :col_a_total_contributions_refunds, :col_a_other_disbursements, :col_a_total_disbursements, :col_a_items_on_hand_to_be_liquidated, :col_a_alabama, :col_a_alaska, :col_a_arizona, :col_a_arkansas, :col_a_california, :col_a_colorado, :col_a_connecticut, :col_a_delaware, :col_a_dist_of_columbia, :col_a_florida, :col_a_georgia, :col_a_hawaii, :col_a_idaho, :col_a_illinois, :col_a_indiana, :col_a_iowa, :col_a_kansas, :col_a_kentucky, :col_a_louisiana, :col_a_maine, :col_a_maryland, :col_a_massachusetts, :col_a_michigan, :col_a_minnesota, :col_a_mississippi, :col_a_missouri, :col_a_montana, :col_a_nebraska, :col_a_nevada, :col_a_new_hampshire, :col_a_new_jersey, :col_a_new_mexico, :col_a_new_york, :col_a_north_carolina, :col_a_north_dakota, :col_a_ohio, :col_a_oklahoma, :col_a_oregon, :col_a_pennsylvania, :col_a_rhode_island, :col_a_south_carolina, :col_a_south_dakota, :col_a_tennessee, :col_a_texas, :col_a_utah, :col_a_vermont, :col_a_virginia, :col_a_washington, :col_a_west_virginia, :col_a_wisconsin, :col_a_wyoming, :col_a_puerto_rico, :col_a_guam, :col_a_virgin_islands, :col_a_totals, :col_b_federal_funds, :col_b_individuals_itemized, :col_b_individuals_unitemized, :col_b_individual_contribution_total, :col_b_political_party_committees_receipts, :col_b_other_political_committees_pacs, :col_b_the_candidate, :col_b_total_contributions_other_than_loans, :col_b_transfers_from_aff_other_party_cmttees, :col_b_received_from_or_guaranteed_by_cand, :col_b_other_loans, :col_b_total_loans, :col_b_operating, :col_b_fundraising, :col_b_legal_and_accounting, :col_b_total_offsets_to_operating_expenditures, :col_b_other_receipts, :col_b_total_receipts, :col_b_operating_expenditures, :col_b_transfers_to_other_authorized_committees, :col_b_fundraising_disbursements, :col_b_exempt_legal_accounting_disbursement, :col_b_made_or_guaranteed_by_the_candidate, :col_b_other_repayments, :col_b_total_loan_repayments_made, :col_b_individuals, :col_b_political_party_committees_refunds, :col_b_other_political_committees, :col_b_total_contributions_refunds, :col_b_other_disbursements, :col_b_total_disbursements, :col_b_alabama, :col_b_alaska, :col_b_arizona, :col_b_arkansas, :col_b_california, :col_b_colorado, :col_b_connecticut, :col_b_delaware, :col_b_dist_of_columbia, :col_b_florida, :col_b_georgia, :col_b_hawaii, :col_b_idaho, :col_b_illinois, :col_b_indiana, :col_b_iowa, :col_b_kansas, :col_b_kentucky, :col_b_louisiana, :col_b_maine, :col_b_maryland, :col_b_massachusetts, :col_b_michigan, :col_b_minnesota, :col_b_mississippi, :col_b_missouri, :col_b_montana, :col_b_nebraska, :col_b_nevada, :col_b_new_hampshire, :col_b_new_jersey, :col_b_new_mexico, :col_b_new_york, :col_b_north_carolina, :col_b_north_dakota, :col_b_ohio, :col_b_oklahoma, :col_b_oregon, :col_b_pennsylvania, :col_b_rhode_island, :col_b_south_carolina, :col_b_south_dakota, :col_b_tennessee, :col_b_texas, :col_b_utah, :col_b_vermont, :col_b_virginia, :col_b_washington, :col_b_west_virginia, :col_b_wisconsin, :col_b_wyoming, :col_b_puerto_rico, :col_b_guam, :col_b_virgin_islands, :col_b_totals],
22
+ '^5.3|5.2' => [:form_type, :filer_committee_id_number, :committee_name, :street_1, :street_2, :city, :state, :zip, :change_of_address, :activity_primary, :activity_general, :report_code, :election_code, :date_of_election, :state_of_election, :coverage_from_date, :coverage_through_date, :col_a_cash_on_hand_beginning_period, :col_a_total_receipts, :col_a_subtotal, :col_a_total_disbursements, :col_a_cash_on_hand_close_of_period, :col_a_debts_to, :col_a_debts_by, :col_a_expenditures_subject_to_limits, :col_a_net_contributions, :col_a_net_operating_expenditures, :col_a_federal_funds, :col_a_individual_contribution_total, :col_a_political_party_committees_receipts, :col_a_other_political_committees_pacs, :col_a_the_candidate, :col_a_total_contributions, :col_a_transfers_from_aff_other_party_cmttees, :col_a_received_from_or_guaranteed_by_cand, :col_a_other_loans, :col_a_total_loans, :col_a_operating, :col_a_fundraising, :col_a_legal_and_accounting, :col_a_total_offsets_to_expenditures, :col_a_other_receipts, :col_a_total_receipts, :col_a_operating_expenditures, :col_a_transfers_to_other_authorized_committees, :col_a_fundraising_disbursements, :col_a_exempt_legal_accounting_disbursement, :col_a_made_or_guaranteed_by_candidate, :col_a_other_repayments, :col_a_total_loan_repayments_made, :col_a_individuals, :col_a_political_party_committees_refunds, :col_a_other_political_committees, :col_a_total_contributions_refunds, :col_a_other_disbursements, :col_a_total_disbursements, :col_a_items_on_hand_to_be_liquidated, :col_a_alabama, :col_a_alaska, :col_a_arizona, :col_a_arkansas, :col_a_california, :col_a_colorado, :col_a_connecticut, :col_a_delaware, :col_a_dist_of_columbia, :col_a_florida, :col_a_georgia, :col_a_hawaii, :col_a_idaho, :col_a_illinois, :col_a_indiana, :col_a_iowa, :col_a_kansas, :col_a_kentucky, :col_a_louisiana, :col_a_maine, :col_a_maryland, :col_a_massachusetts, :col_a_michigan, :col_a_minnesota, :col_a_mississippi, :col_a_missouri, :col_a_montana, :col_a_nebraska, :col_a_nevada, :col_a_new_hampshire, :col_a_new_jersey, :col_a_new_mexico, :col_a_new_york, :col_a_north_carolina, :col_a_north_dakota, :col_a_ohio, :col_a_oklahoma, :col_a_oregon, :col_a_pennsylvania, :col_a_rhode_island, :col_a_south_carolina, :col_a_south_dakota, :col_a_tennessee, :col_a_texas, :col_a_utah, :col_a_vermont, :col_a_virginia, :col_a_washington, :col_a_west_virginia, :col_a_wisconsin, :col_a_wyoming, :col_a_puerto_rico, :col_a_guam, :col_a_virgin_islands, :col_a_totals, :col_b_federal_funds, :col_b_individual_contribution_total, :col_b_political_party_committees_receipts, :col_b_other_political_committees_pacs, :col_b_the_candidate, :col_b_total_contributions_other_than_loans, :col_b_transfers_from_aff_other_party_cmttees, :col_b_received_from_or_guaranteed_by_cand, :col_b_other_loans, :col_b_total_loans, :col_b_operating, :col_b_fundraising, :col_b_legal_and_accounting, :col_b_total_offsets_to_operating_expenditures, :col_b_other_receipts, :col_b_total_receipts, :col_b_operating_expenditures, :col_b_transfers_to_other_authorized_committees, :col_b_fundraising_disbursements, :col_b_exempt_legal_accounting_disbursement, :col_b_made_or_guaranteed_by_the_candidate, :col_b_other_repayments, :col_b_total_loan_repayments_made, :col_b_individuals, :col_b_political_party_committees_refunds, :col_b_other_political_committees, :col_b_total_contributions_refunds, :col_b_other_disbursements, :col_b_total_disbursements, :col_b_alabama, :col_b_alaska, :col_b_arizona, :col_b_arkansas, :col_b_california, :col_b_colorado, :col_b_connecticut, :col_b_delaware, :col_b_dist_of_columbia, :col_b_florida, :col_b_georgia, :col_b_hawaii, :col_b_idaho, :col_b_illinois, :col_b_indiana, :col_b_iowa, :col_b_kansas, :col_b_kentucky, :col_b_louisiana, :col_b_maine, :col_b_maryland, :col_b_massachusetts, :col_b_michigan, :col_b_minnesota, :col_b_mississippi, :col_b_missouri, :col_b_montana, :col_b_nebraska, :col_b_nevada, :col_b_new_hampshire, :col_b_new_jersey, :col_b_new_mexico, :col_b_new_york, :col_b_north_carolina, :col_b_north_dakota, :col_b_ohio, :col_b_oklahoma, :col_b_oregon, :col_b_pennsylvania, :col_b_rhode_island, :col_b_south_carolina, :col_b_south_dakota, :col_b_tennessee, :col_b_texas, :col_b_utah, :col_b_vermont, :col_b_virginia, :col_b_washington, :col_b_west_virginia, :col_b_wisconsin, :col_b_wyoming, :col_b_puerto_rico, :col_b_guam, :col_b_virgin_islands, :col_b_totals, :treasurer_name, :date_signed],
23
23
  },
24
24
  "^f3p31" => {
25
- '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id_number, :entity_type, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :item_description, :item_contribution_aquired_date, :item_fair_market_value, :contributor_employer, :contributor_occupation, :memo_code, :memo_text_description],
26
- '^5.3' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_name, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :contributor_employer, :contributor_occupation, :item_contribution_aquired_date, :item_fair_market_value, :transaction_code, :transaction_description, :fec_committee_id_number, :fec_candidate_id_number, :candidate_name, :candidate_office, :candidate_state, :candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id_number],
27
25
  '^5.2|5.1|5.0|3' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_name, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :contributor_employer, :contributor_occupation, :item_contribution_aquired_date, :item_fair_market_value, :transaction_code, :transaction_description, :fec_committee_id_number, :fec_candidate_id_number, :candidate_name, :candidate_office, :candidate_state, :candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id_number],
26
+ '^5.3' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_name, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :contributor_employer, :contributor_occupation, :item_contribution_aquired_date, :item_fair_market_value, :transaction_code, :transaction_description, :fec_committee_id_number, :fec_candidate_id_number, :candidate_name, :candidate_office, :candidate_state, :candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id_number],
27
+ '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id_number, :entity_type, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :item_description, :item_contribution_aquired_date, :item_fair_market_value, :contributor_employer, :contributor_occupation, :memo_code, :memo_text_description],
28
28
  },
29
29
  "^f3ps" => {
30
- '^8.0|7.0' => [:form_type, :filer_committee_id_number, :date_general_election, :date_day_after_general_election, :net_contributions, :net_expenditures, :federal_funds, :a_i_individuals_itemized, :a_ii_individuals_unitemized, :a_iii_individual_contribution_total, :b_political_party_committees, :c_other_political_committees_pacs, :d_the_candidate, :e_total_contributions_other_than_loans, :transfers_from_aff_other_party_committees, :a_received_from_or_guaranteed_by_candidate, :b_other_loans, :c_total_loans, :a_operating, :b_fundraising, :c_legal_and_accounting, :d_total_offsets_to_operating_expenditures, :other_receipts, :total_receipts, :operating_expenditures, :transfers_to_other_authorized_committees, :fundraising_disbursements, :exempt_legal_and_accounting_disbursements, :a_made_or_guaranteed_by_the_candidate, :b_other_repayments, :c_total_loan_repayments_made, :a_individuals, :b_political_party_committees, :c_other_political_committees, :d_total_contributions_refunds, :other_disbursements, :total_disbursements, :alabama, :alaska, :arizona, :arkansas, :california, :colorado, :connecticut, :delaware, :dist_of_columbia, :florida, :georgia, :hawaii, :idaho, :illinois, :indiana, :iowa, :kansas, :kentucky, :louisiana, :maine, :maryland, :massachusetts, :michigan, :minnesota, :mississippi, :missouri, :montana, :nebraska, :nevada, :new_hampshire, :new_jersey, :new_mexico, :new_york, :north_carolina, :north_dakota, :ohio, :oklahoma, :oregon, :pennsylvania, :rhode_island, :south_carolina, :south_dakota, :tennessee, :texas, :utah, :vermont, :virginia, :washington, :west_virginia, :wisconsin, :wyoming, :puerto_rico, :guam, :virgin_islands, :totals],
31
30
  '^6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :date_general_election, :date_day_after_general_election, :net_contributions, :net_expenditures, :federal_funds, :a_individuals, :b_political_party_committees, :c_other_political_committees_pacs, :d_the_candidate, :e_total_contributions_other_than_loans, :transfers_from_aff_other_party_committees, :a_received_from_or_guaranteed_by_candidate, :b_other_loans, :c_total_loans, :a_operating, :b_fundraising, :c_legal_and_accounting, :d_total_offsets_to_operating_expenditures, :other_receipts, :total_receipts, :operating_expenditures, :transfers_to_other_authorized_committees, :fundraising_disbursements, :exempt_legal_and_accounting_disbursements, :a_made_or_guaranteed_by_the_candidate, :b_other_repayments, :c_total_loan_repayments_made, :a_individuals, :b_political_party_committees, :c_other_political_committees, :d_total_contributions_refunds, :other_disbursements, :total_disbursements, :alabama, :alaska, :arizona, :arkansas, :california, :colorado, :connecticut, :delaware, :dist_of_columbia, :florida, :georgia, :hawaii, :idaho, :illinois, :indiana, :iowa, :kansas, :kentucky, :louisiana, :maine, :maryland, :massachusetts, :michigan, :minnesota, :mississippi, :missouri, :montana, :nebraska, :nevada, :new_hampshire, :new_jersey, :new_mexico, :new_york, :north_carolina, :north_dakota, :ohio, :oklahoma, :oregon, :pennsylvania, :rhode_island, :south_carolina, :south_dakota, :tennessee, :texas, :utah, :vermont, :virginia, :washington, :west_virginia, :wisconsin, :wyoming, :puerto_rico, :guam, :virgin_islands, :totals],
31
+ '^8.0|7.0' => [:form_type, :filer_committee_id_number, :date_general_election, :date_day_after_general_election, :net_contributions, :net_expenditures, :federal_funds, :a_i_individuals_itemized, :a_ii_individuals_unitemized, :a_iii_individual_contribution_total, :b_political_party_committees, :c_other_political_committees_pacs, :d_the_candidate, :e_total_contributions_other_than_loans, :transfers_from_aff_other_party_committees, :a_received_from_or_guaranteed_by_candidate, :b_other_loans, :c_total_loans, :a_operating, :b_fundraising, :c_legal_and_accounting, :d_total_offsets_to_operating_expenditures, :other_receipts, :total_receipts, :operating_expenditures, :transfers_to_other_authorized_committees, :fundraising_disbursements, :exempt_legal_and_accounting_disbursements, :a_made_or_guaranteed_by_the_candidate, :b_other_repayments, :c_total_loan_repayments_made, :a_individuals, :b_political_party_committees, :c_other_political_committees, :d_total_contributions_refunds, :other_disbursements, :total_disbursements, :alabama, :alaska, :arizona, :arkansas, :california, :colorado, :connecticut, :delaware, :dist_of_columbia, :florida, :georgia, :hawaii, :idaho, :illinois, :indiana, :iowa, :kansas, :kentucky, :louisiana, :maine, :maryland, :massachusetts, :michigan, :minnesota, :mississippi, :missouri, :montana, :nebraska, :nevada, :new_hampshire, :new_jersey, :new_mexico, :new_york, :north_carolina, :north_dakota, :ohio, :oklahoma, :oregon, :pennsylvania, :rhode_island, :south_carolina, :south_dakota, :tennessee, :texas, :utah, :vermont, :virginia, :washington, :west_virginia, :wisconsin, :wyoming, :puerto_rico, :guam, :virgin_islands, :totals],
32
32
  '^5.3|5.2|5.1|5.0|3' => [:form_type, :filer_committee_id_number, :net_contributions, :net_expenditures, :federal_funds, :a_individuals, :b_political_party_committees, :c_other_political_committees_pacs, :d_the_candidate, :e_total_contributions_other_than_loans, :transfers_from_aff_other_party_committees, :a_received_from_or_guaranteed_by_candidate, :b_other_loans, :c_total_loans, :a_operating, :b_fundraising, :c_legal_and_accounting, :d_total_offsets_to_operating_expenditures, :other_receipts, :total_receipts, :operating_expenditures, :transfers_to_other_authorized_committees, :fundraising_disbursements, :exempt_legal_and_accounting_disbursements, :a_made_or_guaranteed_by_the_candidate, :b_other_repayments, :c_total_loan_repayments_made, :a_individuals, :b_political_party_committees, :c_other_political_committees, :d_total_contributions_refunds, :other_disbursements, :total_disbursements, :alabama, :alaska, :arizona, :arkansas, :california, :colorado, :connecticut, :delaware, :dist_of_columbia, :florida, :georgia, :hawaii, :idaho, :illinois, :indiana, :iowa, :kansas, :kentucky, :louisiana, :maine, :maryland, :massachusetts, :michigan, :minnesota, :mississippi, :missouri, :montana, :nebraska, :nevada, :new_hampshire, :new_jersey, :new_mexico, :new_york, :north_carolina, :north_dakota, :ohio, :oklahoma, :oregon, :pennsylvania, :rhode_island, :south_carolina, :south_dakota, :tennessee, :texas, :utah, :vermont, :virginia, :washington, :west_virginia, :wisconsin, :wyoming, :puerto_rico, :guam, :virgin_islands, :totals, :date_general_election, :date_day_after_general_election],
33
33
  },
34
34
  "^f3s" => {
35
- '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :date_general_election, :date_day_after_general_election, :a_total_contributions_no_loans, :b_total_contribution_refunds, :c_net_contributions, :a_total_operating_expenditures, :b_total_offsets_to_operating_expenditures, :c_net_operating_expenditures, :a_i_individuals_itemized, :a_ii_individuals_unitemized, :a_iii_individuals_total, :b_political_party_committees, :c_all_other_political_committees_pacs, :d_the_candidate, :e_total_contributions, :transfers_from_other_auth_committees, :a_loans_made_or_guarn_by_the_candidate, :b_all_other_loans, :c_total_loans, :offsets_to_operating_expenditures, :other_receipts, :total_receipts, :operating_expenditures, :transfers_to_other_auth_committees, :a_loan_repayment_by_candidate, :b_loan_repayments_all_other_loans, :c_total_loan_repayments, :a_refund_individuals_other_than_pol_cmtes, :b_refund_political_party_committees, :c_refund_other_political_committees, :d_total_contributions_refunds, :other_disbursements, :total_disbursements],
36
35
  '^5.3|5.2|5.1|5.0|3' => [:form_type, :filer_committee_id_number, :a_total_contributions_no_loans, :b_total_contribution_refunds, :c_net_contributions, :a_total_operating_expenditures, :b_total_offsets_to_operating_expenditures, :c_net_operating_expenditures, :a_i_individuals_itemized, :a_ii_individuals_unitemized, :a_iii_individuals_total, :b_political_party_committees, :c_all_other_political_committees_pacs, :d_the_candidate, :e_total_contributions, :transfers_from_other_auth_committees, :a_loans_made_or_guarn_by_the_candidate, :b_all_other_loans, :c_total_loans, :offsets_to_operating_expenditures, :other_receipts, :total_receipts, :operating_expenditures, :transfers_to_other_auth_committees, :a_loan_repayment_by_candidate, nil, :c_total_loan_repayments, :a_refund_individuals_other_than_pol_cmtes, nil, nil, :d_total_contributions_refunds, :other_disbursements, :total_disbursements, :date_general_election, :date_day_after_general_election],
36
+ '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :date_general_election, :date_day_after_general_election, :a_total_contributions_no_loans, :b_total_contribution_refunds, :c_net_contributions, :a_total_operating_expenditures, :b_total_offsets_to_operating_expenditures, :c_net_operating_expenditures, :a_i_individuals_itemized, :a_ii_individuals_unitemized, :a_iii_individuals_total, :b_political_party_committees, :c_all_other_political_committees_pacs, :d_the_candidate, :e_total_contributions, :transfers_from_other_auth_committees, :a_loans_made_or_guarn_by_the_candidate, :b_all_other_loans, :c_total_loans, :offsets_to_operating_expenditures, :other_receipts, :total_receipts, :operating_expenditures, :transfers_to_other_auth_committees, :a_loan_repayment_by_candidate, :b_loan_repayments_all_other_loans, :c_total_loan_repayments, :a_refund_individuals_other_than_pol_cmtes, :b_refund_political_party_committees, :c_refund_other_political_committees, :d_total_contributions_refunds, :other_disbursements, :total_disbursements],
37
37
  },
38
38
  "^f3x" => {
39
- '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :committee_name, :change_of_address, :street_1, :street_2, :city, :state, :zip, :report_code, :election_code, :date_of_election, :state_of_election, :coverage_from_date, :coverage_through_date, :qualified_committee, :treasurer_last_name, :treasurer_first_name, :treasurer_middle_name, :treasurer_prefix, :treasurer_suffix, :date_signed, :col_a_cash_on_hand_beginning_period, :col_a_total_receipts, :col_a_subtotal, :col_a_total_disbursements, :col_a_cash_on_hand_close_of_period, :col_a_debts_to, :col_a_debts_by, :col_a_individuals_itemized, :col_a_individuals_unitemized, :col_a_individual_contribution_total, :col_a_political_party_committees, :col_a_other_political_committees_pacs, :col_a_total_contributions, :col_a_transfers_from_aff_other_party_cmttees, :col_a_total_loans, :col_a_total_loan_repayments_received, :col_a_offsets_to_expenditures, :col_a_total_contributions_refunds, :col_a_other_federal_receipts, :col_a_transfers_from_nonfederal_h3, :col_a_levin_funds, :col_a_total_nonfederal_transfers, :col_a_total_receipts, :col_a_total_federal_receipts, :col_a_shared_operating_expenditures_federal, :col_a_shared_operating_expenditures_nonfederal, :col_a_other_federal_operating_expenditures, :col_a_total_operating_expenditures, :col_a_transfers_to_affiliated, :col_a_contributions_to_candidates, :col_a_independent_expenditures, :col_a_coordinated_expenditures_by_party_committees, :col_a_total_loan_repayments_made, :col_a_loans_made, :col_a_refunds_to_individuals, :col_a_refunds_to_party_committees, :col_a_refunds_to_other_committees, :col_a_total_refunds, :col_a_other_disbursements, :col_a_federal_election_activity_federal_share, :col_a_federal_election_activity_levin_share, :col_a_federal_election_activity_all_federal, :col_a_federal_election_activity_total, :col_a_total_disbursements, :col_a_total_federal_disbursements, :col_a_total_contributions, :col_a_total_contributions_refunds, :col_a_net_contributions, :col_a_total_federal_operating_expenditures, :col_a_total_offsets_to_expenditures, :col_a_net_operating_expenditures, :col_b_cash_on_hand_jan_1, :col_b_year, :col_b_total_receipts, :col_b_subtotal, :col_b_total_disbursements, :col_b_cash_on_hand_close_of_period, :col_b_individuals_itemized, :col_b_individuals_unitemized, :col_b_individual_contribution_total, :col_b_political_party_committees, :col_b_other_political_committees_pacs, :col_b_total_contributions, :col_b_transfers_from_aff_other_party_cmttees, :col_b_total_loans, :col_b_total_loan_repayments_received, :col_b_offsets_to_expenditures, :col_b_total_contributions_refunds, :col_b_other_federal_receipts, :col_b_transfers_from_nonfederal_h3, :col_b_levin_funds, :col_b_total_nonfederal_transfers, :col_b_total_receipts, :col_b_total_federal_receipts, :col_b_shared_operating_expenditures_federal, :col_b_shared_operating_expenditures_nonfederal, :col_b_other_federal_operating_expenditures, :col_b_total_operating_expenditures, :col_b_transfers_to_affiliated, :col_b_contributions_to_candidates, :col_b_independent_expenditures, :col_b_coordinated_expenditures_by_party_committees, :col_b_total_loan_repayments_made, :col_b_loans_made, :col_b_refunds_to_individuals, :col_b_refunds_to_party_committees, :col_b_refunds_to_other_committees, :col_b_total_refunds, :col_b_other_disbursements, :col_b_federal_election_activity_federal_share, :col_b_federal_election_activity_levin_share, :col_b_federal_election_activity_all_federal, :col_b_federal_election_activity_total, :col_b_total_disbursements, :col_b_total_federal_disbursements, :col_b_total_contributions, :col_b_total_contributions_refunds, :col_b_net_contributions, :col_b_total_federal_operating_expenditures, :col_b_total_offsets_to_expenditures, :col_b_net_operating_expenditures],
40
39
  '^5.3|5.2|5.1|5.0' => [:form_type, :filer_committee_id_number, :committee_name, :street_1, :street_2, :city, :state, :zip, :change_of_address, :qualified_committee, :report_code, :election_code, :date_of_election, :state_of_election, :coverage_from_date, :coverage_through_date, :col_a_cash_on_hand_beginning_period, :col_a_total_receipts, :col_b_cash_on_hand_jan_1, :col_a_total_disbursements, :col_a_cash_on_hand_close_of_period, :col_a_debts_to, :col_a_debts_by, :col_a_individuals_itemized, :col_a_individuals_unitemized, :col_a_individual_contribution_total, :col_a_political_party_committees, :col_a_other_political_committees_pacs, :col_a_total_contributions, :col_a_transfers_from_aff_other_party_cmttees, :col_a_total_loans, :col_a_total_loan_repayments_received, :col_a_offsets_to_expenditures, :col_a_total_contributions_refunds, :col_a_other_federal_receipts, :col_a_transfers_from_nonfederal_h3, :col_a_total_receipts, :col_a_total_federal_receipts, :col_a_shared_operating_expenditures_federal, :col_a_shared_operating_expenditures_nonfederal, :col_a_other_federal_operating_expenditures, :col_a_total_operating_expenditures, :col_a_transfers_to_affiliated, :col_a_contributions_to_candidates, :col_a_independent_expenditures, :col_a_coordinated_expenditures_by_party_committees, :col_a_total_loan_repayments_made, :col_a_loans_made, :col_a_refunds_to_individuals, :col_a_refunds_to_party_committees, :col_a_refunds_to_other_committees, :col_a_total_refunds, :col_a_other_disbursements, :col_a_total_disbursements, :col_a_total_federal_disbursements, :col_a_total_contributions, :col_a_total_contributions_refunds, :col_a_net_contributions, :col_a_total_federal_operating_expenditures, :col_a_total_offsets_to_expenditures, :col_a_net_operating_expenditures, nil, :col_b_year, :col_b_total_receipts, :col_b_subtotal, :col_b_total_disbursements, :col_b_cash_on_hand_close_of_period, :col_b_individuals_itemized, :col_b_individuals_unitemized, :col_b_individual_contribution_total, :col_b_political_party_committees, :col_b_other_political_committees_pacs, :col_b_total_contributions, :col_b_transfers_from_aff_other_party_cmttees, :col_b_total_loans, :col_b_total_loan_repayments_received, :col_b_offsets_to_expenditures, :col_b_total_contributions_refunds, :col_b_other_federal_receipts, :col_b_transfers_from_nonfederal_h3, :col_b_total_receipts, :col_b_total_federal_receipts, :col_b_shared_operating_expenditures_federal, :col_b_shared_operating_expenditures_nonfederal, :col_b_other_federal_operating_expenditures, :col_b_total_operating_expenditures, :col_b_transfers_to_affiliated, :col_b_contributions_to_candidates, :col_b_independent_expenditures, :col_b_coordinated_expenditures_by_party_committees, :col_b_total_loan_repayments_made, :col_b_loans_made, :col_b_refunds_to_individuals, :col_b_refunds_to_party_committees, :col_b_refunds_to_other_committees, :col_b_total_refunds, :col_b_other_disbursements, :col_b_total_disbursements, :col_b_total_federal_disbursements, :col_b_total_contributions, :col_b_total_contributions_refunds, :col_b_net_contributions, :col_b_total_federal_operating_expenditures, :col_b_total_offsets_to_expenditures, :col_b_net_operating_expenditures, :treasurer_name, :date_signed, :col_a_levin_funds, :col_a_total_nonfederal_transfers, :col_a_federal_election_activity_federal_share, :col_a_federal_election_activity_levin_share, :col_a_federal_election_activity_all_federal, :col_a_federal_election_activity_total, :col_b_levin_funds, :col_b_total_nonfederal_transfers, :col_b_federal_election_activity_federal_share, :col_b_federal_election_activity_levin_share, :col_b_federal_election_activity_all_federal, :col_b_federal_election_activity_total],
40
+ '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :committee_name, :change_of_address, :street_1, :street_2, :city, :state, :zip, :report_code, :election_code, :date_of_election, :state_of_election, :coverage_from_date, :coverage_through_date, :qualified_committee, :treasurer_last_name, :treasurer_first_name, :treasurer_middle_name, :treasurer_prefix, :treasurer_suffix, :date_signed, :col_a_cash_on_hand_beginning_period, :col_a_total_receipts, :col_a_subtotal, :col_a_total_disbursements, :col_a_cash_on_hand_close_of_period, :col_a_debts_to, :col_a_debts_by, :col_a_individuals_itemized, :col_a_individuals_unitemized, :col_a_individual_contribution_total, :col_a_political_party_committees, :col_a_other_political_committees_pacs, :col_a_total_contributions, :col_a_transfers_from_aff_other_party_cmttees, :col_a_total_loans, :col_a_total_loan_repayments_received, :col_a_offsets_to_expenditures, :col_a_total_contributions_refunds, :col_a_other_federal_receipts, :col_a_transfers_from_nonfederal_h3, :col_a_levin_funds, :col_a_total_nonfederal_transfers, :col_a_total_receipts, :col_a_total_federal_receipts, :col_a_shared_operating_expenditures_federal, :col_a_shared_operating_expenditures_nonfederal, :col_a_other_federal_operating_expenditures, :col_a_total_operating_expenditures, :col_a_transfers_to_affiliated, :col_a_contributions_to_candidates, :col_a_independent_expenditures, :col_a_coordinated_expenditures_by_party_committees, :col_a_total_loan_repayments_made, :col_a_loans_made, :col_a_refunds_to_individuals, :col_a_refunds_to_party_committees, :col_a_refunds_to_other_committees, :col_a_total_refunds, :col_a_other_disbursements, :col_a_federal_election_activity_federal_share, :col_a_federal_election_activity_levin_share, :col_a_federal_election_activity_all_federal, :col_a_federal_election_activity_total, :col_a_total_disbursements, :col_a_total_federal_disbursements, :col_a_total_contributions, :col_a_total_contributions_refunds, :col_a_net_contributions, :col_a_total_federal_operating_expenditures, :col_a_total_offsets_to_expenditures, :col_a_net_operating_expenditures, :col_b_cash_on_hand_jan_1, :col_b_year, :col_b_total_receipts, :col_b_subtotal, :col_b_total_disbursements, :col_b_cash_on_hand_close_of_period, :col_b_individuals_itemized, :col_b_individuals_unitemized, :col_b_individual_contribution_total, :col_b_political_party_committees, :col_b_other_political_committees_pacs, :col_b_total_contributions, :col_b_transfers_from_aff_other_party_cmttees, :col_b_total_loans, :col_b_total_loan_repayments_received, :col_b_offsets_to_expenditures, :col_b_total_contributions_refunds, :col_b_other_federal_receipts, :col_b_transfers_from_nonfederal_h3, :col_b_levin_funds, :col_b_total_nonfederal_transfers, :col_b_total_receipts, :col_b_total_federal_receipts, :col_b_shared_operating_expenditures_federal, :col_b_shared_operating_expenditures_nonfederal, :col_b_other_federal_operating_expenditures, :col_b_total_operating_expenditures, :col_b_transfers_to_affiliated, :col_b_contributions_to_candidates, :col_b_independent_expenditures, :col_b_coordinated_expenditures_by_party_committees, :col_b_total_loan_repayments_made, :col_b_loans_made, :col_b_refunds_to_individuals, :col_b_refunds_to_party_committees, :col_b_refunds_to_other_committees, :col_b_total_refunds, :col_b_other_disbursements, :col_b_federal_election_activity_federal_share, :col_b_federal_election_activity_levin_share, :col_b_federal_election_activity_all_federal, :col_b_federal_election_activity_total, :col_b_total_disbursements, :col_b_total_federal_disbursements, :col_b_total_contributions, :col_b_total_contributions_refunds, :col_b_net_contributions, :col_b_total_federal_operating_expenditures, :col_b_total_offsets_to_expenditures, :col_b_net_operating_expenditures],
41
41
  '^3' => [:form_type, :filer_committee_id_number, :committee_name, :street_1, :street_2, :col_b_cash_on_hand_jan_1, :state, :zip, :change_of_address, :qualified_committee, :report_code, :election_code, :date_of_election, :state_of_election, :coverage_from_date, :coverage_through_date, :col_a_cash_on_hand_beginning_period, :col_a_total_receipts, :col_a_subtotal, :col_a_total_disbursements, :col_a_cash_on_hand_close_of_period, :col_a_debts_to, :col_a_debts_by, :col_a_individuals_itemized, :col_a_individuals_unitemized, :col_a_individual_contribution_total, :col_a_political_party_committees, :col_a_other_political_committees_pacs, :col_a_total_contributions, :col_a_transfers_from_aff_other_party_cmttees, :col_a_total_loans, :col_a_total_loan_repayments_received, :col_a_offsets_to_expenditures, :col_a_total_contributions_refunds, :col_a_other_federal_receipts, :col_a_transfers_from_nonfederal_h3, :col_a_total_receipts, :col_a_total_federal_receipts, :col_a_shared_operating_expenditures_federal, :col_a_shared_operating_expenditures_nonfederal, :col_a_other_federal_operating_expenditures, :col_a_total_operating_expenditures, :col_a_transfers_to_affiliated, :col_a_contributions_to_candidates, :col_a_independent_expenditures, :col_a_coordinated_expenditures_by_party_committees, :col_a_total_loan_repayments_made, :col_a_loans_made, :col_a_refunds_to_individuals, :col_a_refunds_to_party_committees, :col_a_refunds_to_other_committees, :col_a_total_refunds, :col_a_other_disbursements, :col_a_total_disbursements, :col_a_total_federal_disbursements, :col_a_total_contributions, :col_a_total_contributions_refunds, :col_a_net_contributions, :col_a_total_federal_operating_expenditures, :col_a_total_offsets_to_expenditures, :col_a_net_operating_expenditures, nil, :col_b_year, :col_b_total_receipts, :col_b_subtotal, :col_b_total_disbursements, :col_b_cash_on_hand_close_of_period, :col_b_individuals_itemized, :col_b_individuals_unitemized, :col_b_individual_contribution_total, :col_b_political_party_committees, :col_b_other_political_committees_pacs, :col_b_total_contributions, :col_b_transfers_from_aff_other_party_cmttees, :col_b_total_loans, :col_b_total_loan_repayments_received, :col_b_offsets_to_expenditures, :col_b_total_contributions_refunds, :col_b_other_federal_receipts, :col_b_transfers_from_nonfederal_h3, :col_b_total_receipts, :col_b_total_federal_receipts, :col_b_shared_operating_expenditures_federal, :col_b_shared_operating_expenditures_nonfederal, :col_b_other_federal_operating_expenditures, :col_b_total_operating_expenditures, :col_b_transfers_to_affiliated, :col_b_contributions_to_candidates, :col_b_independent_expenditures, :col_b_coordinated_expenditures_by_party_committees, :col_b_total_loan_repayments_made, :col_b_loans_made, :col_b_refunds_to_individuals, :col_b_refunds_to_party_committees, :col_b_refunds_to_other_committees, :col_b_total_refunds, :col_b_other_disbursements, :col_b_total_disbursements, :col_b_total_federal_disbursements, :col_b_total_contributions, :col_b_total_contributions_refunds, :col_b_net_contributions, :col_b_total_federal_operating_expenditures, :col_b_total_offsets_to_expenditures, :col_b_net_operating_expenditures, :treasurer_name, :date_signed],
42
42
  },
43
43
  "^f5[na]" => {
@@ -51,75 +51,101 @@ module Fech
51
51
  '^5.3|5.2|5.1|5.0|3.0' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_name, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :contributor_employer, :contributor_occupation, :contribution_date, :contribution_amount, :contributor_fec_id, :candidate_id, :candidate_name, :candidate_office, :candidate_state, :candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, nil, :transaction_id],
52
52
  },
53
53
  "^f57" => {
54
- '^8.0' => [:form_type, :filer_committee_id_number, :transaction_id_number, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :calendar_y_t_d_per_election_office, :expenditure_purpose_descrip, :category_code, :payee_cmtte_fec_id_number, :support_oppose_code, :candidate_id_number, :candidate_last_name, :candidate_first_name, :candidate_middle_name, :candidate_prefix, :candidate_suffix, :candidate_office, :candidate_state, :candidate_district],
55
54
  '^7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id_number, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :calendar_y_t_d_per_election_office, :expenditure_purpose_code, :expenditure_purpose_descrip, :category_code, :payee_cmtte_fec_id_number, :support_oppose_code, :candidate_id_number, :candidate_last_name, :candidate_first_name, :candidate_middle_name, :candidate_prefix, :candidate_suffix, :candidate_office, :candidate_state, :candidate_district],
55
+ '^8.0' => [:form_type, :filer_committee_id_number, :transaction_id_number, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :calendar_y_t_d_per_election_office, :expenditure_purpose_descrip, :category_code, :payee_cmtte_fec_id_number, :support_oppose_code, :candidate_id_number, :candidate_last_name, :candidate_first_name, :candidate_middle_name, :candidate_prefix, :candidate_suffix, :candidate_office, :candidate_state, :candidate_district],
56
56
  '^5.3|5.2|5.1|5.0' => [:form_type, :filer_committee_id_number, :entity_type, :payee_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_purpose_descrip, :expenditure_date, :expenditure_amount, :support_oppose_code, :candidate_id_number, :candidate_name, :candidate_office, :candidate_state, :candidate_district, nil, nil, nil, nil, nil, nil, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, nil, :transaction_id_number, :category_code, :expenditure_purpose_code, :calendar_y_t_d_per_election_office, :election_code, :election_other_description],
57
57
  '^3' => [:form_type, :filer_committee_id_number, :entity_type, :payee_name, :payee_street_2, nil, :payee_city, :payee_state, :payee_zip, :expenditure_purpose_descrip, :expenditure_date, :expenditure_amount, :support_oppose_code, :candidate_id_number, :candidate_name, :candidate_office, :candidate_state, :candidate_district, nil, nil, nil, nil, nil, nil, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :amended_code],
58
58
  },
59
+ "^f9" => {
60
+ '^8.0|7.0|6.4|6.3|6.2' => [:form_type, :filer_committee_id_number, :entity_type, :organization_name, :individual_last_name, :individual_first_name, :individual_middle_name, :individual_prefix, :individual_suffix, :change_of_address, :street_1, :street_2, :city, :state, :zip, :individual_employer, :individual_occupation, :coverage_from_date, :coverage_through_date, :date_public_distribution, :communication_title, :filer_code, :filer_code_description, :segregated_bank_account, :custodian_last_name, :custodian_first_name, :custodian_middle_name, :custodian_prefix, :custodian_suffix, :custodian_street_1, :custodian_street_2, :custodian_city, :custodian_state, :custodian_zip, :custodian_employer, :custodian_occupation, :total_donations, :total_disbursements, :person_completing_last_name, :person_completing_first_name, :person_completing_middle_name, :person_completing_prefix, :person_completing_suffix, :date_signed],
61
+ '^6.1' => [:form_type, :filer_committee_id_number, :entity_type, :organization_name, :individual_last_name, :individual_first_name, :individual_middle_name, :individual_prefix, :individual_suffix, :change_of_address, :street_1, :street_2, :city, :state, :zip, :individual_employer, :individual_occupation, :coverage_from_date, :coverage_through_date, :date_public_distribution, :communication_title, :qualified_non_profit, :segregated_bank_account, :custodian_last_name, :custodian_first_name, :custodian_middle_name, :custodian_prefix, :custodian_suffix, :custodian_street_1, :custodian_street_2, :custodian_city, :custodian_state, :custodian_zip, :custodian_employer, :custodian_occupation, :total_donations, :total_disbursements, :person_completing_last_name, :person_completing_first_name, :person_completing_middle_name, :person_completing_prefix, :person_completing_suffix, :date_signed],
62
+ '^5.3|5.2|5.1|5.0' => [:form_type, :filer_committee_id_number, :organization_name, :street_1, :street_2, :city, :state, :zip, :change_of_address, :individual_employer, :individual_occupation, :coverage_from_date, :coverage_through_date, :date_public_distribution, :communication_title, :qualified_non_profit, :segregated_bank_account, :custodian_last_name, :custodian_street_1, :custodian_street_2, :custodian_city, :custodian_state, :custodian_zip, :custodian_employer, :custodian_occupation, :total_donations, :total_disbursements, :person_completing_last_name, :date_signed],
63
+ },
64
+ "^f91" => {
65
+ '^5.3' => [:form_type, :filer_committee_id_number, :controller_last_name, :controller_street_1, :controller_street_2, :controller_city, :controller_state, :controller_zip, :controller_employer, :controller_occupation, nil, :transaction_id],
66
+ '^5.2|5.1|5.0' => [:form_type, :filer_committee_id_number, :controller_last_name, :controller_street_1, :controller_street_2, :controller_city, :controller_state, :controller_zip, :controller_employer, :controller_occupation, :amended_cd, :transaction_id],
67
+ '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id, :controller_last_name, :controller_first_name, :controller_middle_name, :controller_prefix, :controller_suffix, :controller_street_1, :controller_street_2, :controller_city, :controller_state, :controller_zip, :controller_employer, :controller_occupation],
68
+ },
69
+ "^f92" => {
70
+ '^5.0' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_organization_name, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, nil, nil, :contributor_employer, :contributor_occupation, nil, :contribution_date, :contribution_amount, :transaction_type, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name],
71
+ '^5.1' => [:form_type, :filer_committee_id_number, :entity_type, nil, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, nil, nil, :contributor_employer, :contributor_occupation, nil, :contribution_date, :contribution_amount, :transaction_type, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, nil, nil, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix],
72
+ '^5.3|5.2' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_organization_name, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, nil, nil, :contributor_employer, :contributor_occupation, nil, :contribution_date, :contribution_amount, :transaction_type, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name],
73
+ '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :contribution_date, :contribution_amount],
74
+ },
75
+ "^f93" => {
76
+ '^5.0' => [:form_type, :filer_committee_id_number, :entity_type, :payee_organization_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :election_code, :election_other_description, :payee_employer, :payee_occupation, nil, :expenditure_date, :expenditure_amount, :expenditure_purpose_descrip, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name],
77
+ '^5.1' => [:form_type, :filer_committee_id_number, :entity_type, :payee_organization_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_purpose_descrip, :expenditure_purpose_code, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, nil, nil, nil, :communication_date, nil, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix],
78
+ '^5.3|5.2' => [:form_type, :filer_committee_id_number, :entity_type, nil, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_purpose_code, :expenditure_purpose_descrip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, nil, nil, nil, :communication_date, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix],
79
+ '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :expenditure_purpose_descrip, :payee_employer, :payee_occupation, :communication_date],
80
+ },
81
+ "^f94" => {
82
+ '^5.3|5.2|5.1|5.0' => [:form_type, :filer_committee_id_number, :candidate_id_number, :candidate_name, :candidate_office, :candidate_state, :candidate_district, :election_code, :election_other_description, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name],
83
+ '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :candidate_id_number, :candidate_last_name, :candidate_first_name, :candidate_middle_name, :candidate_prefix, :candidate_suffix, :candidate_office, :candidate_state, :candidate_district, :election_code, :election_other_description],
84
+ },
59
85
  "^sa" => {
60
- '^8.0' => [:form_type, :filer_committee_id_number, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :election_other_description, :contribution_date, :contribution_amount, :contribution_aggregate, :contribution_purpose_descrip, :contributor_employer, :contributor_occupation, :donor_committee_fec_id, :donor_committee_name, :donor_candidate_fec_id, :donor_candidate_last_name, :donor_candidate_first_name, :donor_candidate_middle_name, :donor_candidate_prefix, :donor_candidate_suffix, :donor_candidate_office, :donor_candidate_state, :donor_candidate_district, :conduit_name, :conduit_street1, :conduit_street2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, :reference_code],
61
- '^7.0|6.4' => [:form_type, :filer_committee_id_number, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :election_other_description, :contribution_date, :contribution_amount, :contribution_aggregate, :contribution_purpose_code, :contribution_purpose_descrip, :contributor_employer, :contributor_occupation, :donor_committee_fec_id, :donor_committee_name, :donor_candidate_fec_id, :donor_candidate_last_name, :donor_candidate_first_name, :donor_candidate_middle_name, :donor_candidate_prefix, :donor_candidate_suffix, :donor_candidate_office, :donor_candidate_state, :donor_candidate_district, :conduit_name, :conduit_street1, :conduit_street2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, :reference_code],
86
+ '^5.0' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_name, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :election_other_description, :contributor_employer, :contributor_occupation, :contribution_aggregate, :contribution_date, :contribution_amount, :contribution_purpose_code, :contribution_purpose_descrip, :donor_committee_fec_id, :donor_candidate_fec_id, :donor_candidate_name, :donor_candidate_office, :donor_candidate_state, :donor_candidate_district, :conduit_name, :conduit_street1, :conduit_street2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :reference_code, :increased_limit_code],
87
+ '^5.1' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_name, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :election_other_description, :contributor_employer, :contributor_occupation, :contribution_aggregate, :contribution_date, :contribution_amount, :contribution_purpose_code, :contribution_purpose_descrip, :donor_committee_fec_id, :donor_candidate_fec_id, :donor_candidate_name, :donor_candidate_office, :donor_candidate_state, :donor_candidate_district, :conduit_name, :conduit_street1, :conduit_street2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :reference_code, :increased_limit_code, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix],
62
88
  '^6.3|6.2' => [:form_type, :filer_committee_id_number, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :election_other_description, :contribution_date, :contribution_amount, :contribution_aggregate, :contribution_purpose_code, :contribution_purpose_descrip, :increased_limit_code, :contributor_employer, :contributor_occupation, :donor_committee_fec_id, :donor_committee_name, :donor_candidate_fec_id, :donor_candidate_last_name, :donor_candidate_first_name, :donor_candidate_middle_name, :donor_candidate_prefix, :donor_candidate_suffix, :donor_candidate_office, :donor_candidate_state, :donor_candidate_district, :conduit_name, :conduit_street1, :conduit_street2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, :reference_code],
63
89
  '^6.1' => [:form_type, :filer_committee_id_number, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :election_other_description, :contribution_date, :contribution_amount, :contribution_aggregate, :contribution_purpose_code, :contribution_purpose_descrip, :increased_limit_code, :contributor_employer, :contributor_occupation, :donor_committee_fec_id, :donor_candidate_fec_id, :donor_candidate_last_name, :donor_candidate_first_name, :donor_candidate_middle_name, :donor_candidate_prefix, :donor_candidate_suffix, :donor_candidate_office, :donor_candidate_state, :donor_candidate_district, :conduit_name, :conduit_street1, :conduit_street2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, :reference_code],
64
- '^5.3' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_name, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :election_other_description, :contributor_employer, :contributor_occupation, :contribution_aggregate, :contribution_date, :contribution_amount, :contribution_purpose_code, :contribution_purpose_descrip, :donor_committee_fec_id, :donor_candidate_fec_id, :donor_candidate_name, :donor_candidate_office, :donor_candidate_state, :donor_candidate_district, :conduit_name, :conduit_street1, :conduit_street2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :reference_code, :increased_limit_code, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix],
65
90
  '^5.2' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_name, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :election_other_description, :contributor_employer, :contributor_occupation, :contribution_aggregate, :contribution_date, :contribution_amount, :contribution_purpose_code, :contribution_purpose_descrip, :donor_committee_fec_id, :donor_candidate_fec_id, :donor_candidate_name, :donor_candidate_office, :donor_candidate_state, :donor_candidate_district, :conduit_name, :conduit_street1, :conduit_street2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :reference_code, :increased_limit_code, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix],
66
- '^5.1' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_name, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :election_other_description, :contributor_employer, :contributor_occupation, :contribution_aggregate, :contribution_date, :contribution_amount, :contribution_purpose_code, :contribution_purpose_descrip, :donor_committee_fec_id, :donor_candidate_fec_id, :donor_candidate_name, :donor_candidate_office, :donor_candidate_state, :donor_candidate_district, :conduit_name, :conduit_street1, :conduit_street2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :reference_code, :increased_limit_code, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix],
67
- '^5.0' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_name, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :election_other_description, :contributor_employer, :contributor_occupation, :contribution_aggregate, :contribution_date, :contribution_amount, :contribution_purpose_code, :contribution_purpose_descrip, :donor_committee_fec_id, :donor_candidate_fec_id, :donor_candidate_name, :donor_candidate_office, :donor_candidate_state, :donor_candidate_district, :conduit_name, :conduit_street1, :conduit_street2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :reference_code, :increased_limit_code],
91
+ '^8.0' => [:form_type, :filer_committee_id_number, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :election_other_description, :contribution_date, :contribution_amount, :contribution_aggregate, :contribution_purpose_descrip, :contributor_employer, :contributor_occupation, :donor_committee_fec_id, :donor_committee_name, :donor_candidate_fec_id, :donor_candidate_last_name, :donor_candidate_first_name, :donor_candidate_middle_name, :donor_candidate_prefix, :donor_candidate_suffix, :donor_candidate_office, :donor_candidate_state, :donor_candidate_district, :conduit_name, :conduit_street1, :conduit_street2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, :reference_code],
92
+ '^5.3' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_name, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :election_other_description, :contributor_employer, :contributor_occupation, :contribution_aggregate, :contribution_date, :contribution_amount, :contribution_purpose_code, :contribution_purpose_descrip, :donor_committee_fec_id, :donor_candidate_fec_id, :donor_candidate_name, :donor_candidate_office, :donor_candidate_state, :donor_candidate_district, :conduit_name, :conduit_street1, :conduit_street2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :reference_code, :increased_limit_code, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix],
93
+ '^7.0|6.4' => [:form_type, :filer_committee_id_number, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :contributor_organization_name, :contributor_last_name, :contributor_first_name, :contributor_middle_name, :contributor_prefix, :contributor_suffix, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :election_other_description, :contribution_date, :contribution_amount, :contribution_aggregate, :contribution_purpose_code, :contribution_purpose_descrip, :contributor_employer, :contributor_occupation, :donor_committee_fec_id, :donor_committee_name, :donor_candidate_fec_id, :donor_candidate_last_name, :donor_candidate_first_name, :donor_candidate_middle_name, :donor_candidate_prefix, :donor_candidate_suffix, :donor_candidate_office, :donor_candidate_state, :donor_candidate_district, :conduit_name, :conduit_street1, :conduit_street2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, :reference_code],
68
94
  '^3' => [:form_type, :filer_committee_id_number, :entity_type, :contributor_name, :contributor_street_1, :contributor_street_2, :contributor_city, :contributor_state, :contributor_zip, :election_code, :election_other_description, :contributor_employer, :contributor_occupation, :contribution_aggregate, :contribution_date, :contribution_amount, :contribution_purpose_code, :contribution_purpose_descrip, :donor_committee_fec_id, :donor_candidate_fec_id, :donor_candidate_name, :donor_candidate_office, :donor_candidate_state, :donor_candidate_district, :conduit_name, :conduit_street1, :conduit_street2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id, :back_reference_tran_id_number, :back_reference_sched_name, :reference_code],
69
95
  },
70
96
  "^sb" => {
71
- '^8.0' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :semi_annual_refunded_bundled_amt, :expenditure_purpose_descrip, :category_code, :beneficiary_committee_fec_id, :beneficiary_committee_name, :beneficiary_candidate_fec_id, :beneficiary_candidate_last_name, :beneficiary_candidate_first_name, :beneficiary_candidate_middle_name, :beneficiary_candidate_prefix, :beneficiary_candidate_suffix, :beneficiary_candidate_office, :beneficiary_candidate_state, :beneficiary_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, :reference_to_si_or_sl_system_code_that_identifies_the_account],
72
- '^7.0|6.4' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :semi_annual_refunded_bundled_amt, :expenditure_purpose_code, :expenditure_purpose_descrip, :category_code, :beneficiary_committee_fec_id, :beneficiary_committee_name, :beneficiary_candidate_fec_id, :beneficiary_candidate_last_name, :beneficiary_candidate_first_name, :beneficiary_candidate_middle_name, :beneficiary_candidate_prefix, :beneficiary_candidate_suffix, :beneficiary_candidate_office, :beneficiary_candidate_state, :beneficiary_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, :reference_to_si_or_sl_system_code_that_identifies_the_account],
97
+ '^5.2|5.1' => [:form_type, :filer_committee_id_number, :entity_type, :payee_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_purpose_code, :expenditure_purpose_descrip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :beneficiary_committee_fec_id, :beneficiary_candidate_fec_id, :beneficiary_candidate_name, :beneficiary_candidate_office, :beneficiary_candidate_state, :beneficiary_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :reference_to_si_or_sl_system_code_that_identifies_the_account, :refund_or_disposal_of_excess, :category_code, :communication_date, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix],
98
+ '^5.0' => [:form_type, :filer_committee_id_number, :entity_type, :payee_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_purpose_code, :expenditure_purpose_descrip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :beneficiary_committee_fec_id, :beneficiary_candidate_fec_id, :beneficiary_candidate_name, :beneficiary_candidate_office, :beneficiary_candidate_state, :beneficiary_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :reference_to_si_or_sl_system_code_that_identifies_the_account, :refund_or_disposal_of_excess, :category_code, :communication_date],
73
99
  '^6.3|6.2' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :expenditure_purpose_code, :expenditure_purpose_descrip, :category_code, :refund_or_disposal_of_excess, :communication_date, :beneficiary_committee_fec_id, :beneficiary_committee_name, :beneficiary_candidate_fec_id, :beneficiary_candidate_last_name, :beneficiary_candidate_first_name, :beneficiary_candidate_middle_name, :beneficiary_candidate_prefix, :beneficiary_candidate_suffix, :beneficiary_candidate_office, :beneficiary_candidate_state, :beneficiary_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, :reference_to_si_or_sl_system_code_that_identifies_the_account],
74
100
  '^6.1' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :expenditure_purpose_code, :expenditure_purpose_descrip, :category_code, :refund_or_disposal_of_excess, :communication_date, :beneficiary_committee_fec_id, :beneficiary_candidate_fec_id, :beneficiary_candidate_last_name, :beneficiary_candidate_first_name, :beneficiary_candidate_middle_name, :beneficiary_candidate_prefix, :beneficiary_candidate_suffix, :beneficiary_candidate_office, :beneficiary_candidate_state, :beneficiary_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, :reference_to_si_or_sl_system_code_that_identifies_the_account],
101
+ '^8.0' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :semi_annual_refunded_bundled_amt, :expenditure_purpose_descrip, :category_code, :beneficiary_committee_fec_id, :beneficiary_committee_name, :beneficiary_candidate_fec_id, :beneficiary_candidate_last_name, :beneficiary_candidate_first_name, :beneficiary_candidate_middle_name, :beneficiary_candidate_prefix, :beneficiary_candidate_suffix, :beneficiary_candidate_office, :beneficiary_candidate_state, :beneficiary_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, :reference_to_si_or_sl_system_code_that_identifies_the_account],
75
102
  '^5.3' => [:form_type, :filer_committee_id_number, :entity_type, :payee_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_purpose_code, :expenditure_purpose_descrip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :beneficiary_committee_fec_id, :beneficiary_candidate_fec_id, :beneficiary_candidate_name, :beneficiary_candidate_office, :beneficiary_candidate_state, :beneficiary_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :reference_to_si_or_sl_system_code_that_identifies_the_account, :refund_or_disposal_of_excess, :category_code, :communication_date, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix],
76
- '^5.2|5.1' => [:form_type, :filer_committee_id_number, :entity_type, :payee_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_purpose_code, :expenditure_purpose_descrip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :beneficiary_committee_fec_id, :beneficiary_candidate_fec_id, :beneficiary_candidate_name, :beneficiary_candidate_office, :beneficiary_candidate_state, :beneficiary_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :reference_to_si_or_sl_system_code_that_identifies_the_account, :refund_or_disposal_of_excess, :category_code, :communication_date, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix],
77
- '^5.0' => [:form_type, :filer_committee_id_number, :entity_type, :payee_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_purpose_code, :expenditure_purpose_descrip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :beneficiary_committee_fec_id, :beneficiary_candidate_fec_id, :beneficiary_candidate_name, :beneficiary_candidate_office, :beneficiary_candidate_state, :beneficiary_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :reference_to_si_or_sl_system_code_that_identifies_the_account, :refund_or_disposal_of_excess, :category_code, :communication_date],
103
+ '^7.0|6.4' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :semi_annual_refunded_bundled_amt, :expenditure_purpose_code, :expenditure_purpose_descrip, :category_code, :beneficiary_committee_fec_id, :beneficiary_committee_name, :beneficiary_candidate_fec_id, :beneficiary_candidate_last_name, :beneficiary_candidate_first_name, :beneficiary_candidate_middle_name, :beneficiary_candidate_prefix, :beneficiary_candidate_suffix, :beneficiary_candidate_office, :beneficiary_candidate_state, :beneficiary_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, :reference_to_si_or_sl_system_code_that_identifies_the_account],
78
104
  '^3' => [:form_type, :filer_committee_id_number, :entity_type, :payee_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_purpose_code, :expenditure_purpose_descrip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :beneficiary_committee_fec_id, :beneficiary_candidate_fec_id, :beneficiary_candidate_name, :beneficiary_candidate_office, :beneficiary_candidate_state, :beneficiary_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :memo_code, :memo_text_description, nil, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :reference_to_si_or_sl_system_code_that_identifies_the_account],
79
105
  },
80
106
  "^sc[^1-2]" => {
107
+ '^5.2|5.1' => [:form_type, :filer_committee_id_number, :entity_type, :lender_name, :lender_street_1, :lender_street_2, :lender_city, :lender_state, :lender_zip, :election_code, :election_other_description, :loan_amount_original, :loan_payment_to_date, :loan_balance, :loan_incurred_date_terms, :loan_due_date_terms, :loan_interest_rate_terms, :secured, :lender_committee_id_number, :lender_candidate_id_number, :lender_candidate_name, :lender_candidate_office, :lender_candidate_state, :lender_candidate_district, nil, :transaction_id_number, :receipt_line_number],
81
108
  '^8.0|7.0|6.4|6.3|6.2' => [:form_type, :filer_committee_id_number, :transaction_id_number, :receipt_line_number, :entity_type, :lender_organization_name, :lender_last_name, :lender_first_name, :lender_middle_name, :lender_prefix, :lender_suffix, :lender_street_1, :lender_street_2, :lender_city, :lender_state, :lender_zip, :election_code, :election_other_description, :loan_amount_original, :loan_payment_to_date, :loan_balance, :loan_incurred_date_terms, :loan_due_date_terms, :loan_interest_rate_terms, :secured, :personal_funds, :lender_committee_id_number, :lender_candidate_id_number, :lender_candidate_last_name, :lender_candidate_first_name, :lender_candidate_middle_nm, :lender_candidate_prefix, :lender_candidate_suffix, :lender_candidate_office, :lender_candidate_state, :lender_candidate_district, :memo_code, :memo_text_description],
82
109
  '^6.1' => [:form_type, :filer_committee_id_number, :transaction_id_number, :receipt_line_number, :entity_type, :lender_organization_name, :lender_last_name, :lender_first_name, :lender_middle_name, :lender_prefix, :lender_suffix, :lender_street_1, :lender_street_2, :lender_city, :lender_state, :lender_zip, :election_code, :election_other_description, :loan_amount_original, :loan_payment_to_date, :loan_balance, :loan_incurred_date_terms, :loan_due_date_terms, :loan_interest_rate_terms, :secured, :lender_committee_id_number, :lender_candidate_id_number, :lender_candidate_last_name, :lender_candidate_first_name, :lender_candidate_middle_nm, :lender_candidate_prefix, :lender_candidate_suffix, :lender_candidate_office, :lender_candidate_state, :lender_candidate_district],
83
110
  '^5.3' => [:form_type, :filer_committee_id_number, :entity_type, :lender_name, :lender_street_1, :lender_street_2, :lender_city, :lender_state, :lender_zip, :election_code, :election_other_description, :loan_amount_original, :loan_payment_to_date, :loan_balance, :loan_incurred_date_terms, :loan_due_date_terms, :loan_interest_rate_terms, :secured, :lender_committee_id_number, :lender_candidate_id_number, :lender_candidate_name, :lender_candidate_office, :lender_candidate_state, :lender_candidate_district, nil, :transaction_id_number, :receipt_line_number],
84
- '^5.2|5.1' => [:form_type, :filer_committee_id_number, :entity_type, :lender_name, :lender_street_1, :lender_street_2, :lender_city, :lender_state, :lender_zip, :election_code, :election_other_description, :loan_amount_original, :loan_payment_to_date, :loan_balance, :loan_incurred_date_terms, :loan_due_date_terms, :loan_interest_rate_terms, :secured, :lender_committee_id_number, :lender_candidate_id_number, :lender_candidate_name, :lender_candidate_office, :lender_candidate_state, :lender_candidate_district, nil, :transaction_id_number, :receipt_line_number],
85
111
  '^5.0|3' => [:form_type, :filer_committee_id_number, :entity_type, :lender_name, :lender_street_1, :lender_street_2, :lender_city, :lender_state, :lender_zip, :election_code, :election_other_description, :loan_amount_original, :loan_payment_to_date, :loan_balance, :loan_incurred_date_terms, :loan_due_date_terms, :loan_interest_rate_terms, :secured, :lender_committee_id_number, :lender_candidate_id_number, :lender_candidate_name, :lender_candidate_office, :lender_candidate_state, :lender_candidate_district, nil, :transaction_id_number],
86
112
  },
87
113
  "^sc1" => {
88
- '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :lender_organization_name, :lender_street_1, :lender_street_2, :lender_city, :lender_state, :lender_zip, :loan_amount, :loan_interest_rate, :loan_incurred_date, :loan_due_date, :loan_restructured, :loan_inccured_date_original, :credit_amount_this_draw, :total_balance, :others_liable, :collateral, :description, :collateral_value_amount, :perfected_interest, :future_income, :description, :estimated_value, :established_date, :account_location_name, :street_1, :street_2, :city, :state, :zip, :deposit_acct_auth_date_presidential, :f_basis_of_loan_description, :treasurer_last_name, :treasurer_first_name, :treasurer_middle_name, :treasurer_prefix, :treasurer_suffix, :date_signed, :authorized_last_name, :authorized_first_name, :authorized_middle_name, :authorized_prefix, :authorized_suffix, :authorized_title, :date_signed],
89
114
  '^5.3' => [:form_type, :filer_committee_id_number, :back_reference_tran_id_number, :entity_type, :lender_organization_name, :lender_street_1, :lender_street_2, :lender_city, :lender_state, :lender_zip, :loan_amount, :loan_interest_rate, :loan_incurred_date, :loan_due_date, :loan_restructured, :loan_inccured_date_original, :credit_amount_this_draw, :total_balance, :others_liable, :collateral, :description, :collateral_value_amount, :perfected_interest, :future_income, :description, :estimated_value, :established_date, :account_location_name, :street_1, :street_2, :city, :state, :zip, :deposit_acct_auth_date_presidential, :f_basis_of_loan_description, :treasurer_name, :date_signed, :authorized_name, :authorized_title, :date_signed],
90
115
  '^5.2|5.1|5.0' => [:form_type, :filer_committee_id_number, :back_reference_tran_id_number, :entity_type, :lender_organization_name, :lender_street_1, :lender_street_2, :lender_city, :lender_state, :lender_zip, :loan_amount, :loan_interest_rate, :loan_incurred_date, :loan_due_date, :loan_restructured, :loan_inccured_date_original, :credit_amount_this_draw, :total_balance, :others_liable, :collateral, :description, :collateral_value_amount, :perfected_interest, :future_income, :description, :estimated_value, :established_date, :account_location_name, :street_1, :street_2, :city, :state, :zip, :deposit_acct_auth_date_presidential, :f_basis_of_loan_description, :treasurer_name, :date_signed, :authorized_name, :authorized_title, :date_signed],
116
+ '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :lender_organization_name, :lender_street_1, :lender_street_2, :lender_city, :lender_state, :lender_zip, :loan_amount, :loan_interest_rate, :loan_incurred_date, :loan_due_date, :loan_restructured, :loan_inccured_date_original, :credit_amount_this_draw, :total_balance, :others_liable, :collateral, :description, :collateral_value_amount, :perfected_interest, :future_income, :description, :estimated_value, :established_date, :account_location_name, :street_1, :street_2, :city, :state, :zip, :deposit_acct_auth_date_presidential, :f_basis_of_loan_description, :treasurer_last_name, :treasurer_first_name, :treasurer_middle_name, :treasurer_prefix, :treasurer_suffix, :date_signed, :authorized_last_name, :authorized_first_name, :authorized_middle_name, :authorized_prefix, :authorized_suffix, :authorized_title, :date_signed],
91
117
  '^3' => [:form_type, :filer_committee_id_number, :back_reference_tran_id_number, :entity_type, :lender_organization_name, :lender_street_1, :lender_street_2, :lender_city, :lender_state, :lender_zip, :loan_amount, :loan_interest_rate, :loan_incurred_date, :loan_due_date, :loan_restructured, :loan_inccured_date_original, :credit_amount_this_draw, :total_balance, :others_liable, :collateral, :description, :collateral_value_amount, :perfected_interest, :future_income, :description, :estimated_value, :established_date, :account_location_name, :street_1, :street_2, :city, :state, :zip, :deposit_acct_auth_date_presidential, :f_basis_of_loan_description, :treasurer_name, :date_signed, :authorized_name, :authorized_title, :date_signed],
92
118
  },
93
119
  "^sc2" => {
94
- '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :guarantor_last_name, :guarantor_first_name, :guarantor_middle_name, :guarantor_prefix, :guarantor_suffix, :guarantor_street_1, :guarantor_street_2, :guarantor_city, :guarantor_state, :guarantor_zip, :guarantor_employer, :guarantor_occupation, :guaranteed_amount],
95
120
  '^5.3' => [:form_type, :filer_committee_id_number, :back_reference_tran_id_number, :guarantor_name, :guarantor_street_1, :guarantor_street_2, :guarantor_city, :guarantor_state, :guarantor_zip, :guarantor_employer, :guarantor_occupation, :guaranteed_amount],
96
121
  '^5.2|5.1|5.0' => [:form_type, :filer_committee_id_number, :back_reference_tran_id_number, :guarantor_name, :guarantor_street_1, :guarantor_street_2, :guarantor_city, :guarantor_state, :guarantor_zip, :guarantor_employer, :guarantor_occupation, :guaranteed_amount],
122
+ '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :guarantor_last_name, :guarantor_first_name, :guarantor_middle_name, :guarantor_prefix, :guarantor_suffix, :guarantor_street_1, :guarantor_street_2, :guarantor_city, :guarantor_state, :guarantor_zip, :guarantor_employer, :guarantor_occupation, :guaranteed_amount],
97
123
  '^3' => [:form_type, :filer_committee_id_number, :back_reference_tran_id_number, :guarantor_name, :guarantor_street_1, :guarantor_street_2, :guarantor_city, :guarantor_state, :guarantor_zip, :guarantor_employer, :guarantor_occupation, :guaranteed_amount],
98
124
  },
99
125
  "^sd" => {
100
- '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id_number, :entity_type, :creditor_organization_name, :creditor_last_name, :creditor_first_name, :creditor_middle_name, :creditor_prefix, :creditor_suffix, :creditor_street_1, :creditor_street_2, :creditor_city, :creditor_state, :creditor_zip, :purpose_of_debt_or_obligation, :beginning_balance_this_period, :incurred_amount_this_period, :payment_amount_this_period, :balance_at_close_this_period],
101
- '^5.3' => [:form_type, :filer_committee_id_number, :entity_type, :creditor_name, :creditor_street_1, :creditor_street_2, :creditor_city, :creditor_state, :creditor_zip, :purpose_of_debt_or_obligation, :beginning_balance_this_period, :incurred_amount_this_period, :payment_amount_this_period, :balance_at_close_this_period, :fec_committee_id_number, :fec_candidate_id_number, :candidate_name, :candidate_office, :candidate_state, :candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, nil, :transaction_id_number],
102
126
  '^5.2|5.1|5.0|3' => [:form_type, :filer_committee_id_number, :entity_type, :creditor_name, :creditor_street_1, :creditor_street_2, :creditor_city, :creditor_state, :creditor_zip, :purpose_of_debt_or_obligation, :beginning_balance_this_period, :incurred_amount_this_period, :payment_amount_this_period, :balance_at_close_this_period, :fec_committee_id_number, :fec_candidate_id_number, :candidate_name, :candidate_office, :candidate_state, :candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, nil, :transaction_id_number],
127
+ '^5.3' => [:form_type, :filer_committee_id_number, :entity_type, :creditor_name, :creditor_street_1, :creditor_street_2, :creditor_city, :creditor_state, :creditor_zip, :purpose_of_debt_or_obligation, :beginning_balance_this_period, :incurred_amount_this_period, :payment_amount_this_period, :balance_at_close_this_period, :fec_committee_id_number, :fec_candidate_id_number, :candidate_name, :candidate_office, :candidate_state, :candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, nil, :transaction_id_number],
128
+ '^8.0|7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id_number, :entity_type, :creditor_organization_name, :creditor_last_name, :creditor_first_name, :creditor_middle_name, :creditor_prefix, :creditor_suffix, :creditor_street_1, :creditor_street_2, :creditor_city, :creditor_state, :creditor_zip, :purpose_of_debt_or_obligation, :beginning_balance_this_period, :incurred_amount_this_period, :payment_amount_this_period, :balance_at_close_this_period],
103
129
  },
104
130
  "^se" => {
105
- '^8.0' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :calendar_y_t_d_per_election_office, :expenditure_purpose_descrip, :category_code, :payee_cmtte_fec_id_number, :support_oppose_code, :candidate_id_number, :candidate_last_name, :candidate_first_name, :candidate_middle_name, :candidate_prefix, :candidate_suffix, :candidate_office, :candidate_state, :candidate_district, :completing_last_name, :completing_first_name, :completing_middle_name, :completing_prefix, :completing_suffix, :date_signed, :memo_code, :memo_text_description],
106
131
  '^7.0|6.4|6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :calendar_y_t_d_per_election_office, :expenditure_purpose_code, :expenditure_purpose_descrip, :category_code, :payee_cmtte_fec_id_number, :support_oppose_code, :candidate_id_number, :candidate_last_name, :candidate_first_name, :candidate_middle_name, :candidate_prefix, :candidate_suffix, :candidate_office, :candidate_state, :candidate_district, :completing_last_name, :completing_first_name, :completing_middle_name, :completing_prefix, :completing_suffix, :date_signed, :memo_code, :memo_text_description],
132
+ '^8.0' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :election_code, :election_other_description, :expenditure_date, :expenditure_amount, :calendar_y_t_d_per_election_office, :expenditure_purpose_descrip, :category_code, :payee_cmtte_fec_id_number, :support_oppose_code, :candidate_id_number, :candidate_last_name, :candidate_first_name, :candidate_middle_name, :candidate_prefix, :candidate_suffix, :candidate_office, :candidate_state, :candidate_district, :completing_last_name, :completing_first_name, :completing_middle_name, :completing_prefix, :completing_suffix, :date_signed, :memo_code, :memo_text_description],
107
133
  '^5.3' => [:form_type, :filer_committee_id_number, :entity_type, :payee_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_purpose_descrip, :expenditure_date, :expenditure_amount, :support_oppose_code, :candidate_id_number, :candidate_name, :candidate_office, :candidate_state, :candidate_district, :payee_cmtte_fec_id_number, nil, nil, nil, nil, nil, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :ind_name_as_signed, :date_signed, :date_notarized, :date_notary_commission_expires, :ind_name_notary, nil, :transaction_id_number, :memo_code, :memo_text_description, :back_reference_tran_id_number, :back_reference_sched_name, :election_code, :election_other_description, :category_code, :expenditure_purpose_code, :calendar_y_t_d_per_election_office],
108
134
  '^5.2|5.1|5.0' => [:form_type, :filer_committee_id_number, :entity_type, :payee_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_purpose_descrip, :expenditure_date, :expenditure_amount, :support_oppose_code, :candidate_id_number, :candidate_name, :candidate_office, :candidate_state, :candidate_district, :payee_cmtte_fec_id_number, nil, nil, nil, nil, nil, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :ind_name_as_signed, :date_signed, :date_notarized, :date_notary_commission_expires, :ind_name_notary, nil, :transaction_id_number, :memo_code, :memo_text_description, :back_reference_tran_id_number, :back_reference_sched_name, :election_code, :election_other_description, :category_code, :expenditure_purpose_code, :calendar_y_t_d_per_election_office],
109
135
  '^3' => [:form_type, :filer_committee_id_number, :entity_type, :payee_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_purpose_descrip, :expenditure_date, :expenditure_amount, :support_oppose_code, :candidate_id_number, :candidate_name, :candidate_office, :candidate_state, :candidate_district, :payee_cmtte_fec_id_number, nil, nil, nil, nil, nil, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, :ind_name_as_signed, :date_signed, :date_notarized, :date_notary_commission_expires, :ind_name_notary, nil, :transaction_id_number, :memo_code, :memo_text_description, :back_reference_tran_id_number, :back_reference_sched_name],
110
136
  },
111
137
  "^sf" => {
112
- '^8.0' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :coordinated_expenditures, :designating_committee_id_number, :designating_committee_name, :subordinate_committee_id_number, :subordinate_committee_name, :subordinate_street_1, :subordinate_street_2, :subordinate_city, :subordinate_state, :subordinate_zip, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_date, :expenditure_amount, :aggregate_general_elec_expended, :expenditure_purpose_descrip, :category_code, :payee_committee_id_number, :payee_candidate_id_number, :payee_candidate_last_name, :payee_candidate_first_name, :payee_candidate_middle_name, :payee_candidate_prefix, :payee_candidate_suffix, :payee_candidate_office, :payee_candidate_state, :payee_candidate_district, :memo_code, :memo_text_description],
113
- '^7.0|6.4' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :coordinated_expenditures, :designating_committee_id_number, :designating_committee_name, :subordinate_committee_id_number, :subordinate_committee_name, :subordinate_street_1, :subordinate_street_2, :subordinate_city, :subordinate_state, :subordinate_zip, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_date, :expenditure_amount, :aggregate_general_elec_expended, :expenditure_purpose_code, :expenditure_purpose_descrip, :category_code, :payee_committee_id_number, :payee_candidate_id_number, :payee_candidate_last_name, :payee_candidate_first_name, :payee_candidate_middle_name, :payee_candidate_prefix, :payee_candidate_suffix, :payee_candidate_office, :payee_candidate_state, :payee_candidate_district, :memo_code, :memo_text_description],
114
138
  '^6.3|6.2|6.1' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :coordinated_expenditures, :designating_committee_id_number, :designating_committee_name, :subordinate_committee_id_number, :subordinate_committee_name, :subordinate_street_1, :subordinate_street_2, :subordinate_city, :subordinate_state, :subordinate_zip, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_date, :expenditure_amount, :aggregate_general_elec_expended, :expenditure_purpose_code, :expenditure_purpose_descrip, :category_code, :increased_limit, :payee_committee_id_number, :payee_candidate_id_number, :payee_candidate_last_name, :payee_candidate_first_name, :payee_candidate_middle_name, :payee_candidate_prefix, :payee_candidate_suffix, :payee_candidate_office, :payee_candidate_state, :payee_candidate_district, :memo_code, :memo_text_description],
139
+ '^8.0' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :coordinated_expenditures, :designating_committee_id_number, :designating_committee_name, :subordinate_committee_id_number, :subordinate_committee_name, :subordinate_street_1, :subordinate_street_2, :subordinate_city, :subordinate_state, :subordinate_zip, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_date, :expenditure_amount, :aggregate_general_elec_expended, :expenditure_purpose_descrip, :category_code, :payee_committee_id_number, :payee_candidate_id_number, :payee_candidate_last_name, :payee_candidate_first_name, :payee_candidate_middle_name, :payee_candidate_prefix, :payee_candidate_suffix, :payee_candidate_office, :payee_candidate_state, :payee_candidate_district, :memo_code, :memo_text_description],
115
140
  '^5.3' => [:form_type, :filer_committee_id_number, :coordinated_expenditures, :designating_committee_id_number, :designating_committee_name, :subordinate_committee_id_number, :subordinate_committee_name, :subordinate_street_1, :subordinate_street_2, :subordinate_city, :subordinate_state, :subordinate_zip, :entity_type, :payee_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :aggregate_general_elec_expended, :expenditure_purpose_descrip, :expenditure_date, :expenditure_amount, :payee_committee_id_number, :payee_candidate_id_number, :payee_candidate_name, :payee_candidate_office, :payee_candidate_state, :payee_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, nil, :transaction_id_number, :memo_code, :memo_text_description, :back_reference_tran_id_number, :back_reference_sched_name, :increased_limit, :category_code, :expenditure_purpose_code],
141
+ '^7.0|6.4' => [:form_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_name, :coordinated_expenditures, :designating_committee_id_number, :designating_committee_name, :subordinate_committee_id_number, :subordinate_committee_name, :subordinate_street_1, :subordinate_street_2, :subordinate_city, :subordinate_state, :subordinate_zip, :entity_type, :payee_organization_name, :payee_last_name, :payee_first_name, :payee_middle_name, :payee_prefix, :payee_suffix, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :expenditure_date, :expenditure_amount, :aggregate_general_elec_expended, :expenditure_purpose_code, :expenditure_purpose_descrip, :category_code, :payee_committee_id_number, :payee_candidate_id_number, :payee_candidate_last_name, :payee_candidate_first_name, :payee_candidate_middle_name, :payee_candidate_prefix, :payee_candidate_suffix, :payee_candidate_office, :payee_candidate_state, :payee_candidate_district, :memo_code, :memo_text_description],
116
142
  '^5.2|5.1|5.0' => [:form_type, :filer_committee_id_number, :coordinated_expenditures, :designating_committee_id_number, :designating_committee_name, :subordinate_committee_id_number, :subordinate_committee_name, :subordinate_street_1, :subordinate_street_2, :subordinate_city, :subordinate_state, :subordinate_zip, :entity_type, :payee_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :aggregate_general_elec_expended, :expenditure_purpose_descrip, :expenditure_date, :expenditure_amount, :payee_committee_id_number, :payee_candidate_id_number, :payee_candidate_name, :payee_candidate_office, :payee_candidate_state, :payee_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, nil, :transaction_id_number, :memo_code, :memo_text_description, :back_reference_tran_id_number, :back_reference_sched_name, :increased_limit, :category_code, :expenditure_purpose_code],
117
143
  '^3' => [:form_type, :filer_committee_id_number, :coordinated_expenditures, :designating_committee_id_number, :designating_committee_name, :subordinate_committee_id_number, :subordinate_committee_name, :subordinate_street_1, :subordinate_street_2, :subordinate_city, :subordinate_state, :subordinate_zip, :entity_type, :payee_name, :payee_street_1, :payee_street_2, :payee_city, :payee_state, :payee_zip, :aggregate_general_elec_expended, :expenditure_purpose_descrip, :expenditure_date, :expenditure_amount, :payee_committee_id_number, :payee_candidate_id_number, :payee_candidate_name, :payee_candidate_office, :payee_candidate_state, :payee_candidate_district, :conduit_name, :conduit_street_1, :conduit_street_2, :conduit_city, :conduit_state, :conduit_zip, nil, :transaction_id_number, :memo_code, :memo_text_description, :back_reference_tran_id_number, :back_reference_sched_name],
118
144
  },
119
145
  "^text" => {
120
- '^8.0|7.0|6.4|6.3|6.2|6.1' => [:rec_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_form_name, :text],
121
146
  '^5.3' => [:rec_type, :filer_committee_id_number, :back_reference_tran_id_number, :text],
122
147
  '^5.2|5.1|5.0' => [:rec_type, :filer_committee_id_number, :back_reference_tran_id_number, :text],
148
+ '^8.0|7.0|6.4|6.3|6.2|6.1' => [:rec_type, :filer_committee_id_number, :transaction_id_number, :back_reference_tran_id_number, :back_reference_sched_form_name, :text],
123
149
  '^3' => [:rec_type, :filer_committee_id_number, :back_reference_tran_id_number, :text],
124
150
  },
125
151
  }
data/lib/fech/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fech
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.0"
3
3
  end
data/sources/F9.csv ADDED
@@ -0,0 +1,46 @@
1
+ canonical,^8.0|7.0|6.4|6.3|6.2,,^6.1,,^5.3|5.2|5.1|5.0,
2
+ form_type,1,FORM TYPE,1,FORM TYPE,1,FORM TYPE
3
+ filer_committee_id_number,2,FILER COMMITTEE ID NUMBER,2,FILER COMMITTEE ID NUMBER,2,FILER FEC CMTE ID
4
+ entity_type,3,ENTITY TYPE,3,ENTITY TYPE,,
5
+ organization_name,4,ORGANIZATION NAME,4,ORGANIZATION NAME ,3,IND/ORG/CORP NAME
6
+ individual_last_name,5,INDIVIDUAL LAST NAME,5,INDIVIDUAL LAST NAME,,
7
+ individual_first_name,6,INDIVIDUAL FIRST NAME,6,INDIVIDUAL FIRST NAME,,
8
+ individual_middle_name,7,INDIVIDUAL MIDDLE NAME,7,INDIVIDUAL MIDDLE NAME,,
9
+ individual_prefix,8,INDIVIDUAL PREFIX,8,INDIVIDUAL PREFIX,,
10
+ individual_suffix,9,INDIVIDUAL SUFFIX,9,INDIVIDUAL SUFFIX,,
11
+ change_of_address,10,CHANGE OF ADDRESS,10,CHANGE OF ADDRESS,9,CHG OF ADDRESS
12
+ street_1,11,STREET 1,11,STREET 1,4,STREET 1
13
+ street_2,12,STREET 2,12,STREET 2,5,STREET 2
14
+ city,13,CITY,13,CITY,6,CITY
15
+ state,14,STATE,14,STATE,7,STATE
16
+ zip,15,ZIP,15,ZIP,8,ZIP
17
+ individual_employer,16,INDIVIDUAL EMPLOYER,16,INDIVIDUAL EMPLOYER,10,EMPLOYER
18
+ individual_occupation,17,INDIVIDUAL OCCUPATION,17,INDIVIDUAL OCCUPATION,11,OCCUPATION
19
+ coverage_from_date,18,COVERAGE FROM DATE,18,COVERAGE FROM DATE,12,BEGINNING COVERAGE DATE
20
+ coverage_through_date,19,COVERAGE THROUGH DATE,19,COVERAGE THROUGH DATE,13,ENDING COVERAGE DATE
21
+ date_public_distribution,20,DATE OF PUBLIC DISTRIBUTION,20,DATE OF PUBLIC DISTRIBUTION,14,DATE OF PUBLIC DISTRIBUTION
22
+ communication_title,21,COMMUNICATION TITLE,21,COMMUNICATION TITLE,15,COMMUNICATION TITLE
23
+ filer_code,22,FILER CODE,,,,
24
+ filer_code_description,23,FILER CODE DESCRIPTION,,,,
25
+ qualified_non_profit,,,22,QUALIFIED NON-PROFIT,16,QUALIFIED NON-PROFIT
26
+ segregated_bank_account,24,SEGREGATED BANK ACCOUNT,23,SEGREGATED BANK ACCOUNT,17,SEGREGATED BANK ACCOUNT
27
+ custodian_last_name,25,CUSTODIAN LAST NAME,24,CUSTODIAN LAST NAME,18,IND/NAME (Custodian)
28
+ custodian_first_name,26,CUSTODIAN FIRST NAME,25,CUSTODIAN FIRST NAME,,
29
+ custodian_middle_name,27,CUSTODIAN MIDDLE NAME,26,CUSTODIAN MIDDLE NAME,,
30
+ custodian_prefix,28,CUSTODIAN PREFIX,27,CUSTODIAN PREFIX,,
31
+ custodian_suffix,29,CUSTODIAN SUFFIX,28,CUSTODIAN SUFFIX,,
32
+ custodian_street_1,30,CUSTODIAN STREET 1,29,CUSTODIAN STREET 1,19,STREET 1
33
+ custodian_street_2,31,CUSTODIAN STREET 2,30,CUSTODIAN STREET 2,20,STREET 2
34
+ custodian_city,32,CUSTODIAN CITY,31,CUSTODIAN CITY,21,CITY
35
+ custodian_state,33,CUSTODIAN STATE,32,CUSTODIAN STATE,22,STATE
36
+ custodian_zip,34,CUSTODIAN ZIP,33,CUSTODIAN ZIP,23,ZIP
37
+ custodian_employer,35,CUSTODIAN EMPLOYER,34,CUSTODIAN EMPLOYER,24,EMPLOYER
38
+ custodian_occupation,36,CUSTODIAN OCCUPATION,35,CUSTODIAN OCCUPATION,25,OCCUPATION
39
+ total_donations,37,9. TOTAL DONATIONS THIS STATEMENT,36,9. TOTAL DONATIONS THIS STATEMENT,26,9. TOTAL DONATIONS THIS STATEMENT
40
+ total_disbursements,38,10. TOTAL DISB./OBLIG. THIS STATEMENT,37,10. TOTAL DISB./OBLIG. THIS STATEMENT,27,10. TOTAL DISB./OBLIG. THIS STATEMENT
41
+ person_completing_last_name,39,PERSON COMPLETING LAST NAME,38,PERSON COMPLETING LAST NAME,28,NAME PERSON COMPLETING REPORT
42
+ person_completing_first_name,40,PERSON COMPLETING FIRST NAME,39,PERSON COMPLETING FIRST NAME,,
43
+ person_completing_middle_name,41,PERSON COMPLETING MIDDLE NAME,40,PERSON COMPLETING MIDDLE NAME,,
44
+ person_completing_prefix,42,PERSON COMPLETING PREFIX,41,PERSON COMPLETING PREFIX,,
45
+ person_completing_suffix,43,PERSON COMPLETING SUFFIX,42,PERSON COMPLETING SUFFIX,,
46
+ date_signed,44,DATE SIGNED,43,DATE SIGNED,29,DATE (Signed)
data/sources/F91.csv ADDED
@@ -0,0 +1,17 @@
1
+ canonical,^8.0|7.0|6.4|6.3|6.2|6.1,,^5.3,,^5.2|5.1|5.0,
2
+ form_type,1,FORM TYPE,1,FORM TYPE,1,FORM TYPE
3
+ filer_committee_id_number,2,FILER COMMITTEE ID NUMBER,2,FILER FEC CMTE ID,2,FILER FEC CMTE ID
4
+ transaction_id,3,TRANSACTION ID NUMBER,12,TRAN ID,12,TRAN ID
5
+ controller_last_name,4,CONTROLLER LAST NAME (Share/Exer Control),3,IND/NAME (Share/Exer Control),3,IND/NAME (Share/Exer Control)
6
+ controller_first_name,5,CONTROLLER FIRST NAME,,,,
7
+ controller_middle_name,6,CONTROLLER MIDDLE NAME,,,,
8
+ controller_prefix,7,CONTROLLER PREFIX,,,,
9
+ controller_suffix,8,CONTROLLER SUFFIX,,,,
10
+ controller_street_1,9,CONTROLLER STREET 1,4,STREET 1,4,STREET 1
11
+ controller_street_2,10,CONTROLLER STREET 2,5,STREET 2,5,STREET 2
12
+ controller_city,11,CONTROLLER CITY,6,CITY,6,CITY
13
+ controller_state,12,CONTROLLER STATE,7,STATE,7,STATE
14
+ controller_zip,13,CONTROLLER ZIP,8,ZIP,8,ZIP
15
+ controller_employer,14,CONTROLLER EMPLOYER,9,EMPLOYER,9,EMPLOYER
16
+ controller_occupation,15,CONTROLLER OCCUPATION,10,OCCUPATION,10,OCCUPATION
17
+ amended_cd,,,,,11,AMENDED CD
data/sources/F92.csv ADDED
@@ -0,0 +1,23 @@
1
+ canonical,^8.0|7.0|6.4|6.3|6.2|6.1,,^5.3|5.2,,^5.1,,^5.0,
2
+ form_type,1,FORM TYPE,1,FORM TYPE,1,FORM TYPE,1,FORM TYPE
3
+ filer_committee_id_number,2,FILER COMMITTEE ID NUMBER,2,FILER FEC CMTE ID,2,FILER FEC CMTE ID,2,FILER FEC CMTE ID
4
+ transaction_id,3,TRANSACTION ID NUMBER,34,TRAN ID,34,TRAN ID,34,TRAN ID
5
+ back_reference_tran_id_number,4,BACK REFERENCE TRAN ID NUMBER,35,BACK REF TRAN ID,35,BACK REF TRAN ID,35,BACK REF TRAN ID
6
+ back_reference_sched_name,5,BACK REFERENCE SCHED NAME,36,BACK REF SCHED NAME,36,BACK REF SCHED NAME,36,BACK REF SCHED NAME
7
+ entity_type,6,ENTITY TYPE,3,ENTITY TYPE,3,ENTITY TYPE,3,ENTITY TYPE
8
+ contributor_organization_name,7,DONOR ORGANIZATION NAME,4,CONTRIBUTOR NAME,39,CONTRIB ORGANIZATION NAME,4,CONTRIBUTOR NAME
9
+ contributor_last_name,8,DONOR LAST NAME,,,40,CONTRIBUTOR LAST NAME,,
10
+ contributor_first_name,9,DONOR FIRST NAME,,,41,CONTRIBUTOR FIRST NAME,,
11
+ contributor_middle_name,10,DONOR MIDDLE NAME,,,42,CONTRIBUTOR MIDDLE NAME,,
12
+ contributor_prefix,11,DONOR PREFIX,,,43,CONTRIBUTOR PREFIX,,
13
+ contributor_suffix,12,DONOR SUFFIX,,,44,CONTRIBUTOR SUFFIX,,
14
+ contributor_street_1,13,DONOR STREET 1,5,STREET 1,5,STREET 1,5,STREET 1
15
+ contributor_street_2,14,DONOR STREET 2,6,STREET 2,6,STREET 2,6,STREET 2
16
+ contributor_city,15,DONOR CITY,7,CITY,7,CITY,7,CITY
17
+ contributor_state,16,DONOR STATE,8,STATE,8,STATE,8,STATE
18
+ contributor_zip,17,DONOR ZIP,9,ZIP,9,ZIP,9,ZIP
19
+ contribution_date,18,DATE RECEIVED,15,DATE RECEIVED,15,DATE RECEIVED,15,DATE RECEIVED
20
+ contribution_amount,19,AMOUNT RECEIVED,16,AMOUNT RECEIVED,16,AMOUNT RECEIVED,16,AMOUNT RECEIVED
21
+ contributor_employer,,,12,INDEMP,12,INDEMP,12,INDEMP
22
+ contributor_occupation,,,13,INDOCC,13,INDOCC,13,INDOCC
23
+ transaction_type,,,17,TRANS CODE,17,TRANS CODE,17,TRANS CODE
data/sources/F93.csv ADDED
@@ -0,0 +1,27 @@
1
+ canonical,^8.0|7.0|6.4|6.3|6.2|6.1,,^5.3|5.2,,^5.1,,^5.0,
2
+ form_type,1,FORM TYPE,1,FORM TYPE,1,FORM TYPE,1,FORM TYPE
3
+ filer_committee_id_number,2,FILER COMMITTEE ID NUMBER,2,FILER FEC CMTE ID,2,FILER FEC CMTE ID,2,FILER FEC CMTE ID
4
+ transaction_id,3,TRANSACTION ID NUMBER,31,TRAN ID,31,TRAN ID,34,TRAN ID
5
+ back_reference_tran_id_number,4,BACK REFERENCE TRAN ID NUMBER,32,BACK REF TRAN ID,32,BACK REF TRAN ID,35,BACK REF TRAN ID
6
+ back_reference_sched_name,5,BACK REFERENCE SCHED NAME,33,BACK REF SCHED NAME,33,BACK REF SCHED NAME,36,BACK REF SCHED NAME
7
+ entity_type,6,ENTITY TYPE,3,ENTITY TYPE,3,ENTITY TYPE,3,ENTITY TYPE
8
+ payee_organization_name,7,PAYEE ORGANIZATION NAME,38,RECIPIENT ORGANIZATION NAME,4,RECIPIENT NAME,4,CONTRIBUTOR NAME
9
+ payee_last_name,8,PAYEE LAST NAME,39,RECIPIENT LAST NAME,39,RECIPIENT LAST NAME,,
10
+ payee_first_name,9,PAYEE FIRST NAME,40,RECIPIENT FIRST NAME,40,RECIPIENT FIRST NAME,,
11
+ payee_middle_name,10,PAYEE MIDDLE NAME,41,RECIPIENT MIDDLE NAME,41,RECIPIENT MIDDLE NAME,,
12
+ payee_prefix,11,PAYEE PREFIX,42,RECIPIENT PREFIX,42,RECIPIENT PREFIX,,
13
+ payee_suffix,12,PAYEE SUFFIX,43,RECIPIENT SUFFIX,43,RECIPIENT SUFFIX,,
14
+ payee_street_1,13,DONOR STREET 1,5,STREET 1,5,STREET 1,5,STREET 1
15
+ payee_street_2,14,DONOR STREET 2,6,STREET 2,6,STREET 2,6,STREET 2
16
+ payee_city,15,DONOR CITY,7,CITY,7,CITY,7,CITY
17
+ payee_state,16,DONOR STATE,8,STATE,8,STATE,8,STATE
18
+ payee_zip,17,DONOR ZIP,9,ZIP,9,ZIP,9,ZIP
19
+ election_code,18,ELECTION CODE,12,ITEM ELECT CD,12,ITEM ELECT CD,10,ITEM ELECT CD
20
+ election_other_description,19,ELECTION OTHER DESCRIPTION ,13,ITEM ELECT OTHER,13,ITEM ELECT OTHER,11,ITEM ELECT OTHER
21
+ expenditure_date,20,EXPENDITURE DATE,14,DATE OF EXPENDITURE,14,DATE OF EXPENDITURE,15,DATE RECEIVED
22
+ expenditure_amount,21,EXPENDITURE AMOUNT,15,AMOUNT OF EXPENDITURE,15,AMOUNT OF EXPENDITURE,16,AMOUNT RECEIVED
23
+ expenditure_purpose_descrip,22,EXPENDITURE PURPOSE DESCRIP,11,TRANS {Purpose} DESCRIP,10,TRANS {Purpose} CODE,17,TRANS CODE
24
+ payee_employer,23,PAYEE EMPLOYER,,,,,12,INDEMP
25
+ payee_occupation,24,PAYEE OCCUPATION,,,,,13,INDOCC
26
+ communication_date,25,COMMUNICATION DATE,37,COMMUNICATION DATE,37,COMMUNICATION DATE,,
27
+ expenditure_purpose_code,,,10,TRANS {Purpose} CODE,11,TRANS {Purpose} DESCRIP,,
data/sources/F94.csv ADDED
@@ -0,0 +1,18 @@
1
+ canonical,^8.0|7.0|6.4|6.3|6.2|6.1,,^5.3|5.2|5.1|5.0,
2
+ form_type,1,FORM TYPE,1,FORM TYPE
3
+ filer_committee_id_number,2,FILER COMMITTEE ID NUMBER,2,FILER FEC CMTE ID
4
+ transaction_id,3,TRANSACTION ID NUMBER,11,TRAN ID
5
+ back_reference_tran_id_number,4,BACK REFERENCE TRAN ID,12,BACK REF TRAN ID
6
+ back_reference_sched_name,5,BACK REFERENCE SCHED NAME,13,BACK REF SCHED NAME
7
+ candidate_id_number,6,CANDIDATE ID NUMBER,3,FEC CANDIDATE ID NUMBER
8
+ candidate_name,,,4,CANDIDATE NAME
9
+ candidate_last_name,7,CANDIDATE LAST NAME,,
10
+ candidate_first_name,8,CANDIDATE FIRST NAME,,
11
+ candidate_middle_name,9,CANDIDATE MIDDLE NAME,,
12
+ candidate_prefix,10,CANDIDATE PREFIX,,
13
+ candidate_suffix,11,CANDIDATE SUFFIX,,
14
+ candidate_office,12,CANDIDATE OFFICE,5,CANDIDATE OFFICE
15
+ candidate_state,13,CANDIDATE STATE ,6,CANDIDATE STATE
16
+ candidate_district,14,CANDIDATE DIST,7,CANDIDATE DIST
17
+ election_code,15,ELECTION CODE,8,ELECTION CODE
18
+ election_other_description,16,ELECTION OTHER DESCRIPTION ,9,ELECTION OTHER DESCRIPTION
@@ -0,0 +1,7 @@
1
+ HDRFEC8.0CMDI FEC FILER9.1.1
2
+ F9N"C30001655""PAC""Crossroads Grassroots Policy Strategies""1401 New York Avenue NW""Ste. 1200""Washington""DC"20005201201262012020620120206"Every Level""CLQ""Crosby""Caleb""1401 New York Avenue NW, Ste 1200""Washington""DC"20005"Crossroads GPS""CFO"0.002885.86"Crosby""Caleb"20120207
3
+ F91"C30001655""S.1""Law""Steven""1401 New York Avenue NW, Ste 1200""Washington""DC"20005"Crossroads GPS""Executive Director"
4
+ F93"C30001655""E.1""ORG""Upgrade Films""3299 K Street NW, Ste 200""Washington""DC"20007"P2012"2012013065.51"TV/Media Production (Every Level)"20120206
5
+ F93"C30001655""E.2""ORG""Crossroads Media LLC""66 Canal Center Plaza, Ste 55""Alexandria""VA"22314"P2012"201201262820.35"TV/Media Placement (Every Level)"20120206
6
+ F94"C30001655""C.""E.1""F93""P80003338""Obama""Barack""H.""P""HI""P2012"
7
+ F94"C30001655""C.2""E.2""F93""P80003338""Obama""Barack""H.""P""HI""P2012"
data/spec/filing_spec.rb CHANGED
@@ -11,6 +11,8 @@ describe Fech::Filing do
11
11
  @filing_ie.stubs(:file_path).returns(File.join(File.dirname(__FILE__), 'data', '752356.fec'))
12
12
  @filing_pac = Fech::Filing.new(753533)
13
13
  @filing_pac.stubs(:file_path).returns(File.join(File.dirname(__FILE__), 'data', '753533.fec'))
14
+ @filing_ec = Fech::Filing.new(764901)
15
+ @filing_ec.stubs(:file_path).returns(File.join(File.dirname(__FILE__), 'data', '764901.fec'))
14
16
  end
15
17
 
16
18
  describe "#filing_version" do
@@ -51,6 +53,8 @@ describe Fech::Filing do
51
53
  sum_ie[:form_type].should == "F24N"
52
54
  sum_pac = @filing_pac.summary
53
55
  sum_pac[:form_type].should == "F3XN"
56
+ sum_ec = @filing_ec.summary
57
+ sum_ec[:form_type].should == 'F9N'
54
58
  end
55
59
  end
56
60
 
@@ -79,6 +83,7 @@ describe Fech::Filing do
79
83
  @filing_pac.rows_like(/^sa/).size.should == 3
80
84
  @filing_pac.rows_like(/^sb/).size.should == 1
81
85
  @filing_pac.rows_like(/^sd/).size.should == 1
86
+ @filing_ec.rows_like(/^f91/).size.should == 1
82
87
  end
83
88
 
84
89
  it "should return an array if no block is given" do
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fech
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 6
8
+ - 7
9
9
  - 0
10
- version: 0.6.0
10
+ version: 0.7.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Strickland
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2012-01-28 00:00:00 -05:00
20
+ date: 2012-02-11 00:00:00 -05:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -186,6 +186,11 @@ files:
186
186
  - sources/F5.csv
187
187
  - sources/F56.csv
188
188
  - sources/F57.csv
189
+ - sources/F9.csv
190
+ - sources/F91.csv
191
+ - sources/F92.csv
192
+ - sources/F93.csv
193
+ - sources/F94.csv
189
194
  - sources/HDR.csv
190
195
  - sources/SchA.csv
191
196
  - sources/SchB.csv
@@ -212,6 +217,7 @@ files:
212
217
  - spec/data/748730.fec
213
218
  - spec/data/752356.fec
214
219
  - spec/data/753533.fec
220
+ - spec/data/764901.fec
215
221
  - spec/data/97405.fec
216
222
  - spec/default_translations_spec.rb
217
223
  - spec/fech_utils_spec.rb