Datasets:
CFPB
/

Languages:
English
License:
File size: 16,834 Bytes
37a25a0
 
 
 
 
f7eccf8
37a25a0
f7eccf8
 
37a25a0
 
 
 
 
 
 
 
 
 
07d23be
0b02c9a
 
 
 
 
 
 
 
07d23be
0b02c9a
07d23be
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0b02c9a
 
 
 
07d23be
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0b02c9a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
07d23be
 
 
 
0b02c9a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10de1d9
 
 
 
37a25a0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
---
annotations_creators:
- crowdsourced
language_creators:
- crowdsourced
language:
- en
license:
- cc0-1.0
multilinguality:
- monolingual
size_categories:
- 1M<n<10M
source_datasets:
- original
task_categories:
- text-classification
task_ids:
- topic-classification
pretty_name: consumer-finance-complaints
dataset_info:
  features:
  - name: Date Received
    dtype: timestamp[s]
  - name: Product
    dtype:
      class_label:
        names:
          '0': Credit reporting, credit repair services, or other personal consumer
            reports
          '1': Debt collection
          '2': Mortgage
          '3': Credit card or prepaid card
          '4': Checking or savings account
          '5': Credit reporting
          '6': Student loan
          '7': Money transfer, virtual currency, or money service
          '8': Credit card
          '9': Vehicle loan or lease
          '10': Bank account or service
          '11': Payday loan, title loan, or personal loan
          '12': Consumer Loan
          '13': Payday loan
          '14': Money transfers
          '15': Prepaid card
          '16': Other financial service
          '17': Virtual currency
  - name: Sub Product
    dtype:
      class_label:
        names:
          '0': Credit reporting
          '1': General-purpose credit card or charge card
          '2': Checking account
          '3': Other debt
          '4': Second mortgage
          '5': Conventional home mortgage
          '6': I do not know
          '7': Credit card debt
          '8': Medical debt
          '9': Federal student loan servicing
          '10': FHA mortgage
          '11': Conventional fixed mortgage
          '12': Loan
          '13': Other (i.e. phone, health club, etc.)
          '14': Store credit card
          '15': Installment loan
          '16': Credit card
          '17': Medical
          '18': Mobile or digital wallet
          '19': Private student loan
          '20': Non-federal student loan
          '21': Domestic (US) money transfer
          '22': VA mortgage
          '23': Vehicle loan
          '24': Auto debt
          '25': Payday loan
          '26': Conventional adjustable mortgage (ARM)
          '27': Other personal consumer report
          '28': Payday loan debt
          '29': Savings account
          '30': Virtual currency
          '31': Other bank product/service
          '32': Other type of mortgage
          '33': Other banking product or service
          '34': Other mortgage
          '35': International money transfer
          '36': Lease
          '37': General-purpose prepaid card
          '38': Home equity loan or line of credit (HELOC)
          '39': Government benefit card
          '40': Mortgage debt
          '41': Personal line of credit
          '42': Home equity loan or line of credit
          '43': Federal student loan debt
          '44': Private student loan debt
          '45': Credit repair services
          '46': Title loan
          '47': Auto
          '48': Vehicle lease
          '49': Mortgage
          '50': Reverse mortgage
          '51': General purpose card
          '52': CD (Certificate of Deposit)
          '53': Federal student loan
          '54': Payroll card
          '55': Debt settlement
          '56': Check cashing service
          '57': Traveler's check or cashier's check
          '58': Gift card
          '59': (CD) Certificate of deposit
          '60': Money order
          '61': Foreign currency exchange
          '62': Refund anticipation check
          '63': Gift or merchant card
          '64': Cashing a check without an account
          '65': ID prepaid card
          '66': Mobile wallet
          '67': Government benefit payment card
          '68': Pawn loan
          '69': Other special purpose card
          '70': Check cashing
          '71': Credit repair
          '72': Traveler’s/Cashier’s checks
          '73': Transit card
          '74': Student prepaid card
          '75': Electronic Benefit Transfer / EBT card
          '76': ''
  - name: Issue
    dtype: string
  - name: Sub Issue
    dtype: string
  - name: Complaint Text
    dtype: string
  - name: Company Public Response
    dtype: string
  - name: Company
    dtype: string
  - name: State
    dtype: string
  - name: Zip Code
    dtype: string
  - name: Tags
    dtype:
      class_label:
        names:
          '0': Servicemember
          '1': Older American
          '2': Older American, Servicemember
          '3': ''
  - name: Consumer Consent Provided
    dtype: string
  - name: Submitted via
    dtype: string
  - name: Date Sent To Company
    dtype: string
  - name: Company Response To Consumer
    dtype: string
  - name: Timely Response
    dtype: string
  - name: Consumer Disputed
    dtype: string
  - name: Complaint ID
    dtype: string
  splits:
  - name: train
    num_bytes: 2044199142
    num_examples: 3079747
  download_size: 510689764
  dataset_size: 2044199142
