fech 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -1
- data/README.rdoc +1 -1
- data/lib/fech/rendered_maps.rb +95 -0
- data/lib/fech/version.rb +1 -1
- metadata +4 -3
data/.gitignore
CHANGED
data/README.rdoc
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
\ \_\ \ \_____\ \ \_____\ \ \_\ \_\
|
6
6
|
\/_/ \/_____/ \/_____/ \/_/\/_/
|
7
7
|
|
8
|
-
Fech
|
8
|
+
Fech makes it easy to parse electronic presidential campaign filings 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.
|
9
9
|
|
10
10
|
== Installation
|
11
11
|
|
@@ -0,0 +1,95 @@
|
|
1
|
+
# Generated automatically by Fech::MapGenerator.
|
2
|
+
|
3
|
+
# RENDERED_MAPS contains an entry for each supported row type, which in turn:
|
4
|
+
# contain an entry for each distinct map between a row's labels and the
|
5
|
+
# indexes where their values can be found.
|
6
|
+
module Fech
|
7
|
+
RENDERED_MAPS = {
|
8
|
+
"^hdr$" => {
|
9
|
+
'^[3-5]' => [:record_type, :ef_type, :fec_version, :soft_name, :soft_ver, :name_delim, :report_id, :report_number, :comment],
|
10
|
+
'^[6-7]' => [:record_type, :ef_type, :fec_version, :soft_name, :soft_ver, :report_id, :report_number, :comment],
|
11
|
+
},
|
12
|
+
"(^f3p$)|(^f3p[^s|3])" => {
|
13
|
+
'^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, :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, :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, :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, :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],
|
14
|
+
'^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, :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, :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, :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, :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],
|
15
|
+
'^7.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, :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, :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, :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, :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],
|
16
|
+
'^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, :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, :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, :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, :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],
|
17
|
+
},
|
18
|
+
"^f3p31" => {
|
19
|
+
'^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],
|
20
|
+
'^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],
|
21
|
+
'^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],
|
22
|
+
},
|
23
|
+
"^f3ps" => {
|
24
|
+
'^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],
|
25
|
+
'^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],
|
26
|
+
'^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],
|
27
|
+
},
|
28
|
+
"^f3s" => {
|
29
|
+
'^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],
|
30
|
+
'^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],
|
31
|
+
},
|
32
|
+
"^sa" => {
|
33
|
+
'^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],
|
34
|
+
'^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],
|
35
|
+
'^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],
|
36
|
+
'^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],
|
37
|
+
'^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],
|
38
|
+
'^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],
|
39
|
+
'^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],
|
40
|
+
'^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],
|
41
|
+
},
|
42
|
+
"^sb" => {
|
43
|
+
'^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],
|
44
|
+
'^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],
|
45
|
+
'^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],
|
46
|
+
'^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],
|
47
|
+
'^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],
|
48
|
+
'^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],
|
49
|
+
'^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],
|
50
|
+
},
|
51
|
+
"^sc[^1-2]" => {
|
52
|
+
'^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],
|
53
|
+
'^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],
|
54
|
+
'^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],
|
55
|
+
'^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],
|
56
|
+
'^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],
|
57
|
+
},
|
58
|
+
"^sc1" => {
|
59
|
+
'^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],
|
60
|
+
'^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],
|
61
|
+
'^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],
|
62
|
+
'^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],
|
63
|
+
},
|
64
|
+
"^sc2" => {
|
65
|
+
'^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],
|
66
|
+
'^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],
|
67
|
+
'^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],
|
68
|
+
'^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],
|
69
|
+
},
|
70
|
+
"^sd" => {
|
71
|
+
'^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],
|
72
|
+
'^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],
|
73
|
+
'^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],
|
74
|
+
},
|
75
|
+
"^se" => {
|
76
|
+
'^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, :candinate_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],
|
77
|
+
'^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],
|
78
|
+
'^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],
|
79
|
+
'^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],
|
80
|
+
},
|
81
|
+
"^sf" => {
|
82
|
+
'^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],
|
83
|
+
'^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],
|
84
|
+
'^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],
|
85
|
+
'^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],
|
86
|
+
'^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],
|
87
|
+
},
|
88
|
+
"^text" => {
|
89
|
+
'^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],
|
90
|
+
'^5.3' => [:rec_type, :filer_committee_id_number, :back_reference_tran_id_number, :text],
|
91
|
+
'^5.2|5.1|5.0' => [:rec_type, :filer_committee_id_number, :back_reference_tran_id_number, :text],
|
92
|
+
'^3' => [:rec_type, :filer_committee_id_number, :back_reference_tran_id_number, :text],
|
93
|
+
},
|
94
|
+
}
|
95
|
+
end
|
data/lib/fech/version.rb
CHANGED
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:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Strickland
|
@@ -188,6 +188,7 @@ files:
|
|
188
188
|
- lib/fech/map_generator.rb
|
189
189
|
- lib/fech/mapped.rb
|
190
190
|
- lib/fech/mappings.rb
|
191
|
+
- lib/fech/rendered_maps.rb
|
191
192
|
- lib/fech/translator.rb
|
192
193
|
- lib/fech/version.rb
|
193
194
|
- sources/F3P.csv
|