Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions complaints/ccdb/ccdb_mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@
"type": "text",
"copy_to": "typeahead_dropdown"
},
"msa": {
"type": "keyword"
},
"congressional_district": {
"type": "keyword"
},
"state": {
"type": "keyword"
},
Expand Down
8 changes: 5 additions & 3 deletions complaints/ccdb/choose_field_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
import configargparse

INTAKE_V1 = "date_received,product,sub_product,issue,sub_issue," \
"consumer_narrative,company_public_response,company,state," \
"zip_code,tag,consent_status,submitted_via,date_sent_to_company," \
"consumer_narrative,company_public_response,company," \
"msa, congressional_district, state, zip_code," \
"tag,consent_status,submitted_via,date_sent_to_company," \
"company_response_to_consumer,timely_response,consumer_disputed," \
"public_id"
PUBLIC_V1 = "Date received,Product,Sub-product,Issue,Sub-issue," \
"Consumer complaint narrative,Company public response,Company," \
"State,ZIP code,Tags,Consumer consent provided?,Submitted via," \
"MSA, Congressional district, State, ZIP code," \
"Tags,Consumer consent provided?,Submitted via," \
"Date sent to company,Company response to consumer," \
"Timely response?,Consumer disputed?,Complaint ID"

Expand Down
Loading