---

# Dataset Card for Consumer Finance Complaints

## Table of Contents
- [Table of Contents](#table-of-contents)
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
  - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
  - [Data Instances](#data-instances)
  - [Data Fields](#data-fields)
  - [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
  - [Curation Rationale](#curation-rationale)
  - [Source Data](#source-data)
  - [Annotations](#annotations)
  - [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
  - [Social Impact of Dataset](#social-impact-of-dataset)
  - [Discussion of Biases](#discussion-of-biases)
  - [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
  - [Dataset Curators](#dataset-curators)
  - [Licensing Information](#licensing-information)
  - [Citation Information](#citation-information)
  - [Contributions](#contributions)

## Dataset Description

- **Homepage:** https://www.consumerfinance.gov/data-research/consumer-complaints/
- **Repository:**
https://github.com/cfpb/consumerfinance.gov
- **Paper:**
- **Leaderboard:**
- **Point of Contact:**

### Dataset Summary

This database is a collection of complaints about consumer financial products and services that we sent to companies for response.

The Consumer Complaint Database is a collection of complaints about consumer financial products and services that we sent to companies for response. Complaints are published after the company responds, confirming a commercial relationship with the consumer, or after 15 days, whichever comes first. Complaints referred to other regulators, such as complaints about depository institutions with less than $10 billion in assets, are not published in the Consumer Complaint Database. The database generally updates daily.

Complaints can give us insights into problems people are experiencing in the marketplace and help us regulate consumer financial products and services under existing federal consumer financial laws, enforce those laws judiciously, and educate and empower consumers to make informed financial decisions. We also report on complaint trends annually in Consumer Response’s Annual Report to Congress.

### Supported Tasks and Leaderboards

Text Classification Tasks

| Task      | Label Name | Description | SOTA |
| ----------- | ----------- |----------- | ----------- |
| Text Classification      | Product| Predict the related product of a complaint | N/A |

| Task      | Label Name | Description | SOTA |
| ----------- | ----------- |----------- | ----------- |
| Text Classification      | Sub-Product| Predict the related sub product of a complaint | N/A |

| Task      | Label Name | Description | SOTA |
| ----------- | ----------- |----------- | ----------- |
| Text Classification      | Tags | Predict whether a complaint has been made by someone elderly or a service person| N/A |

### Languages

English

## Dataset Structure

### Data Instances

This dataset is a point in time extract of the database, the database increases in size every day

An example of 'train' looks as follows.

```
{
 "Complaint ID": "4511031",
 "Product": "Credit reporting, credit repair services, or other personal consumer reports",
 "Sub Issue": "Credit inquiries on your report that you don't recognize",
 "Consumer Disputed": "N/A",
 "Sub Product": "Credit reporting",
 "State": "TX",
 "Tags": "Older American, Servicemember",
 "Company Public Response": "",
 "Zip Code": "75202",
 "Issue": "Improper use of your report",
 "Submitted via": "Web",
 "Company Response To Consumer": "Closed with explanation",
 "Complaint Text": "I am XXXX XXXX and I am submitting this complaint myself and there is no third party involved. Despite the multiple previous written requests, the unverified inquiries listed below still remain on my credit report in violation of Federal Law. The Equifax Credit Bureau failed to comply with Fair Credit Reporting Act, XXXX XXXX sections XXXX within the time set forth by law and continued reporting of erroneous information which now, given all my attempts to address it directly with the creditor, as willful negligence and non-compliance with federal statutes. PLEASE REMOVE THE FOLLOWING INQUIRIES COMPLETELY FROM MY CREDIT REPORT : XXXX CARD-Date of inquiry XX/XX/XXXX XXXX CARD-Date of inquiry XX/XX/XXXX",
 "Date Received": "07-02-2021",
 "Company": "EQUIFAX, INC.",
 "Consumer Consent Provided": "Consent not provided",
 "Timely Response": "Yes",
 "Date Sent To Company": "2021-07-02"
}
```

### Data Fields


| Field      | name | Description | Data Type |
| ----------- | ----------- |----------- | ----------- |
| Date received | The date the CFPB received the complaint       | date & time       |        |
| Product   | The type of product the consumer identified in the complaint        | plain text        | This field is a categorical variable.        |
| Sub-product   | The type of sub-product the consumer identified in the complaint        | plain text        | This field is a categorical variable. Not all Products have Sub-products.        |
| Issue   | The issue the consumer identified in the complaint        | plain text        | This field is a categorical variable. Possible values are dependent on Product.        |
| Sub-issue   | The sub-issue the consumer identified in the complaint        | plain text        | This field is a categorical variable. Possible values are dependent on product and issue. Not all Issues have corresponding Sub-issues.        |
| Consumer complaint narrative   | Consumer complaint narrative is the consumer-submitted description of "what happened" from the complaint. Consumers must opt-in to share their narrative. We will not publish the narrative unless the consumer consents, and consumers can opt-out at any time. The CFPB takes reasonable steps to scrub personal information from each complaint that could be used to identify the consumer.        | plain text        | Consumers' descriptions of what happened are included if consumers consent to publishing the description and after we take steps to remove personal information.        |
| Company public response   | The company's optional, public-facing response to a consumer's complaint. Companies can choose to select a response from a pre-set list of options that will be posted on the public database. For example, "Company believes complaint is the result of an isolated error."        | plain text        | Companies' public-facing responses to complaints are included if companies choose to publish one. Companies may select a public response from a set list of options as soon as they respond to the complaint, but no later than 180 days after the complaint was sent to the company for response.        |
| Company   | The complaint is about this company        | plain text        | This field is a categorical variable.        |
| State   | The state of the mailing address provided by the consumer        | plain text        | This field is a categorical variable.        |
| ZIP code   | The mailing ZIP code provided by the consumer        | plain text        | Mailing ZIP code provided by the consumer. This field may: i) include the first five digits of a ZIP code; ii) include the first three digits of a ZIP code (if the consumer consented to publication of their complaint narrative); or iii) be blank (if ZIP codes have been submitted with non-numeric values, if there are less than 20,000 people in a given ZIP code, or if the complaint has an address outside of the United States). For example, complaints where the submitter reports the age of the consumer as 62 years or older are tagged, ‘Older American.’ Complaints submitted by or on behalf of a servicemember or the spouse or dependent of a servicemember are tagged, ‘Servicemember.’ Servicemember includes anyone who is active duty, National Guard, or Reservist, as well as anyone who previously served and is a Veteran or retiree.       |
| Tags   | Data that supports easier searching and sorting of complaints submitted by or on behalf of consumers.        | plain text        |         |
| Consumer consent provided?   | Identifies whether the consumer opted in to publish their complaint narrative. We do not publish the narrative unless the consumer consents and consumers can opt-out at any time.        | plain text        | This field shows whether a consumer provided consent to publish their complaint narrative        |
| Submitted via   | How the complaint was submitted to the CFPB        | plain text        | This field is a categorical variable.        |
| Date sent to company   | The date the CFPB sent the complaint to the company        | date & time        |         |
| Company response to consumer   | This is how the company responded. For example, "Closed with explanation."        | plain text        | This field is a categorical variable.        |
| Timely response?   | Whether the company gave a timely response        | plain text        | yes/no        |
| Consumer disputed?   | Whether the consumer disputed the company’s response        | plain text        | YES/ NO/ N/A: The Bureau discontinued the consumer dispute option on April 24, 2017.        |
| Complaint ID   | The unique identification number for a complaint        | number        |         |


### Data Splits

This dataset only contains a TRAIN set - this can be further split into TRAIN, TEST and VALIDATE subsets with the datasets library

## Dataset Creation

### Curation Rationale

Open sourcing customer complaints

### Source Data

https://cfpb.github.io/api/ccdb/

#### Initial Data Collection and Normalization

This database is maintained by the Consumer Financial Protection Bureau

#### Who are the source language producers?

English

### Annotations

#### Annotation process

User submitted to the CFPB

#### Who are the annotators?

N/A

### Personal and Sensitive Information

All PII data has been anonymised

## Considerations for Using the Data

### Social Impact of Dataset

N/A

### Discussion of Biases

This database is not a statistical sample of consumers’ experiences in the marketplace. Complaints are not necessarily representative of all consumers’ experiences and complaints do not constitute “information” for purposes of the Information Quality Act .

Complaint volume should be considered in the context of company size and/or market share. For example, companies with more customers may have more complaints than companies with fewer customers. We encourage you to pair complaint data with public and private data sets for additional context.

The Bureau publishes the consumer’s narrative description of his or her experience if the consumer opts to share it publicly and after the Bureau takes steps to remove personal information. We don’t verify all the allegations in complaint narratives. Unproven allegations in consumer narratives should be regarded as opinion, not fact. We do not adopt the views expressed and make no representation that consumers’ allegations are accurate, clear, complete, or unbiased in substance or presentation. Users should consider what conclusions may be fairly drawn from complaints alone.


### Other Known Limitations

N/A

## Additional Information

### Dataset Curators

https://cfpb.github.io/api/ccdb/

### Licensing Information

Creative Commons Zero v1.0 Universal

### Citation Information

N/A

### Contributions

Thanks to [@kayvane1](https://github.com/kayvane1) for adding this dataset and to the [Consumer Financial Protection Bureau](https://cfpb.github.io/) for publishing it.