Retail Bank

We display the source tables from the data warehouses to model.

CRM_Call_Center_Logs (first 100 rows)

date_received complaint_id rand_client phonefinal vru_line call_id priority type outcome server ser_start ser_exit ser_time
0 2017-03-27 CR2406263 4587.0 977-806-9726 AA0103 34536.0 0.0 NW AGENT MICHAL 13:34:11 13:40:23 00:06:12
1 2017-03-27 CR2405641 3328.0 322-598-7152 AA0205 34537.0 0.0 PS AGENT TOVA 10:58:22 11:16:10 00:17:48
2 2017-03-27 CR2405629 1685.0 508-311-5237 AA0110 34538.0 2.0 PS AGENT YIFAT 13:00:54 13:13:31 00:12:37
3 2017-03-23 CR2400594 1945.0 265-394-2727 AA0113 34540.0 2.0 PS AGENT AVNI 16:18:21 16:19:40 00:01:19
4 2017-03-22 CR2399607 4303.0 206-008-0460 AA0102 34541.0 1.0 PS AGENT STEREN 14:48:22 14:55:19 00:06:57
5 2017-03-22 CR2398621 10209.0 617-060-9671 AA0203 34542.0 0.0 PS AGENT ANAT 09:15:43 09:32:44 00:17:01
6 2017-03-22 CR2398447 4248.0 617-739-1926 AA0203 34543.0 0.0 PS AGENT YIFAT 11:33:16 11:41:36 00:08:20
7 2017-03-16 CR2391104 375.0 508-906-6051 AA0102 34553.0 2.0 PS AGENT TOVA 14:10:43 14:23:31 00:12:48
8 2017-03-15 CR2388840 2259.0 854-860-5683 AA0204 34554.0 2.0 PS AGENT GILI 14:31:14 14:45:46 00:14:32
9 2017-03-15 CR2388580 3366.0 356-333-5984 AA0201 34555.0 1.0 PS AGENT KAZAV 16:22:51 16:38:04 00:15:13
10 2017-03-14 CR2386079 9987.0 294-459-8475 AA0103 34557.0 2.0 NE AGENT KAZAV 11:11:40 11:20:04 00:08:24
11 2017-03-10 CR2382372 1401.0 124-161-2235 AA0201 34559.0 0.0 PS AGENT YITZ 10:33:03 10:34:01 00:00:58
12 2017-03-09 CR2376980 3545.0 472-217-3837 AA0110 34560.0 2.0 PS AGENT DARMON 10:21:54 10:35:22 00:13:28
13 2017-03-08 CR2377263 4301.0 495-249-7895 AA0215 34561.0 0.0 PS AGENT SHLOMO 10:38:34 10:45:56 00:07:22
14 2017-03-08 CR2378338 4528.0 463-191-1159 AA0215 34562.0 0.0 PS AGENT MIKI 16:59:32 17:06:41 00:07:09
15 2017-03-08 CR2378433 1632.0 847-606-9704 AA0202 34563.0 0.0 PS AGENT YIFAT 16:46:17 16:55:11 00:08:54
16 2017-03-08 CR2378816 3074.0 212-741-2757 AA0101 34564.0 0.0 NW AGENT STEREN 09:33:16 09:38:21 00:05:05
17 2017-03-08 CR2376941 2354.0 212-022-5279 AA0213 34565.0 0.0 PS AGENT GILI 13:13:22 13:29:31 00:16:09
18 2017-03-07 CR2374521 2508.0 909-238-3879 AA0106 34566.0 0.0 PS AGENT MIKI 13:00:28 13:11:03 00:10:35
19 2017-03-07 CR2375008 4113.0 914-751-1865 AA0204 34567.0 0.0 NW AGENT MICHAL 10:41:15 11:01:00 00:19:45
20 2017-03-06 CR2372694 4906.0 386-438-1635 AA0104 34568.0 0.0 PS AGENT AVIDAN 11:31:53 11:51:46 00:19:53
21 2017-03-06 CR2373271 6366.0 817-770-7405 AA0103 34569.0 0.0 PS AGENT AVIDAN 12:51:02 12:58:13 00:07:11
22 2017-03-06 CR2373496 4015.0 617-592-2307 AA0109 34570.0 0.0 PS AGENT ZOHARI 13:37:53 13:37:53 00:00:00
23 2017-03-06 CR2374246 11804.0 893-107-7760 AA0103 34571.0 2.0 PS AGENT SHLOMO 16:42:54 17:02:48 00:19:54
24 2017-03-03 CR2371358 4193.0 101-824-7809 AA0115 34572.0 2.0 PS AGENT YIFAT 11:44:45 11:54:42 00:09:57
25 2017-03-03 CR2370069 13657.0 617-004-7243 AA0110 34573.0 0.0 NW AGENT NO_SERVER 12:10:00 12:23:52 00:13:52
26 2017-03-01 CR2367546 1592.0 617-452-6384 AA0109 34578.0 1.0 PS AGENT DORIT 15:06:36 15:08:37 00:02:01
27 2017-02-28 CR2364438 1950.0 678-731-5913 AA0105 34580.0 0.0 NW AGENT AVNI 14:28:04 14:28:41 00:00:37
28 2017-02-28 CR2365383 4474.0 865-751-9494 AA0204 34581.0 2.0 PS AGENT MIKI 14:24:06 14:41:59 00:17:53
29 2017-02-27 CR2363462 2806.0 508-791-3193 AA0201 34584.0 2.0 PS AGENT AVNI 09:10:42 09:31:01 00:20:19
30 2017-02-27 CR2362129 11267.0 617-853-1807 AA0113 34585.0 1.0 PS AGENT SHARON 14:47:03 14:52:48 00:05:45
31 2017-02-24 CR2360714 76.0 293-545-7588 AA0104 34586.0 0.0 NW AGENT IDIT 11:49:21 11:55:21 00:06:00
32 2017-02-23 CR2357722 4541.0 401-778-6265 AA0115 34587.0 1.0 NW AGENT SHLOMO 10:35:26 10:49:20 00:13:54
33 2017-02-23 CR2358198 3463.0 212-616-8813 AA0106 34588.0 2.0 PS AGENT SHARON 14:58:09 15:14:29 00:16:20
34 2017-02-22 CR2355167 1029.0 212-333-2794 AA0215 34589.0 0.0 PS AGENT BENSION 13:26:16 13:39:18 00:13:02
35 2017-02-22 CR2356522 2597.0 348-023-8834 AA0214 34590.0 0.0 PS AGENT KAZAV 12:24:46 12:43:11 00:18:25
36 2017-02-22 CR2355552 7723.0 508-561-6860 AA0214 34591.0 1.0 PS AGENT AVNI 13:36:02 13:47:54 00:11:52
37 2017-02-22 CR2356350 7127.0 456-256-2055 AA0210 34592.0 0.0 PS AGENT TOVA 16:24:35 16:35:57 00:11:22
38 2017-02-21 CR2354272 446.0 505-839-7581 AA0109 34595.0 0.0 NW AGENT MICHAL 16:40:59 16:46:23 00:05:24
39 2017-02-21 CR2354077 1753.0 781-292-5899 AA0201 34596.0 0.0 NW AGENT MORIAH 11:46:04 11:59:02 00:12:58
40 2017-02-21 CR2353608 2480.0 161-776-5723 AA0203 34597.0 0.0 PS AGENT TOVA 09:38:24 09:42:07 00:03:43
41 2017-02-17 CR2349304 2902.0 150-386-8887 AA0204 34598.0 2.0 PS AGENT STEREN 14:31:11 14:51:46 00:20:35
42 2017-02-16 CR2347795 1122.0 298-650-1719 AA0105 34599.0 1.0 PS AGENT GELBER 13:18:47 13:29:04 00:10:17
43 2017-02-15 CR2346999 1890.0 242-066-8207 AA0115 34602.0 2.0 PS AGENT TOVA 16:54:11 16:59:12 00:05:01
44 2017-02-14 CR2344160 10828.0 212-376-3611 AA0102 34603.0 0.0 PS AGENT YIFAT 11:36:54 11:38:06 00:01:12
45 2017-02-14 CR2343097 515.0 918-314-3728 AA0102 34604.0 0.0 NE AGENT KAZAV 13:19:04 13:23:18 00:04:14
46 2017-02-13 CR2340997 3047.0 663-775-5494 AA0201 34607.0 2.0 PS AGENT ANAT 14:27:40 14:42:56 00:15:16
47 2017-02-13 CR2341553 2578.0 914-297-7141 AA0214 34608.0 0.0 NW AGENT TOVA 13:21:37 13:22:55 00:01:18
48 2017-02-10 CR2339177 2693.0 570-293-7736 AA0109 34610.0 0.0 PS AGENT NO_SERVER 09:16:26 09:19:33 00:03:07
49 2017-02-09 CR2336561 9846.0 361-447-3343 AA0203 34611.0 0.0 NW AGENT TOVA 15:43:18 15:47:13 00:03:55
50 2017-02-09 CR2336515 4735.0 799-709-6386 AA0201 34612.0 1.0 PS AGENT TOVA 13:30:05 13:35:43 00:05:38
51 2017-02-07 CR2332670 10070.0 617-987-0617 AA0214 34614.0 0.0 PS AGENT TOVA 13:05:10 13:07:11 00:02:01
52 2017-02-06 CR2330453 3907.0 197-430-7586 AA0213 34615.0 0.0 NE AGENT GILI 10:43:17 10:46:42 00:03:25
53 2017-02-06 CR2330518 1408.0 238-765-9083 AA0202 34616.0 0.0 PS AGENT KAZAV 13:44:38 13:59:06 00:14:28
54 2017-02-02 CR2324151 1013.0 894-336-4117 AA0214 34618.0 1.0 PS AGENT STEREN 14:33:01 14:45:25 00:12:24
55 2017-03-22 CR2398401 486.0 478-749-3447 AA0204 34544.0 0.0 PS AGENT TOVA 15:05:09 15:17:45 00:12:36
56 2017-03-22 CR2398768 2342.0 994-862-3218 AA0101 34545.0 0.0 NW AGENT STEREN 10:19:11 10:19:57 00:00:46
57 2017-03-21 CR2397737 3730.0 617-161-9051 AA0205 34546.0 0.0 PS AGENT YIFAT 10:47:11 10:53:13 00:06:02
58 2017-03-21 CR2398271 1891.0 953-476-9580 AA0105 34547.0 0.0 NW AGENT MIKI 14:20:21 14:31:52 00:11:31
59 2017-03-17 CR2392378 3321.0 254-815-1076 AA0106 34549.0 1.0 PS AGENT DORIT 09:00:11 09:03:53 00:03:42
60 2017-03-17 CR2392249 4218.0 508-495-9597 AA0102 34550.0 0.0 PS AGENT AVNI 12:38:08 12:42:25 00:04:17
61 2017-03-16 CR2391330 4622.0 716-474-3082 AA0214 34551.0 2.0 PS AGENT MORIAH 10:41:54 10:56:57 00:15:03
62 2017-03-16 CR2391051 4266.0 212-955-2224 AA0103 34552.0 0.0 NW AGENT YIFAT 14:36:47 14:45:13 00:08:26
63 2017-02-02 CR2321678 3791.0 356-349-1063 AA0209 34619.0 2.0 PS AGENT MORIAH 14:03:58 14:08:05 00:04:07
64 2017-02-02 CR2325187 1628.0 504-968-6745 AA0113 34620.0 0.0 NE AGENT ELI 14:11:18 14:29:46 00:18:28
65 2017-01-30 CR2317826 1248.0 940-007-9030 AA0213 34622.0 0.0 PS AGENT BASCH 11:55:01 12:05:28 00:10:27
66 2017-01-30 CR2317569 3475.0 924-456-1095 AA0107 34623.0 2.0 TT AGENT NO_SERVER 10:20:37 10:36:00 00:15:23
67 2017-01-30 CR2317933 2151.0 508-174-5751 AA0206 34624.0 2.0 PS AGENT ANAT 11:32:41 11:42:47 00:10:06
68 2017-01-27 CR2314643 1797.0 312-349-2628 AA0101 34626.0 0.0 PS AGENT DORIT 13:07:44 13:20:57 00:13:13
69 2017-01-27 CR2314736 2226.0 312-080-0390 AA0105 34628.0 0.0 PS AGENT SHARON 11:00:40 11:05:56 00:05:16
70 2017-01-27 CR2315474 3875.0 212-994-8696 AA0209 34629.0 2.0 PS AGENT YITZ 10:48:38 10:48:45 00:00:07
71 2017-01-25 CR2310722 3657.0 248-634-7803 AA0205 34630.0 2.0 PS AGENT MIKI 14:28:10 14:47:31 00:19:21
72 2017-01-25 CR2311288 11147.0 265-012-6222 AA0110 34631.0 2.0 PS AGENT MIKI 13:58:17 13:59:01 00:00:44
73 2017-01-25 CR2310354 232.0 854-444-6236 AA0109 34632.0 2.0 PS AGENT SHARON 14:06:28 14:20:38 00:14:10
74 2017-01-24 CR2308539 2503.0 281-754-2076 AA0104 34633.0 2.0 PS AGENT MORIAH 11:57:51 12:16:03 00:18:12
75 2017-01-24 CR2305383 146.0 917-678-2836 AA0103 34634.0 2.0 PS AGENT AVNI 11:24:26 11:30:51 00:06:25
76 2017-01-23 CR2305857 110.0 634-013-0057 AA0102 34635.0 2.0 PS AGENT DARMON 10:17:50 10:25:12 00:07:22
77 2017-01-20 CR2301475 2268.0 910-018-0049 AA0214 34636.0 2.0 PS AGENT MIKI 12:14:56 12:17:58 00:03:02
78 2017-01-20 CR2301210 4258.0 547-226-1341 AA0206 34637.0 1.0 PS AGENT ANAT 15:05:55 15:25:31 00:19:36
79 2017-01-20 CR2301127 8489.0 585-787-6851 AA0203 34639.0 0.0 PS AGENT TOVA 16:29:32 16:43:15 00:13:43
80 2017-01-19 CR2298291 3258.0 711-170-3148 AA0103 34640.0 2.0 PS AGENT SHARON 12:38:21 12:39:12 00:00:51
81 2017-01-18 CR2294240 917.0 857-625-6519 AA0206 34642.0 0.0 PS AGENT DARMON 15:16:07 15:36:24 00:20:17
82 2017-01-18 CR2292024 3067.0 508-728-2172 AA0204 34643.0 1.0 PS AGENT YITZ 13:20:50 13:26:26 00:05:36
83 2017-01-18 CR2293938 3467.0 212-985-4873 AA0215 34644.0 0.0 PS AGENT MORIAH 15:42:19 15:51:52 00:09:33
84 2017-01-13 CR2288912 3348.0 346-192-7574 AA0213 34646.0 0.0 NW AGENT YIFAT 09:56:22 10:12:22 00:16:00
85 2017-01-13 CR2289056 2981.0 944-944-0200 AA0103 34647.0 0.0 PS AGENT MORIAH 14:16:51 14:36:07 00:19:16
86 2017-01-11 CR2285660 2906.0 461-185-8491 AA0206 34648.0 0.0 PS AGENT AVIDAN 12:24:56 12:38:37 00:13:41
87 2017-01-10 CR2283299 287.0 716-179-4777 AA0109 34649.0 0.0 NW AGENT TOVA 15:42:47 15:49:43 00:06:56
88 2017-01-10 CR2283645 1394.0 674-781-6659 AA0205 34650.0 0.0 NW AGENT YITZ 13:33:46 13:50:25 00:16:39
89 2017-01-10 CR2282295 2786.0 671-085-3435 AA0111 34651.0 0.0 TT AGENT BASCH 11:19:59 11:40:31 00:20:32
90 2017-01-09 CR2281138 1199.0 644-160-4985 AA0215 34652.0 0.0 NW AGENT MIKI 15:37:19 15:51:58 00:14:39
91 2017-01-06 CR2275944 3782.0 212-522-4265 AA0106 34653.0 0.0 PS AGENT BENSION 09:21:43 09:38:30 00:16:47
92 2017-01-06 CR2279164 3909.0 459-262-9261 AA0115 34654.0 0.0 PS AGENT GILI 10:38:36 10:42:02 00:03:26
93 2017-01-06 CR2279262 4514.0 617-286-0356 AA0108 34655.0 0.0 TT AGENT STEREN 16:08:32 16:18:02 00:09:30
94 2017-01-03 CR2273074 1529.0 184-946-5589 AA0204 34656.0 0.0 PS AGENT AVNI 13:12:58 13:13:46 00:00:48
95 2017-01-03 CR2272555 4275.0 411-416-0778 AA0209 34657.0 0.0 PS AGENT SHARON 14:40:57 14:49:22 00:08:25
96 2017-01-03 CR2272801 2430.0 996-964-9510 AA0215 34658.0 0.0 NW AGENT STEREN 16:54:36 17:08:11 00:13:35
97 2016-12-28 CR2267388 1121.0 617-927-2995 AA0110 34659.0 0.0 PS AGENT YIFAT 11:34:46 11:42:41 00:07:55
98 2016-12-27 CR2264142 1434.0 946-732-1068 AA0101 34662.0 0.0 PS AGENT YIFAT 13:16:58 13:27:12 00:10:14
99 2016-12-27 CR2264909 5325.0 755-055-9989 AA0110 34663.0 2.0 NE AGENT IDIT 16:41:25 16:52:04 00:10:39

CRM_Events (first 100 rows)

date_received product sub_product issue sub_issue consumer_complaint_narrative tags consumer_consent_provided submitted_via date_sent_to_company company_response_to_consumer timely_response consumer_disputed complaint_id client_id
0 2014-07-03 Bank account or service Checking account Deposits and withdrawals None None None None Email 2014-07-09 Closed with explanation Yes No CR0922485 1925.0
1 2012-04-12 Bank account or service Savings account Account opening, closing, or management None None None None Email 2012-04-13 Closed with relief Yes No CR0057298 3141.0
2 2012-04-03 Bank account or service Checking account Account opening, closing, or management None None None None Email 2012-04-03 Closed without relief Yes No CR0043811 297.0
3 2012-03-14 Credit card None Billing disputes None None None None Email 2012-03-14 Closed with relief Yes No CR0035411 4275.0
4 2012-03-05 Bank account or service Checking account Account opening, closing, or management None None None None Email 2012-03-06 Closed with relief Yes No CR0030939 900.0
5 2012-03-05 Bank account or service Checking account Problems caused by my funds being low None None None None Email 2012-03-05 Closed with relief Yes No CR0030070 11596.0
6 2012-02-23 Credit card None Other fee None None None None Email 2012-02-24 Closed without relief Yes No CR0013328 2716.0
7 2017-02-16 Credit card None Identity theft / Fraud / Embezzlement None None None None Fax 2017-02-22 Closed with explanation Yes None CR2347888 11252.0
8 2017-02-03 Bank account or service (CD) Certificate of deposit Deposits and withdrawals None None None None Fax 2017-02-07 Closed with explanation Yes None CR2327253 7366.0
9 2017-01-31 Credit card None Other None None None None Fax 2017-02-03 Closed with explanation Yes None CR2319065 4459.0
10 2017-01-30 Bank account or service Other bank product/service Making/receiving payments, sending money None None None None Fax 2017-02-02 Closed with explanation Yes None CR2318000 2463.0
11 2017-01-09 Credit card None Other None None None None Fax 2017-01-10 Closed with explanation Yes Yes CR2281296 1075.0
12 2016-12-19 Credit card None Credit line increase/decrease None None None None Fax 2016-12-19 Closed with explanation Yes Yes CR2254957 3048.0
13 2016-12-08 Credit card None Billing disputes None None None None Fax 2016-12-09 Closed with explanation Yes No CR2241469 3061.0
14 2016-12-08 Credit card None Billing disputes None None None None Fax 2016-12-09 Closed with explanation Yes Yes CR2241293 2563.0
15 2016-12-07 Bank account or service Checking account Making/receiving payments, sending money None None None None Fax 2016-12-08 Closed with monetary relief Yes No CR2239563 2298.0
16 2016-12-01 Credit card None Late fee None None None None Fax 2016-12-02 Closed with monetary relief Yes No CR2230679 2771.0
17 2016-11-28 Bank account or service Other bank product/service Account opening, closing, or management None None None None Fax 2016-11-29 Closed with explanation Yes No CR2225814 1537.0
18 2016-11-17 Bank account or service Checking account Deposits and withdrawals None None None None Fax 2016-11-18 Closed with monetary relief Yes No CR2214250 10077.0
19 2016-11-16 Bank account or service Checking account Deposits and withdrawals None None None None Fax 2016-11-16 Closed with explanation Yes No CR2208613 1768.0
20 2016-11-08 Bank account or service (CD) Certificate of deposit Account opening, closing, or management None None None None Fax 2016-11-09 Closed with explanation Yes No CR2200226 1671.0
21 2016-11-04 Credit card None Sale of account None None None None Fax 2016-11-07 Closed with explanation Yes No CR2195804 2994.0
22 2016-11-02 Credit card None Identity theft / Fraud / Embezzlement None None None None Fax 2016-11-15 Closed with monetary relief Yes No CR2192368 3098.0
23 2011-12-07 Credit card None Collection debt dispute None None None None Email 2012-02-29 Closed without relief Yes No CR0003732 146.0
24 2017-03-27 Bank account or service Other bank product/service Deposits and withdrawals None None None None Fax 2017-03-27 Closed with explanation Yes None CR2405000 778.0
25 2017-03-21 Credit card None Other None None None None Fax 2017-03-21 Closed with non-monetary relief Yes None CR2398334 706.0
26 2017-03-20 Bank account or service Other bank product/service Account opening, closing, or management None None None None Fax 2017-03-21 In progress Yes None CR2395319 2065.0
27 2017-03-07 Bank account or service Other bank product/service Deposits and withdrawals None None None None Fax 2017-03-09 Closed with explanation Yes None CR2375209 298.0
28 2017-03-03 Bank account or service Checking account Account opening, closing, or management None None None None Fax 2017-03-08 Closed with monetary relief Yes None CR2371479 2926.0
29 2017-03-02 Credit card None Identity theft / Fraud / Embezzlement None None None None Fax 2017-03-06 Closed with explanation Yes None CR2368953 3552.0
30 2017-02-21 Bank account or service Savings account Deposits and withdrawals None None None None Fax 2017-02-24 Closed with monetary relief Yes None CR2353277 438.0
31 2016-11-02 Credit card None Identity theft / Fraud / Embezzlement None None None None Fax 2016-11-14 Closed with monetary relief Yes No CR2190357 3203.0
32 2016-10-28 Bank account or service Other bank product/service Account opening, closing, or management None None Older American None Fax 2016-10-31 Closed with non-monetary relief Yes No CR2184843 10041.0
33 2016-10-06 Bank account or service Other bank product/service Account opening, closing, or management None None None None Fax 2016-10-12 Closed with explanation Yes No CR2150336 1791.0
34 2016-10-05 Bank account or service (CD) Certificate of deposit Account opening, closing, or management None None Older American None Fax 2016-10-14 Closed with explanation Yes No CR2147799 5050.0
35 2016-10-04 Bank account or service Other bank product/service Account opening, closing, or management None None None None Fax 2016-10-06 Closed with explanation Yes Yes CR2146555 3330.0
36 2016-09-30 Bank account or service Other bank product/service Deposits and withdrawals None None None None Fax 2016-10-14 Closed with monetary relief Yes No CR2140531 3003.0
37 2016-09-26 Bank account or service Other bank product/service Deposits and withdrawals None None None None Fax 2016-09-28 Closed with monetary relief Yes No CR2132541 489.0
38 2016-09-23 Bank account or service Checking account Account opening, closing, or management None None None None Fax 2016-09-27 Closed with explanation Yes Yes CR2128698 1520.0
39 2016-09-22 Bank account or service Other bank product/service Account opening, closing, or management None None None None Fax 2016-09-26 Closed with explanation Yes No CR2125933 3001.0
40 2016-09-12 Credit card None Balance transfer fee None None None None Fax 2016-09-14 Closed with non-monetary relief Yes No CR2106749 11329.0
41 2016-08-31 Credit card None Billing disputes None None None None Fax 2016-09-06 Closed with explanation Yes No CR2089516 3317.0
42 2016-08-26 Bank account or service Other bank product/service Deposits and withdrawals None None None None Fax 2016-08-30 Closed with explanation Yes No CR2083797 1600.0
43 2016-08-25 Bank account or service Savings account Deposits and withdrawals None None None None Fax 2016-08-30 Closed with explanation Yes Yes CR2081319 572.0
44 2016-08-22 Credit card None Billing disputes None None None None Fax 2016-08-24 Closed with explanation Yes No CR2075840 119.0
45 2016-08-09 Bank account or service Other bank product/service Account opening, closing, or management None None None None Fax 2016-08-29 Closed with monetary relief Yes Yes CR2053856 3819.0
46 2016-08-04 Bank account or service Other bank product/service Making/receiving payments, sending money None None None None Fax 2016-08-08 Closed with explanation Yes No CR2047406 3069.0
47 2016-07-28 Bank account or service (CD) Certificate of deposit Account opening, closing, or management None None Older American None Fax 2016-08-02 Closed with explanation Yes No CR2036377 524.0
48 2016-07-19 Bank account or service Checking account Deposits and withdrawals None None Older American None Fax 2016-07-20 Closed with monetary relief Yes No CR2019528 697.0
49 2016-07-18 Bank account or service Other bank product/service Account opening, closing, or management None None Older American None Fax 2016-07-19 Closed with explanation Yes No CR2017443 4643.0
50 2016-07-15 Bank account or service Checking account Account opening, closing, or management None None None None Fax 2016-07-16 Closed with explanation Yes No CR2015196 137.0
51 2016-07-01 Credit card None Billing disputes None None None None Fax 2016-07-11 Closed with explanation Yes No CR1994567 7011.0
52 2016-06-02 Bank account or service Checking account Deposits and withdrawals None None None None Fax 2016-06-06 Closed with explanation Yes No CR1952426 3837.0
53 2016-05-26 Bank account or service Other bank product/service Account opening, closing, or management None None None None Fax 2016-05-27 Closed with explanation Yes No CR1943347 2799.0
54 2016-05-25 Credit card None Identity theft / Fraud / Embezzlement None None None None Fax 2016-05-31 Closed with explanation Yes No CR1942158 3834.0
55 2016-05-25 Bank account or service Other bank product/service Account opening, closing, or management None None None None Fax 2016-05-31 Closed with explanation Yes No CR1941865 5180.0
56 2016-05-24 Credit card None Identity theft / Fraud / Embezzlement None None None None Fax 2016-05-31 Closed with explanation Yes Yes CR1938865 1699.0
57 2016-05-23 Bank account or service Checking account Problems caused by my funds being low None None None None Fax 2016-05-24 Closed with explanation Yes Yes CR1936930 3632.0
58 2016-05-19 Bank account or service Checking account Account opening, closing, or management None None None None Fax 2016-05-31 Closed with explanation Yes No CR1932270 2463.0
59 2016-05-13 Bank account or service Other bank product/service Account opening, closing, or management None None None None Fax 2016-05-13 Closed with explanation Yes No CR1924106 4493.0
60 2016-05-06 Credit card None Customer service / Customer relations None None None None Fax 2016-05-11 Closed with monetary relief Yes No CR1913916 3116.0
61 2016-05-06 Bank account or service Checking account Account opening, closing, or management None None None None Fax 2016-05-16 Closed with non-monetary relief Yes No CR1912930 2324.0
62 2016-05-02 Bank account or service Checking account Account opening, closing, or management None None None None Fax 2016-05-02 Closed with explanation Yes No CR1905472 1579.0
63 2016-04-25 Credit card None Identity theft / Fraud / Embezzlement None None None None Fax 2016-04-28 Closed with explanation Yes No CR1894861 3039.0
64 2016-04-19 Bank account or service Other bank product/service Deposits and withdrawals None None None None Fax 2016-04-21 Closed with monetary relief Yes Yes CR1885950 4294.0
65 2016-04-18 Bank account or service Other bank product/service Deposits and withdrawals None None None None Fax 2016-04-18 Closed with explanation Yes Yes CR1884968 12358.0
66 2016-04-15 Bank account or service Other bank product/service Problems caused by my funds being low None None None None Fax 2016-04-15 Closed with monetary relief Yes No CR1881766 462.0
67 2016-04-15 Bank account or service Checking account Deposits and withdrawals None None None None Fax 2016-04-15 Closed with monetary relief Yes No CR1882476 13417.0
68 2016-04-07 Bank account or service Other bank product/service Account opening, closing, or management None None None None Fax 2016-04-11 Closed with explanation Yes No CR1869568 1445.0
69 2016-04-04 Credit card None Identity theft / Fraud / Embezzlement None None Older American, Servicemember None Fax 2016-04-06 Closed with explanation Yes No CR1863969 2209.0
70 2016-03-23 Bank account or service Checking account Deposits and withdrawals None None Servicemember None Fax 2016-03-23 Closed with explanation Yes No CR1845683 6256.0
71 2016-03-10 Bank account or service Other bank product/service Account opening, closing, or management None None None None Fax 2016-03-10 Closed with explanation Yes Yes CR1826636 472.0
72 2016-03-08 Bank account or service Checking account Account opening, closing, or management None None None None Fax 2016-03-08 Closed with explanation Yes No CR1822084 3977.0
73 2016-02-29 Bank account or service Checking account Deposits and withdrawals None None None None Fax 2016-03-01 Closed with explanation Yes No CR1809285 3372.0
74 2016-02-17 Bank account or service Other bank product/service Deposits and withdrawals None None None None Fax 2016-02-18 Closed with explanation Yes Yes CR1791074 11906.0
75 2016-02-16 Bank account or service Other bank product/service Account opening, closing, or management None None None None Fax 2016-03-21 Closed with explanation Yes Yes CR1789593 9236.0
76 2016-02-11 Credit card None Other None None None None Fax 2016-02-17 Closed with explanation Yes No CR1784697 9458.0
77 2016-02-05 Bank account or service Checking account Account opening, closing, or management None None Servicemember None Fax 2016-02-05 Closed with non-monetary relief Yes No CR1775172 4445.0
78 2016-02-04 Bank account or service Other bank product/service Account opening, closing, or management None None None None Fax 2016-02-17 Closed with explanation Yes No CR1773179 3283.0
79 2016-02-04 Bank account or service Checking account Deposits and withdrawals None None None None Fax 2016-02-17 Closed with explanation Yes No CR1773807 2129.0
80 2016-01-29 Credit card None Billing disputes None None None None Fax 2016-02-01 Closed with explanation Yes No CR1764286 2084.0
81 2016-01-28 Credit card None Other None None None None Fax 2016-01-29 Closed with explanation Yes Yes CR1762648 4449.0
82 2016-01-25 Credit card None Billing disputes None None None None Fax 2016-01-26 Closed with explanation Yes None CR1756498 2296.0
83 2016-01-25 Credit card None Identity theft / Fraud / Embezzlement None None None None Fax 2016-02-01 Closed with explanation Yes Yes CR1756563 2642.0
84 2016-01-15 Bank account or service Other bank product/service Account opening, closing, or management None None None None Fax 2016-01-20 Closed with monetary relief Yes No CR1744554 3532.0
85 2016-01-08 Bank account or service Other bank product/service Deposits and withdrawals None None Older American None Fax 2016-01-12 Closed with monetary relief Yes No CR1734737 4387.0
86 2016-01-06 Bank account or service Other bank product/service Account opening, closing, or management None None Older American None Fax 2016-01-07 Closed with explanation Yes No CR1729929 2727.0
87 2016-01-04 Bank account or service Other bank product/service Account opening, closing, or management None None Older American None Fax 2016-01-04 Closed with explanation Yes Yes CR1725606 3241.0
88 2015-12-22 Bank account or service Other bank product/service Making/receiving payments, sending money None None None None Fax 2015-12-23 Closed with explanation Yes No CR1713275 1316.0
89 2015-12-18 Bank account or service Other bank product/service Problems caused by my funds being low None None None None Fax 2015-12-18 Closed with monetary relief Yes No CR1708290 11064.0
90 2015-11-30 Bank account or service Other bank product/service Account opening, closing, or management None None Older American None Fax 2015-12-04 Closed with explanation Yes Yes CR1676436 520.0
91 2015-11-18 Credit card None Other None None None None Fax 2015-12-14 Closed with explanation Yes No CR1660760 3092.0
92 2015-11-09 Bank account or service Checking account Account opening, closing, or management None None None None Fax 2015-11-09 Closed with monetary relief Yes No CR1645849 1323.0
93 2015-11-09 Bank account or service Other bank product/service Problems caused by my funds being low None None None None Fax 2015-11-10 Closed with explanation Yes No CR1645852 482.0
94 2015-10-29 Bank account or service Other bank product/service Deposits and withdrawals None None None None Fax 2015-10-30 Closed with explanation Yes No CR1631076 2709.0
95 2015-10-23 Credit card None Other None None None None Fax 2015-10-26 Closed with explanation Yes Yes CR1621364 6924.0
96 2015-10-23 Credit card None Identity theft / Fraud / Embezzlement None None Older American None Fax 2015-10-27 Closed Yes Yes CR1621318 1129.0
97 2015-10-05 Credit card None Billing disputes None None None None Fax 2015-10-07 Closed with monetary relief Yes Yes CR1592064 3450.0
98 2015-10-02 Bank account or service Checking account Problems caused by my funds being low None None None None Fax 2015-10-06 Closed with explanation Yes No CR1590438 2755.0
99 2015-09-21 Bank account or service Other bank product/service Making/receiving payments, sending money None None None None Fax 2015-09-24 Closed with non-monetary relief Yes No CR1573466 2409.0

CRM_Reviews (first 100 rows)

date_ stars reviews product district_id
0 2017-10-04 5 Great job, Eagle National! Each person was professional and helped us move through our refinance process smoothly. Thank you! Eagle National Mortgage 65
1 2017-10-02 5 Matthew Richardson is professional and helpful. He helped us find the correct product for our mortgage. Thank you very much for the excellent service, Matthew! Eagle National Mortgage 66
2 2017-08-21 5 We had a past experience with Eagle National Mortgage and would without question use again and again if needed!! Eagle went beyond the extra mile to not only right a wrong encountered from the servicer we were dealing on our previous loan, but they pulled together and found a viable option for us that ultimately saved us money. We would highly recommend Brad Thomka and the Eagle National Mortgage team for your mortgage needs. Sincerest thanks Eagle!! Ed & Lind Eagle National Mortgage 23
3 2017-12-17 5 We have been dealing with Brad Thomka from the beginning of what started out to be a very stressful time for us, but with the help from Brad and the entire Eagle Mortgage team it was turned into a happy ending!! Brad and Eagle went beyond the extra mile to not only right a wrong encountered from the servicer we were dealing on our previous loan, but they pulled together and found a viable option for us that ultimately saved us money. We are indebted and would highly recommend Brad Thomka and the Eagle National Mortgage team for your mortgage needs. Sincerest thanks Eagle!! Ed & LindRead Less Eagle National Mortgage 55
4 2016-05-27 5 I can't express how grateful I am for the support that Zach provided to me and my family during this home purchase! His customer service, responsiveness and professional demeanor is second to none. He was very thorough and took the time to educate me about the process along the way. I highly recommend working with Zach and Eagle National! Eagle National Mortgage 24
5 2016-12-20 5 I had the pleasure of working with Eagle National in September 2018 as my family and I were making a home purchase in Columbus, OH. From the original conversation with the loan officer to underwriting and all the way through closing, the entire team from Eagle was very responsive and professional. I was VERY impressed with how smooth their process was and how timely the communication was given how stressful of a process home buying (and selling) can be Eagle National Mortgage 15
6 2017-12-17 5 My experience with Mattison was beyond greatly professionally done!! She really cares about her clients needs! She stays on top of everything and if there was a misunderstanding, she would be on top of it for you. Overall she truly bends her back professionally for her clients. She is a wonderful person! Eagle National Mortgage 12
7 2016-08-16 5 Patrick answered all my questions by email immediately and he spent a lot of time making sure I got the right loan for my situation. The portal they use is extremely easy and we closed on the refinance with 2 weeks. Very pleased with the customer service and intend on using Patrick again when we refinance later!!!! Eagle National Mortgage 55
8 2017-04-09 5 I loved working with this group of people! They laughed with me over the phone! Always answered my questions and moved the loan along as quickly as possible! Knowledgeable staff! While we were shopping around for a lender, one lender badmouthed Eagle, they lost my business because of it. When I told Eagle about it, they had the class not to say anything negative about another company, just to get the "sell" Eagle National Mortgage 25
9 2016-03-22 5 Great web interface for both the loan application and document upload and download features. Quick responses to any questions or concerns. Willingness to communicate almost exclusively via email...as phone calls weren't always an option for us. Eagle National Mortgage 18
10 2017-02-04 5 Working with Michelle and Eagle went really well for me. As a first time homeowner and this being my first refinance, I feel that this process was smooth and successful. I will definitely recommend Michelle to friends and family. Eagle National Mortgage 37
11 2016-06-02 5 usten Butler brought the humanity and connection to what can be a very stiff, lifeless, and scary transaction. Not only that, it is quite possibly the largest purchase my wife and I will ever make. We didn't simply want to transact with a faceless institution. A lot was riding on picking the right house and making sure everything would work out. Austen was there for us, every step of the way. It's true. Austen got us the best deal. Yes, that's also true. But it's more than that. From when we first starting looking to over a year later when we found the home we wanted, his presence, positivity, and guidance gave us the confidence to take the step and move into our dream home. It's made a HUGE difference for our family, we're right where we want to be, have 13 kids on our block, and couldn't be happier - and it's all thanks to Austen Butler's help. Eagle National Mortgage 8
12 2016-11-06 5 Jay was easy to get a hold of if I had any questions so that was huge to me because there's a lot to do during this whole loan process and you want to know if everything's right. He provided as great a service as I could've wanted Eagle National Mortgage 32
13 2017-04-03 5 If I had a million Friends I would recommend all of them to Eagle National especially to Mark Taylor he’s great he really help with even of the clock thanks a million mark I mean that from heart I appreciate everything you did for me. Eagle National Mortgage 60
14 2016-06-11 5 Chaz was fantastic throughout the entire lending processs. I had my share of challenges with the original underwriter through no fault of Chase yet he stepped in quickly to rectify any issues I had. He was the glue that kept this deal together. I did have some challenges with my first property falling through and the last minute yet Chaz kept my spirits up and assisted through quickly transitioning to the new and much better property in the end. Again, cannot say enough positive things about Chaz. Consummate professional and very responsive. I would highly recommend doing business with him and plan on staying in touch for future opportunities Eagle National Mortgage 38
15 2016-03-07 5 Austen has been awsome in every step of the way with my refi and new home purchase. He explains your best options thoroughly with out any of the B.S other companies use to get your business . Being a repeat customer says it all. Eagle National Mortgage 1
16 2016-07-10 5 The salesperson kept pushing a cash out refi on me even when i told him I'm looking for a heloc specifically. Then he hangs up on me because I said I was quoted a better rate at TD bank. Ridiculous.... Eagle National Mortgage 55
17 2017-02-24 1 This was the worst experience ever. It was like they had never gone through the process before. I could not get a complete list of the documents required. Every other day it was a new request. The appraiser that they hired made so many mistakes I had to send in corrections and then during the underwriting process they had to go back and make more corrections. Wyndum would continue to ask for copies of documents over and over again. There were many documents that I had to send 3 and 4 times because they "lost" them or was not filed correctly, we went through 4 different people through the process. I would NEVER use them. Awful experience! Eagle National Mortgage 20
18 2016-03-14 1 A good rate but a very frustrating process, constant delays, decisions made then changed, overwhelmed underwriting team with 3 week back log, rookie mistake related to Texas law that caused an additional 2 week wait. Closing happened almost 6 weeks after it should have. Courteous and professional, but not very knowledgeable and no sense of urgency. Would not recommend Eagle National Mortgage 65
19 2017-08-13 1 They were not upfront. Learn from my mistake... I trusted the loan officer that my zero point rate is an option before closing the loan because he convinced me to initially sign the Good Faith Estimate with higher rate plus lender's credit. After running my numbers, the lower interest is favorable for me and asking for it now, I'm being charge points. It looks like they are only good in their words at the beginning so please be careful dealing with this lender Eagle National Mortgage 66
20 2016-06-26 1 Initially, the Mortgage Broker was very friendly and assertive. Once the paper work was filled out and closing on the loan was eminent, it became increasingly difficult to reach the broker. I had to initiate all phone calls. It seemed as if I had to call to make the process move forward. It took four weeks to get a copy of my closing documents and the payoff for my credit card Eagle National Mortgage 63
21 2016-06-26 1 Initially, the Mortgage Broker was very friendly and assertive. Once the paper work was filled out and closing on the loan was eminent, it became increasingly difficult to reach the broker. I had to initiate all phone calls. It seemed as if I had to call to make the process move forward. It took four weeks to get a copy of my closing documents and the payoff for my credit card Eagle National Mortgage 67
22 2016-01-15 5 I worked with Kory and Carla at NASB. They were a superb team and provided excellent, responsive and knowledgeable service throughout the entire process. Ours was a complicated process with a refinance and a loan and they hung in there with us the entire time. It was a great experience working with both of them. I highly recommend them and will use them in the future for all of my mortgage needs Eagle National Bank 34
23 2017-11-10 5 Kory was by far the best loan officer I have ever worked with. We were dealing with a complicated refinance and purchase of two different properties and he was cool, calm, professional and extremely knowledgeable throughout the entire process. I wouldn’t use anyone else moving forward. His level of integrity and responsiveness is second to none. Thanks for everything, Kory Eagle National Bank 28
24 2016-10-14 5 Expert loan officer, well versed in VA and the financial impacts of loan component changes. The best I have worked with across 7 home buying/selling deals. Now advocated for by the #1 real estate broker in the state due to his ability to close complicated and high pressure deals. She places him at the top of the list after 32 years in the business! Professionally and patiently answers detailed questions and can rally the expanded NASB team (also stellar!) to support your needs. He handled my complicated VA loan that seemed to change every week while we tried to buy an Antebellum home (tough comps) during my retirement from the military (tough income verification) with five families all swapping homes (tons of contingencies). Everything along the way mattered and Aaron and the NASB team got it done (even on weekends) and closed on time with the best interest rate in the market and no added origination fees. Look, do NOT pass up an opportunity to work with him. Eagle National Bank 48
25 2016-08-01 5 The NASB team went above and beyond for me and my family and closed an important VA home loan on time despite many changes, my military retirement, and a very challenging Antebellum home that required the entire NASB team to pull out all the stops, know the rules and regulations, and guide us through a tough VA process. I truly believe we would not have closed on time with a different team. I will only recommend NASB for home loans...especially complicate VA loans Eagle National Bank 40
26 2016-10-22 5 Dallas Goodlet and his entire team are deserving a special thank you. He was as professional as they come and closed our loan in 12 days. We were with another competitor originally and he called, saving us thousands over our current lender. It was a real pleasure getting to work with this institution and a class act like Dallas. Great job! Eagle National Bank 14
27 2017-12-09 5 Comments: To begin my wife and I were at the point of signing completion with the leader of online home mortgage service. We were not satisfied with the origination cost so we applied to lending tree for competitive bids. Several lender matched or slightly beat NASB but none were convincing at closing on time. We chose NASB because of Dallas Goodlet believability on the closing. The sales, loan service and application process was competitive, assuring, professional, timely, supportive, and truthful. Dallas Goodlet/ Brent Custer and the whole NASB team delivered the mortgage on time and at the price promised. We are completely satisfied and appreciative of the staff, product and service of your company. Kudos to all Eagle National Bank 63
28 2017-05-24 5 Working with Jon was such an amazing experience! From the start he offered answers to any questions I had since after all this was our first home purchase! Jon was always a phone call away ready to help where needed. He made the stringent home buying process as easy as possible! I would definitely recommend any potential buyers to work with Jon, I know for myself I will be calling him if we ever decide to buy another house! Thanks Jon Eagle National Bank 54
29 2017-02-05 5 NASB was amazing to work with! The pre-approval process was easy and informational. We chose our home and closed within 30 days of our agreement date! Thanks NASB for making our first home purchase an amazing experience! Eagle National Bank 34
30 2016-07-18 5 Jon Barrett was a great asset to my husband and I. He made our mortgage loan process extremely simple and quick! Jon was knowledgeable, helpful, patient and accurate. We will be passing Jon's name along to anyone looking for a mortgage loan! Eagle National Bank 5
31 2016-07-18 5 \nWorking with our agent was quick and very simple. We had to do very little and things were completed well and we were very pleased with the service and result we received.\n Eagle Capital 76
32 2017-10-02 5 \nTeddy represents his company very well. He is communicative, patient, hard-working and gets the job done. \n Eagle Capital 59
33 2016-05-05 5 \nTeddy Ferrell and Binh Lai were excellent team members. Teddy explained everything from beginning to end and was very honest and up front with all that was required for my transactions to take place. He answered all of my calls and emails in a very timely manner. Very professional with excellent communication\n Eagle Capital 1
34 2016-07-18 5 \nThank you for all of your help Kelly! Your patience and kindness in assisting us with our loan is greatly appreciated! Look forward to working again together in the future! \n Eagle Capital 15
35 2017-10-04 5 \nKelly & Rasool were extremely helpful! It was a stressful time for me and my family and they made us feel taken care of and really cared about helping us! Thank you Again! I will be referring them to family and friends in the future!\n Eagle Capital 50
36 2017-09-05 5 \nFrom the very first conversation that I had with Steve, I knew that he understood our situation perfectly and he was able to help us achieve our dream of home ownership. We were given very realistic expectations from the beginning and Steve kept in touch with us throughout the process. It was a relief to work with someone who gave us accurate information and didn't string us along.... Read More\n Eagle Capital 50
37 2016-01-30 5 \nThe staff was very friendly and great to work with. They kept me well informed throughout the process\n Eagle Capital 77
38 2016-01-23 5 None Eagle Capital 28
39 2016-05-05 5 None Eagle Capital 8
40 2017-09-05 5 None Eagle Capital 58
41 2017-08-13 5 None Eagle Capital 37
42 2017-12-24 5 None Eagle Capital 71
43 2017-10-02 5 None Eagle Capital 7
44 2016-05-20 5 None Eagle Capital 76
45 2016-02-29 5 None Eagle Capital 64
46 2019-08-05 5 None Eagle Capital 40
47 2016-08-08 5 None Eagle Capital 12
48 2016-03-05 5 None Eagle Capital 29
49 2013-04-04 5 None Eagle Capital 34
50 2013-02-04 5 None Eagle Capital 62
51 2013-05-06 5 None Eagle Capital 34
52 2019-08-05 5 None Eagle Capital 73
53 2016-08-08 5 None Eagle Capital 19
54 2016-03-05 5 None Eagle Capital 57
55 2013-04-04 5 None Eagle Capital 45
56 2013-02-04 5 None Eagle Capital 68
57 2013-05-06 5 None Eagle Capital 36
58 2019-08-05 1 None Eagle Capital 52
59 2016-08-08 1 None Eagle Capital 59
60 2016-03-05 1 None Eagle Capital 5
61 2013-04-04 1 None Eagle Capital 21
62 2013-02-04 1 None Eagle Capital 26
63 2013-05-06 1 None Eagle Capital 63
64 2019-08-05 1 None Eagle Capital 70
65 2016-07-18 1 None Eagle Capital 49
66 2017-10-02 1 None Eagle Capital 23
67 2016-05-05 1 None Eagle Capital 60
68 2016-07-18 1 None Eagle Capital 35
69 2017-10-04 1 None Eagle Capital 60
70 2017-09-05 1 None Eagle Capital 75
71 2016-01-30 2 None Eagle Capital 75
72 2016-01-23 1 None Eagle Capital 53
73 2016-05-05 1 None Eagle Capital 67
74 2017-09-05 1 None Eagle Capital 24
75 2017-08-13 1 None Eagle Capital 57
76 2017-12-24 5 None Eagle National Mortgage 7
77 2017-10-02 5 None Eagle National Mortgage 11
78 2016-05-20 5 None Eagle National Mortgage 51
79 2016-02-29 5 None Eagle National Mortgage 75
80 2013-02-04 5 None Eagle National Mortgage 48
81 2013-05-06 5 None Eagle National Mortgage 17
82 2019-08-05 5 None Eagle National Mortgage 16
83 2016-08-08 5 None Eagle National Mortgage 29
84 2016-03-05 5 None Eagle National Mortgage 60
85 2013-04-04 5 None Eagle National Mortgage 19
86 2013-02-04 5 None Eagle National Mortgage 42
87 2013-05-06 5 None Eagle National Mortgage 39
88 2019-08-05 5 None Eagle National Mortgage 27
89 2013-12-07 5 None Eagle National Mortgage 76
90 2014-03-29 5 None Eagle National Mortgage 5
91 2014-04-18 5 None Eagle National Mortgage 73
92 2014-06-17 5 None Eagle National Mortgage 32
93 2014-07-01 5 None Eagle National Mortgage 42
94 2014-07-29 5 None Eagle National Mortgage 40
95 2017-10-02 5 I can't express how incredibly awesome our experience was with working with Bryant Small at NASB. As a military family, we have purchased or refinanced many homes and this was by far the BEST experience we have ever had. Bryant makes it easy and took the time to discuss the best options for us. I've never met Bryant, but you can't mistake authenticity and we knew instantly he and NASB were who we were going with. Eagle National Bank 33
96 2016-05-05 5 Best loan officer I could have hoped for! Jeff exceeded my expectations. He worked very hard to get me the best rate possible. Highly recommended Eagle National Bank 44
97 2016-07-18 5 Adam was great to work with during our refi! His attention to detail made this a smooth and easy transaction. It has been several years since we've gone thru the home loan process and we were unsure where to start. After talking with Adam, we were confident he was the one to help us with our refi. He was professional, helpful, very knowledgeable about the loan process and answered all of our questions in a timely manner. I would highly recommend Adam and would not hesitate to work with him agai Eagle National Bank 53
98 2017-10-04 5 Great website, knowledgeable, responsive and always got back to us quickly with answers to our questions. Mortgage process can be very tedious and they made it easy. Eagle National Bank 28
99 2017-09-05 5 We received offers from multiple banks after our lending tree request for a mortgage. Alex Madewell from NASB was by far the best offer. He made the entire process easy and was very knowledgeable. The closing on this home was seamless, no surprises. I would definitely recommend Alex Madewell and NASB to anyone looking for a mortgage. Eagle National Bank 65

LuxuryLoanPortfolio (first 100 rows)

loan_id funded_amount funded_date duration_years duration_months _10_yr_treasury_index_date_funded interest_rate_percent interest_rate payments total_past_payments loan_balance property_value purpose firstname middlename lastname social phone title employment_length building_class_category tax_class_at_present building_class_at_present address_1 address_2 zip_code city state total_units land_square_feet gross_square_feet tax_class_at_time_of_sale
0 LL0000076 790000.0 2012-04-27 20 240 1.9600 3.359 0.03359 4524.65 92 373732.18 930250.0 boat Devin Knox Walters 972-69-4236 542-843-5089 Vice President Global Field Services 6 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 171 SOUTH 9TH STREET 9 10001 New York City NY 1 0.0 0.0 2
1 LL0000151 1720000.0 2014-10-14 15 180 2.2100 3.508 0.03508 12302.74 62 957230.24 1995250.0 boat Rhett Felix Calderon 577-13-5838 625-614-0118 Senior program manager 10 04 TAX CLASS 1 CONDOS 1A R3 1242 E 80TH ST 19 10104 New York City NY 1 0.0 0.0 1
2 LL0000161 3720000.0 2014-06-07 15 180 2.6000 3.896 0.03896 27322.92 66 1916687.35 3881700.0 boat Jax Sean Richards 263-55-1721 255-592-5290 None 1 04 TAX CLASS 1 CONDOS 1A R3 1884 53RD STREET 2 10029 New York City NY 1 0.0 0.0 1
3 LL0000175 1079000.0 2012-02-23 20 240 1.9900 3.389 0.03389 6196.40 94 496538.75 1402450.0 boat Nicholas Jeremy Priest 512-60-5121 757-337-7073 Vice presiden 17 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 79 EAGLE STREET 6 10010 New York City NY 1 0.0 0.0 2
4 LL0000178 2028000.0 2016-04-01 20 240 1.7900 3.188 0.03188 11439.05 45 1513242.57 2216500.0 boat Riley Matteo Hoffman 271-64-4634 478-573-2416 Bank examiner 5 49 CONDO WAREHOUSES/FACTORY/INDUS 4 RW 34 NORTH 7TH STREET 5 10172 New York City NY 1 0.0 0.0 4
5 LL0000195 612000.0 2017-10-26 20 240 2.4609 3.860 0.03860 3663.61 26 516746.19 711850.0 boat Arabella Marley Castro 474-50-8126 892-292-9784 Senior Director of Video Programming 3 07 RENTALS - WALKUP APARTMENTS 2A C3 1586 PROSPECT PLACE 4 10026 New York City NY 4 3194.0 3296.0 2
6 LL0000206 630000.0 2017-12-07 15 180 2.3700 3.669 0.03669 4556.23 24 520650.57 667750.0 boat Leonardo Jasper Burdick 626-46-8957 697-948-0097 Field CTO 1 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 221 KINGSLAND AVENUE 1 10023 New York City NY 1 0.0 0.0 2
7 LL0000234 795000.0 2017-10-06 20 240 2.3589 3.758 0.03758 4716.77 26 672363.91 895850.0 boat Henry Jackson Thao 981-33-3139 640-589-4719 vp of Sourcing and Supply Chain 11 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 221 KINGSLAND AVENUE 2 10028 New York City NY 1 0.0 0.0 2
8 LL0000250 2004000.0 2019-10-12 15 180 1.7600 3.058 0.03058 13895.23 2 1976209.55 2068050.0 boat Amelia Harper Dickerson 861-62-0214 331-988-6536 Vice Presiden 5 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 221 KINGSLAND AVENUE 3 10013 New York City NY 1 0.0 0.0 2
9 LL0000311 4752000.0 2019-09-20 20 240 1.7400 3.135 0.03135 26676.78 3 4671969.67 4937150.0 boat Sergio Gideon Benson 152-86-8191 817-743-2573 Sales manager 1 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 221 KINGSLAND AVENUE 4 10199 New York City NY 1 0.0 0.0 2
10 LL0000319 1790000.0 2018-12-11 20 240 2.8900 4.288 0.04288 11120.61 12 1656552.66 1869300.0 boat Martin Prince Willey 385-00-3598 964-655-0840 Trading manager 11 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 221 KINGSLAND AVENUE 5 10121 New York City NY 1 0.0 0.0 2
11 LL0000327 1890000.0 2016-06-13 20 240 1.6200 3.018 0.03018 10498.93 42 1449044.81 1954850.0 boat Raven Danna Robles 632-74-2673 367-790-6730 SrUnderwriter 13 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 221 KINGSLAND AVENUE 6 10166 New York City NY 1 0.0 0.0 2
12 LL0000400 1310000.0 2017-01-08 20 240 2.4193 3.818 0.03818 7813.28 35 1036535.37 1364400.0 boat Jesse Archer Fairchild 912-82-7956 585-743-3074 Practice Director 5 07 RENTALS - WALKUP APARTMENTS 2A C3 136 AMITY STREET 5 10115 New York City NY 4 2500.0 5000.0 2
13 LL0000527 5577000.0 2015-07-14 20 240 2.4100 3.804 0.03804 33222.32 53 3816216.90 5718600.0 boat Brody Omar Stoddard 565-55-8737 802-065-0912 Sales Manager 12 07 RENTALS - WALKUP APARTMENTS 2A C2 37 FROST STREET 6 10010 New York City NY 6 2500.0 4125.0 2
14 LL0000544 1640000.0 2018-12-10 15 180 2.8500 4.148 0.04148 12252.87 12 1492965.52 1719350.0 boat Emiliano Landen Oh 961-10-9612 665-662-7472 Owner 10 07 RENTALS - WALKUP APARTMENTS 2B C1 168 HICKS STREET 10 10006 New York City NY 10 2550.0 5625.0 2
15 LL0000549 728000.0 2017-12-19 20 240 2.4600 3.859 0.03859 4357.64 24 623416.73 825150.0 boat Charlotte Emily Becker 562-19-5485 398-608-2965 Realtor 13 04 TAX CLASS 1 CONDOS 1A R3 1204 44TH STREET 3 10081 New York City NY 1 0.0 0.0 1
16 LL0000558 1368000.0 2015-12-23 20 240 2.2700 3.669 0.03669 8053.16 48 981448.18 1561500.0 boat Brady Tucker Kramer 228-81-5265 405-437-1466 Registered nurse 13 07 RENTALS - WALKUP APARTMENTS 2A C2 722 KNICKERBOCKER AVENUE 6 10012 New York City NY 6 2600.0 5850.0 2
17 LL0000568 1380000.0 2018-05-12 20 240 2.9700 4.369 0.04369 8633.28 19 1215967.68 1589950.0 boat Zoey Helen Gonzalez 212-58-0465 799-297-7340 Product Manager 4 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 45 LORIMER STREET 2 10110 New York City NY 1 0.0 0.0 2
18 LL0000569 1290000.0 2012-09-17 20 240 1.8500 3.249 0.03249 7316.17 87 653493.12 1603100.0 boat Lylah Emily Parrish 682-05-8535 594-044-3081 Owner/Partner+Landlord 4 04 TAX CLASS 1 CONDOS 1A R3 1420 OUTLOOK AVENUE 2 10022 New York City NY 1 0.0 0.0 1
19 LL0000578 638000.0 2014-04-20 15 180 2.7300 4.029 0.04029 4728.49 68 316462.94 802100.0 boat Cody Jorge Patrick 207-54-2146 246-322-0352 Vice President 13 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 235 LEE AVENUE 4 10031 New York City NY 1 0.0 0.0 2
20 LL0000603 1180000.0 2018-03-03 15 180 2.8600 4.159 0.04159 8822.64 21 994724.64 1273450.0 boat Nina Alison Barnett 325-65-4707 556-914-0518 Principal Broker 2 07 RENTALS - WALKUP APARTMENTS 2 C1 3020 AVE D 21 10109 New York City NY 12 3683.0 9758.0 2
21 LL0000612 1100000.0 2014-05-19 20 240 2.5400 3.939 0.03939 6630.48 67 655757.87 1382650.0 boat Joel Cristian Satterfield 410-18-9502 335-993-9247 Director 12 07 RENTALS - WALKUP APARTMENTS 2A C3 151 EAST 52ND STREET 4 10027 New York City NY 4 2700.0 3564.0 2
22 LL0000617 1020500.0 2014-09-09 15 180 2.5000 3.799 0.03799 7446.14 63 551393.34 1177500.0 boat Alejandro Marcus Strickland 993-22-8242 684-389-7424 Sole Proprietor 10 07 RENTALS - WALKUP APARTMENTS 2A C2 6804 OWLS HEAD COURT 6 10155 New York City NY 6 2033.0 4920.0 2
23 LL0000619 1730000.0 2013-11-13 20 240 2.7500 4.148 0.04148 10618.87 73 954822.78 1962000.0 boat Fabian Grady Marquez 308-88-7665 656-759-1207 Sr. Director Global Talent 14 07 RENTALS - WALKUP APARTMENTS 2A C2 6804 OWLS HEAD COURT 6 10013 New York City NY 6 2033.0 4920.0 2
24 LL0000625 688000.0 2016-12-07 20 240 2.3401 3.739 0.03739 4075.13 36 541295.17 864000.0 boat Renata Amelia Kane 534-24-2156 529-390-5291 HOSPITALIST 10 04 TAX CLASS 1 CONDOS 1C R6 1270 56TH STREET 1 10087 New York City NY 1 0.0 0.0 1
25 LL0000638 496000.0 2015-02-11 20 240 2.0000 3.400 0.03400 2851.18 58 330631.67 645250.0 boat Trenton Cohen Graves 816-85-4406 820-226-4790 Advisory Systems Engineer 8 08 RENTALS - ELEVATOR APARTMENTS 2 D5 5302 6 AVENUE 25 10002 New York City NY 25 9550.0 27648.0 2
26 LL0000642 1670000.0 2015-07-05 20 240 2.4000 3.798 0.03798 9943.00 53 1143020.89 1812050.0 boat Jaelyn Demi Nash 860-24-9387 817-209-1881 Administrator 12 08 RENTALS - ELEVATOR APARTMENTS 2 D5 5302 6 AVENUE 25 10016 New York City NY 25 9550.0 27648.0 2
27 LL0000651 1850000.0 2012-08-28 15 180 1.6400 2.938 0.02938 12720.67 88 730581.20 2164100.0 boat Hadassah Harper Farrell 901-05-8699 445-355-8603 CEO and Manager 1 07 RENTALS - WALKUP APARTMENTS 2 C1 323 43RD STREET 24 10173 New York City NY 24 6261.0 21000.0 2
28 LL0000703 808500.0 2014-08-25 15 180 2.3900 3.689 0.03689 5855.16 64 433770.00 966250.0 boat Evangeline Shelby Schultz 177-63-1486 420-956-9711 Business Intelligence Architect 13 07 RENTALS - WALKUP APARTMENTS 2B C1 517 49TH STREET 8 10175 New York City NY 8 3005.0 6960.0 2
29 LL0000706 1460000.0 2016-01-22 15 180 2.0700 3.369 0.03369 10343.61 47 973850.11 1592000.0 boat Arthur Archer Bates 283-55-0140 969-945-7728 crna 9 07 RENTALS - WALKUP APARTMENTS 2B C1 517 49TH STREET 8 10044 New York City NY 8 3005.0 6960.0 2
30 LL0000749 676500.0 2012-05-19 20 240 1.7100 3.109 0.03109 3788.87 91 331712.54 815650.0 boat Emmett Chance Maier 886-36-2032 551-719-7673 Sole Equity Partner 14 07 RENTALS - WALKUP APARTMENTS 2B C1 448 51ST STREET 8 10169 New York City NY 8 3000.0 6928.0 2
31 LL0000842 1524000.0 2018-11-16 15 180 3.0800 4.379 0.04378 11563.70 13 1373671.91 1604550.0 boat Sadie Mia Collins 258-18-9319 329-493-6700 Branch Manager 13 07 RENTALS - WALKUP APARTMENTS 2B C1 448 51ST STREET 8 10161 New York City NY 8 3000.0 6928.0 2
32 LL0000888 1932000.0 2019-08-16 15 180 1.5500 2.848 0.02848 13201.26 4 1879194.98 1938900.0 boat Francisco Judah Ochoa 253-85-9789 944-811-7728 Manager 3 07 RENTALS - WALKUP APARTMENTS 2B C1 523 51ST STREET 8 10162 New York City NY 8 2980.0 8268.0 2
33 LL0000898 1560000.0 2012-10-19 20 240 1.7900 3.188 0.03188 8799.27 86 803262.59 1871500.0 boat Alessandra Lilah Holland 660-74-3688 375-695-8959 CEO 14 07 RENTALS - WALKUP APARTMENTS 2B C1 523 51ST STREET 8 10002 New York City NY 8 2980.0 8268.0 2
34 LL0000913 1180000.0 2018-04-28 20 240 2.9600 4.359 0.04359 7375.75 20 1032484.97 1330650.0 boat Killian Jaylen Mann 700-66-4358 474-117-4947 Director 14 07 RENTALS - WALKUP APARTMENTS 2B C1 549 49TH STREET 8 10103 New York City NY 8 2504.0 6348.0 2
35 LL0000966 1540000.0 2019-10-19 20 240 1.7600 3.159 0.03158 8663.12 2 1522673.76 1723700.0 boat Milo Drake Augustine 104-25-9863 579-098-9389 President 12 07 RENTALS - WALKUP APARTMENTS 2B C1 549 49TH STREET 8 10113 New York City NY 8 2504.0 6348.0 2
36 LL0001011 1450000.0 2015-06-04 15 180 2.3100 3.609 0.03609 10443.59 54 886046.39 1533600.0 boat Xavier Ayden Powell 961-86-0050 200-802-5289 Administrator 6 07 RENTALS - WALKUP APARTMENTS 2B C1 4702 4 AVENUE 8 10037 New York City NY 8 2500.0 8264.0 2
37 LL0001097 1670000.0 2012-07-10 20 240 1.5300 2.928 0.02928 9201.70 89 851048.36 1806550.0 boat Fabian Nash Parrish 378-53-5029 280-292-5980 Vice President 5 07 RENTALS - WALKUP APARTMENTS 2B C1 4702 4 AVENUE 8 10016 New York City NY 8 2500.0 8264.0 2
38 LL0001110 1190000.0 2015-05-12 10 120 2.2800 3.479 0.03479 11755.72 55 543435.65 1454750.0 boat Maxwell Jorge Wakefield 326-88-9901 456-304-8819 Sales 4 38 ASYLUMS AND HOMES 4 N9 115 RALPH AVENUE 3 10153 New York City NY 1 1440.0 4400.0 4
39 LL0001113 799500.0 2015-10-07 20 240 2.0800 3.479 0.03479 4628.16 50 568092.24 936850.0 boat Regina Michaela Cervantes 705-49-2057 669-377-2700 VP, Client Sales 15 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 1826 51ST STREET 2 10040 New York City NY 1 0.0 0.0 2
40 LL0001115 3840000.0 2017-04-10 20 240 2.3661 3.762 0.03762 22790.90 32 3110691.22 3949800.0 boat Beckett Reed Loyd 594-52-7770 558-745-1032 Systems Manager 4 44 CONDO PARKING 4 RG 444 12TH STREET 13 10129 New York City NY 1 0.0 0.0 4
41 LL0001131 1200000.0 2018-10-10 20 240 3.2200 4.619 0.04619 7669.09 14 1092632.72 1402400.0 boat Isabella Ariella Jones 247-64-0158 688-039-4206 Chief Information Officer 18 07 RENTALS - WALKUP APARTMENTS 2A C2 810 MACON STREET 6 10027 New York City NY 6 2500.0 4275.0 2
42 LL0001165 1650000.0 2018-09-27 15 180 3.0600 4.358 0.04358 12502.97 15 1462455.39 1733050.0 boat Gabriel Benjamin Nagy 852-95-4541 550-921-4404 Sales Engineer 18 13 CONDOS - ELEVATOR APARTMENTS 2 R4 110 LIVINGSTON STREET 10C 10177 New York City NY 1 0.0 0.0 2
43 LL0001203 1344000.0 2018-07-02 20 240 2.8700 4.269 0.04269 8336.14 17 1202285.65 1431400.0 boat Kailey Alanna Hoover 148-48-5654 612-840-4306 None 14 07 RENTALS - WALKUP APARTMENTS 2B C1 305 JEFFERSON STREET 8 10119 New York City NY 8 2500.0 6500.0 2
44 LL0001248 1330000.0 2016-01-08 15 180 2.1300 3.429 0.03429 9461.63 47 885303.25 1522700.0 boat Isaac Oliver Grubbs 330-01-2664 367-246-5176 Principal Project Manager 15 04 TAX CLASS 1 CONDOS 1C R6 1216 47TH STREET 3 10168 New York City NY 1 0.0 0.0 1
45 LL0001319 1120000.0 2014-02-20 20 240 2.7600 4.159 0.04159 6881.18 70 638317.24 1347050.0 boat Jaxon Hunter Roberts 252-89-5024 968-978-4135 Physician/Medical Director 8 44 CONDO PARKING 4 RP 120 OCEANA DRIVE WEST 2 10153 New York City NY 1 0.0 0.0 4
46 LL0001335 3672000.0 2019-06-10 15 180 2.1500 3.446 0.03446 26153.22 6 3515080.68 3862250.0 boat Francisco River Oliver 711-10-2793 515-133-7291 Anesthetist 12 02 TWO FAMILY DWELLINGS 1 B1 298 SACKETT STREET 2 10249 New York City NY 2 1735.0 3415.0 1
47 LL0001346 1452000.0 2012-09-18 15 180 1.8200 3.119 0.03119 10110.56 87 572381.62 1645050.0 boat Jameson Ashton Simpson 143-13-0617 868-752-8567 Pilot 11 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 105 LORIMER STREET 2 10165 New York City NY 1 0.0 0.0 2
48 LL0001352 877500.0 2016-02-10 15 180 1.7100 3.009 0.03009 6063.65 46 598571.97 948550.0 boat Kylee Evangeline Lynch 174-24-5168 506-956-0578 Associate Director 13 11A CONDO-RENTALS 2 RR 150 CLERMONT AVENUE 1 10175 New York City NY 52 19659.0 52513.0 2
49 LL0001355 1860000.0 2016-06-15 20 240 1.6000 2.998 0.02998 10313.65 42 1426826.57 2104750.0 boat Josephine Delilah Wells 965-22-0215 615-884-2762 Senior Director, IT 3 04 TAX CLASS 1 CONDOS 1A R3 1262 51ST STREET 3 10038 New York City NY 1 0.0 0.0 1
50 LL0001399 3192000.0 2013-02-26 20 240 1.8800 3.277 0.03277 18148.64 82 1703811.82 3497000.0 boat Damian Maxwell Hayes 437-60-0541 673-465-2275 Founder/CEO 10 43 CONDO OFFICE BUILDINGS 4 RB 150 CLERMONT AVENUE 3 10171 New York City NY 1 0.0 0.0 4
51 LL0001434 640000.0 2016-06-13 15 180 1.6200 2.919 0.02919 4394.83 42 455417.01 884850.0 boat Montserrat Elizabeth Liu 883-30-9337 840-908-6591 RN 1 46 CONDO STORE BUILDINGS 4 RK 150 CLERMONT AVENUE 2 10106 New York City NY 1 0.0 0.0 4
52 LL0001449 1180000.0 2017-12-23 20 240 2.4800 3.879 0.03879 7075.56 24 1010186.63 1216950.0 boat Charlie Omar Shaffer 271-21-6671 455-025-7864 Supervisor 11 46 CONDO STORE BUILDINGS 4 RK 150 CLERMONT AVENUE 4 10033 New York City NY 1 0.0 0.0 4
53 LL0001457 5148000.0 2016-03-28 15 180 1.8900 3.185 0.03185 36010.98 45 3527506.07 5336700.0 boat Elijah Felix Doyle 755-73-3171 487-492-4340 Owner 17 04 TAX CLASS 1 CONDOS 1A R3 1719 OCEAN AVENUE 1 10150 New York City NY 1 0.0 0.0 1
54 LL0001458 1692000.0 2018-09-24 15 180 3.0800 4.378 0.04378 12838.44 15 1499423.43 1715200.0 boat Harlow Brittany Sherman 792-56-7549 214-528-5656 Agency administrator 16 07 RENTALS - WALKUP APARTMENTS 2A C2 536 MC DONALD AVENUE 6 10018 New York City NY 6 2400.0 4896.0 2
55 LL0001538 803000.0 2018-04-13 20 240 2.8200 4.219 0.04219 4959.19 20 703816.30 954400.0 boat Adelina Kaelyn Serrano 154-91-4163 612-496-5548 Pharmacist 15 14 RENTALS - 4-10 UNIT 2A S3 236 MALCOLM X BOULEVARD 3 10033 New York City NY 4 1700.0 4320.0 2
56 LL0001556 1200000.0 2017-09-21 15 180 2.2765 3.575 0.03575 8622.86 27 967182.90 1301600.0 boat Travis Orion Yancey 315-40-3352 241-780-6884 Sales Mgr 18 07 RENTALS - WALKUP APARTMENTS 2 C1 401 MACON STREET 16 10112 New York City NY 16 4000.0 14240.0 2
57 LL0001599 2232000.0 2017-06-15 15 180 2.1637 3.462 0.03461 15913.47 30 1754596.04 2338500.0 boat Elliot Mark Bauer 973-71-4066 466-690-5166 CEO 1 07 RENTALS - WALKUP APARTMENTS 2A C3 1049 BERGEN STREET 4 10095 New York City NY 4 1950.0 5684.0 2
58 LL0001605 1956000.0 2012-09-23 15 180 1.7700 3.068 0.03068 13571.84 87 775250.05 2148800.0 boat Bristol Melany Barton 728-85-5629 755-303-2416 Manager 6 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 307 DIVISION AVENUE 4 10018 New York City NY 1 0.0 0.0 2
59 LL0001634 3927000.0 2017-06-28 15 180 2.2279 3.524 0.03524 28119.74 30 3083407.70 4092850.0 boat Aileen Adelina Shepherd 996-29-7577 551-153-6006 Owner 11 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 543 BROOKLYN AVE 6 10119 New York City NY 1 0.0 0.0 2
60 LL0001656 1750000.0 2017-10-03 20 240 2.3229 3.721 0.03721 10349.15 26 1480922.01 1851000.0 boat Lacey Karla Conner 747-97-1117 683-062-9815 Partner 3 07 RENTALS - WALKUP APARTMENTS 2B C7 2282 EAST 7TH STREET 9 10013 New York City NY 9 3041.0 8352.0 2
61 LL0001718 1632000.0 2015-04-23 20 240 1.9600 3.358 0.03358 9346.29 56 1108607.60 1837700.0 boat Diego Josue Newton 817-83-7011 440-604-6440 General Sales Manager 3 07 RENTALS - WALKUP APARTMENTS 2A C3 1718 WEST 13TH STREET 4 10043 New York City NY 4 3000.0 3900.0 2
62 LL0000724 6270000.0 2013-04-08 15 180 1.7600 3.054 0.03054 43462.49 80 2793000.53 6572950.0 investment property Edwin Walter Gregory 300-11-8536 496-244-8464 Financial Planner 8 46 CONDO STORE BUILDINGS 4 RK 756 MYRTLE AVENUE 1 10176 New York City NY 1 0.0 0.0 4
63 LL0000064 6138000.0 2013-09-25 30 360 2.6300 4.224 0.04224 30101.92 75 3880356.26 6432450.0 investment property Damian Andres Worthington 452-66-1934 776-744-6579 executive vice prsident 12 07 RENTALS - WALKUP APARTMENTS 2 C1 323 43RD STREET 24 10156 New York City NY 24 6261.0 21000.0 2
64 LL0000818 6237000.0 2019-06-16 15 180 2.0900 3.384 0.03384 44232.78 6 5971603.31 6426950.0 commerical property Mariana Amber Ortega 724-02-8534 511-363-4736 VP Manufacturing Operations 16 07 RENTALS - WALKUP APARTMENTS 2B C1 329 LINCOLN PLACE 8 10279 New York City NY 10 3600.0 11743.0 2
65 LL0000938 6237000.0 2014-03-18 30 360 2.6800 4.274 0.04274 30769.99 69 4113870.97 6402750.0 investment property Kaylie Liana Gallegos 165-56-8997 855-831-2238 CPA/Shareholder 8 16 CONDOS - 2-10 UNIT WITH COMMERCIAL UNIT 2C R8 90 GREENE STREET 1 10022 New York City NY 1 NaN NaN 2
66 LL0000753 6270000.0 2017-02-09 30 360 2.3948 3.989 0.03989 29894.19 34 5253597.52 6382800.0 home Joseph Michael Smith 852-31-3277 289-479-3701 Managing Director 9 46 CONDO STORE BUILDINGS 4 RK 808 BROADWAY 1 10166 New York City NY 1 NaN NaN 4
67 LL0000911 6171000.0 2016-07-27 30 360 1.5200 3.114 0.03114 26398.13 41 5088676.69 6353650.0 home Mia Madison Contreras 689-31-5161 748-412-3850 nurse 3 13 CONDOS - ELEVATOR APARTMENTS 2 R4 325 W. BROADWAY 9 10104 New York City NY 1 NaN NaN 2
68 LL0000786 6072000.0 2013-07-22 30 360 2.5000 4.094 0.04094 29318.67 77 3814462.04 6309700.0 home Aaron Jack Jefferson 344-46-2408 829-171-9108 AVP Consulting Sales North America 12 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 3 EAST 95TH STREET 3 10095 New York City NY 1 NaN NaN 2
69 LL0001678 6171000.0 2015-05-21 30 360 2.1900 3.784 0.03784 28698.05 55 4592607.25 6255300.0 commerical property Aliyah Presley Meyer 407-75-3282 851-266-8749 FINANCIAL ADVISOR 10 13 CONDOS - ELEVATOR APARTMENTS 2 R4 25 MERCER STREET 5 10106 New York City NY 1 NaN NaN 2
70 LL0000467 6171000.0 2015-11-19 30 360 2.2400 3.834 0.03834 28873.80 49 4756183.90 6246200.0 home Titus Fernando Wall 962-50-7580 249-580-6538 Managing Director 7 13 CONDOS - ELEVATOR APARTMENTS 2 R4 145 WEST 11TH 5 10151 New York City NY 1 NaN NaN 2
71 LL0001260 6105000.0 2018-09-21 30 360 3.0700 4.664 0.04664 31530.87 15 5632036.89 6188350.0 commerical property Kaelyn Madilynn Olsen 287-80-4827 706-608-2739 GM / VP - Sales 8 13 CONDOS - ELEVATOR APARTMENTS 2 R4 27 MERCER STREET 6 10162 New York City NY 1 NaN NaN 2
72 LL0001210 6039000.0 2012-02-20 30 360 2.0100 3.604 0.03604 27469.61 94 3456856.83 6182600.0 commerical property Brayden Isaiah Bond 128-81-8008 341-646-0332 Airline Pilot 1 13 CONDOS - ELEVATOR APARTMENTS 2 R4 145 WEST 11 2 10150 New York City NY 1 NaN NaN 2
73 LL0000080 5940000.0 2012-09-14 30 360 1.8800 3.474 0.03474 26587.12 87 3626920.62 6133250.0 commerical property Christian Isaac Lombardo 277-63-5491 476-925-9180 Claims Consultant 7 07 RENTALS - WALKUP APARTMENTS 2 C1 427 DEAN STREET 16 10119 New York City NY 17 4808.0 16200.0 2
74 LL0000922 6039000.0 2016-05-15 15 180 1.7100 3.004 0.03004 41715.84 43 4245218.71 6105300.0 commerical property Max Cole Gibson 296-72-7133 555-917-3940 Pilot 14 13 CONDOS - ELEVATOR APARTMENTS 2 R4 18 GRAMERCY PARK SOUTH 16 10113 New York City NY 1 NaN NaN 2
75 LL0000826 5808000.0 2013-02-20 15 180 2.0200 3.314 0.03314 40991.90 82 2446663.95 5993300.0 investment property Makayla Brielle Vasquez 895-85-1281 303-662-8628 Crew Forman 18 13 CONDOS - ELEVATOR APARTMENTS 2 R4 1 MAIN STREET 16 10103 New York City NY 1 0.0 0.0 2
76 LL0000265 5907000.0 2018-10-24 30 360 3.1000 4.694 0.04694 30614.64 14 5478395.09 5988700.0 home Abby Amari Miranda 451-42-2885 579-721-6442 DIRECTOR OF FINANCE 8 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 17 EAST 12TH STREET 10 10175 New York City NY 1 NaN NaN 2
77 LL0000200 5775000.0 2016-04-06 30 360 1.7600 3.354 0.03354 25463.97 44 4654585.18 5963250.0 investment property Kai Bryson Avila 326-68-6887 326-855-9232 GM 4 13 CONDOS - ELEVATOR APARTMENTS 2 R4 145 WEST 11 3 10101 New York City NY 1 NaN NaN 2
78 LL0001206 5643000.0 2012-08-21 30 360 1.8000 3.394 0.03394 25006.88 88 3442394.89 5897450.0 commerical property Brielle Kinsley Harrison 409-62-4064 750-661-4664 Managing Director 13 04 TAX CLASS 1 CONDOS 1C R6 22 GRAMERCY PARK SOUTH 2 10170 New York City NY 1 NaN NaN 1
79 LL0000664 5808000.0 2018-10-14 30 360 3.1500 4.744 0.04744 30276.28 14 5384132.14 5890200.0 investment property Rachel Julianna Fox 309-53-2805 972-682-8589 Doctor 15 13 CONDOS - ELEVATOR APARTMENTS 2 R4 18 GRAMERCY PARK SOUTH 3 10090 New York City NY 1 NaN NaN 2
80 LL0001280 5841000.0 2018-12-09 30 360 2.8500 4.444 0.04444 29401.45 12 5488182.55 5860400.0 commerical property Walker Erik Miles 888-64-1773 920-114-3793 physician 8 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 155 EAST 79TH STREET 5 10260 New York City NY 1 NaN NaN 2
81 LL0001471 5709000.0 2012-08-10 30 360 1.6500 3.244 0.03244 24827.13 88 3524212.31 5844000.0 commerical property Dallas Messiah Weiss 284-80-4254 779-277-3780 Regional Vice President 10 43 CONDO OFFICE BUILDINGS 4 RB 305 EAST 47TH STREET 2 10060 New York City NY 1 NaN NaN 4
82 LL0001408 5709000.0 2016-02-28 30 360 1.7600 3.354 0.03354 25172.96 46 4551044.00 5839150.0 commerical property Liberty Helena Whitaker 743-84-2222 686-216-7591 Sr. Vice President - Retirement Plans 13 16 CONDOS - 2-10 UNIT WITH COMMERCIAL UNIT 2C R8 339 GREENWICH STREET 1 10128 New York City NY 1 NaN NaN 2
83 LL0000668 5544000.0 2015-08-11 30 360 2.1500 3.745 0.03744 25656.26 52 4209874.65 5804200.0 investment property Zariah Imani Drake 978-49-9635 903-987-8861 Physician 5 43 CONDO OFFICE BUILDINGS 4 RB 55 EAST 59TH STREET 12 10175 New York City NY 1 NaN NaN 4
84 LL0001333 5610000.0 2017-04-07 30 360 2.3822 3.977 0.03977 26708.66 32 4755322.75 5779950.0 investment property Leon Maximiliano Allison 553-66-8361 806-298-1964 Provider 2 13 CONDOS - ELEVATOR APARTMENTS 2 R4 944 PARK AVENUE 14 10021 New York City NY 1 NaN NaN 2
85 LL0001687 5544000.0 2019-01-20 30 360 2.7900 4.385 0.04384 27709.81 11 5239192.06 5741300.0 commerical property Easton Lincoln Whitmore 565-55-5455 889-027-5571 Physician 12 31 COMMERCIAL VACANT LAND 4 V1 189 MONTAGUE STREET 5 10163 New York City NY 1 10000.0 0.0 4
86 LL0001460 5478000.0 2012-06-26 30 360 1.6600 3.255 0.03255 23855.64 90 3330992.64 5735250.0 investment property Miguel Edward Stone 704-86-4705 930-165-1091 VP, Business and Legal Affairs 16 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 155 EAST 79TH STREET 2 10025 New York City NY 1 NaN NaN 2
87 LL0000509 5511000.0 2015-03-16 30 360 2.1000 3.695 0.03694 25347.50 57 4066192.69 5718600.0 commerical property Anthony Aiden Corey 639-59-2036 985-961-7606 Portfolio Manager 4 14 RENTALS - 4-10 UNIT 2B S9 292 ATLANTIC AVENUE 3 10003 New York City NY 8 3200.0 7500.0 2
88 LL0000249 5511000.0 2018-09-19 30 360 3.0800 4.675 0.04674 28496.07 15 5083558.94 5714450.0 investment property Dalton Cruz Vazquez 873-91-6374 418-049-9547 Owner 9 08 RENTALS - ELEVATOR APARTMENTS 2 D9 35 PINEAPPLE STREET 14 10034 New York City NY 15 2545.0 11842.0 2
89 LL0001500 5544000.0 2013-05-27 30 360 2.0100 3.605 0.03604 25218.00 79 3551777.92 5664500.0 commerical property Ryleigh Kate Cunningham 724-62-0952 248-747-2217 President 11 13 CONDOS - ELEVATOR APARTMENTS 2 R4 147 WAVERLY PLACE 9 10039 New York City NY 1 NaN NaN 2
90 LL0001445 5412000.0 2016-03-20 30 360 1.8800 3.475 0.03475 24226.84 45 4321792.39 5661100.0 investment property Donovan Pablo Edmondson 416-30-6450 284-653-6416 Vice President 14 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 17 EAST 12TH STREET 8 10176 New York City NY 1 NaN NaN 2
91 LL0001157 5412000.0 2015-05-08 30 360 2.1600 3.755 0.03755 25079.17 55 4032645.48 5616950.0 investment property Abigail Isabella Christian 166-87-2742 893-509-9313 Managing Director 11 13 CONDOS - ELEVATOR APARTMENTS 2 R4 65 WEST 13TH STREET 10B/C 10101 New York City NY 1 NaN NaN 2
92 LL0000971 5478000.0 2012-07-09 30 360 1.5300 3.125 0.03125 23466.41 89 3389489.75 5614600.0 home Erick Romeo Marlow 902-77-6815 454-237-3754 Branch Owner 2 43 CONDO OFFICE BUILDINGS 4 RB 29 EAST 10TH STREET 7 10176 New York City NY 1 NaN NaN 4
93 LL0000472 5478000.0 2017-02-01 30 360 2.4699 4.064 0.04064 26355.33 35 4555563.32 5591200.0 home Leonardo Elias Patterson 100-48-3476 780-416-6544 President 8 13 CONDOS - ELEVATOR APARTMENTS 2 R4 21 EAST 66TH STREET 11 10055 New York City NY 1 NaN NaN 2
94 LL0000532 5445000.0 2012-10-14 30 360 1.6900 3.285 0.03285 23801.70 86 3398053.42 5576750.0 investment property Gabrielle Sienna Berry 382-40-8949 295-670-6155 General Manager 7 13 CONDOS - ELEVATOR APARTMENTS 2 R4 515 PARK AVENUE 18 10159 New York City NY 1 NaN NaN 2
95 LL0001108 5412000.0 2016-05-25 30 360 1.8700 3.465 0.03465 24196.69 43 4371542.51 5537800.0 commerical property Mabel Lillie Cameron 927-32-5555 633-243-5889 President 18 13 CONDOS - ELEVATOR APARTMENTS 2 R4 170 EAST END AVENUE 10C/D 10038 New York City NY 1 NaN NaN 2
96 LL0000459 5346000.0 2012-11-03 15 180 1.7500 3.045 0.03045 37034.31 85 2198084.02 5536750.0 investment property Weston Micah Wetzel 419-18-2105 543-379-8399 Wholesale Loan Ops Manager/SVP 2 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 12 EAST 13TH STREET 5 10158 New York City NY 1 NaN NaN 2
97 LL0000284 5445000.0 2018-09-13 30 360 2.9700 4.565 0.04565 27799.71 15 5028004.39 5528750.0 investment property Matteo Kaden Mueller 843-89-8451 419-367-5651 Vice President 3 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 17 EAST 12TH STREET 7 10022 New York City NY 1 NaN NaN 2
98 LL0001642 5214000.0 2013-07-25 30 360 2.6100 4.205 0.04205 25512.57 77 3249531.82 5511550.0 commerical property Elliana Raelyn Santiago 954-33-5929 851-503-2301 CEO 6 15 CONDOS - 2-10 UNIT RESIDENTIAL 2C R1 17 EAST 12TH STREET 6 10261 New York City NY 1 NaN NaN 2
99 LL0001191 5478000.0 2019-09-11 30 360 1.7500 3.345 0.03345 24127.15 3 5405618.54 5483600.0 commerical property Skyla Carter Wall 312-15-1961 966-193-9111 Vice president 10 13 CONDOS - ELEVATOR APARTMENTS 2 R4 235 WEST 71ST STREET 7 10178 New York City NY 1 NaN NaN 2

completedacct (first 100 rows)

account_id district_id frequency parseddate year_ month_ day_ date_
0 A00000576 55 Monthly Issuance 2013-01-01 2013 1 1 2013-01-01
1 A00003818 74 Monthly Issuance 2013-01-01 2013 1 1 2013-01-01
2 A00000704 55 Monthly Issuance 2013-01-01 2013 1 1 2013-01-01
3 A00000793 47 Monthly Issuance 2013-01-03 2013 1 3 2013-01-03
4 A00002484 74 Monthly Issuance 2013-01-03 2013 1 3 2013-01-03
5 A00001695 76 Monthly Issuance 2013-01-03 2013 1 3 2013-01-03
6 A00001726 48 Monthly Issuance 2013-01-03 2013 1 3 2013-01-03
7 A00002881 70 Monthly Issuance 2013-01-04 2013 1 4 2013-01-04
8 A00002357 19 Monthly Issuance 2013-01-04 2013 1 4 2013-01-04
9 A00002177 62 Monthly Issuance 2013-01-04 2013 1 4 2013-01-04
10 A00000485 6 Issuance After Transaction 2013-01-04 2013 1 4 2013-01-04
11 A00002378 16 Monthly Issuance 2013-01-01 2013 1 1 2013-01-01
12 A00002632 24 Monthly Issuance 2013-01-02 2013 1 2 2013-01-02
13 A00001972 77 Monthly Issuance 2013-01-02 2013 1 2 2013-01-02
14 A00001539 1 Issuance After Transaction 2013-01-03 2013 1 3 2013-01-03
15 A00000652 21 Monthly Issuance 2013-01-05 2013 1 5 2013-01-05
16 A00009635 70 Monthly Issuance 2013-01-05 2013 1 5 2013-01-05
17 A00001844 44 Monthly Issuance 2013-01-06 2013 1 6 2013-01-06
18 A00001926 37 Monthly Issuance 2013-01-06 2013 1 6 2013-01-06
19 A00002393 10 Monthly Issuance 2013-01-07 2013 1 7 2013-01-07
20 A00003510 41 Monthly Issuance 2013-01-07 2013 1 7 2013-01-07
21 A00001276 36 Monthly Issuance 2013-01-07 2013 1 7 2013-01-07
22 A00001637 1 Monthly Issuance 2013-01-08 2013 1 8 2013-01-08
23 A00003871 26 Monthly Issuance 2013-01-08 2013 1 8 2013-01-08
24 A00000192 55 Monthly Issuance 2013-01-08 2013 1 8 2013-01-08
25 A00000764 1 Monthly Issuance 2013-01-08 2013 1 8 2013-01-08
26 A00002087 7 Weekly Issuance 2013-01-08 2013 1 8 2013-01-08
27 A00002122 68 Monthly Issuance 2013-01-08 2013 1 8 2013-01-08
28 A00003592 54 Monthly Issuance 2013-01-08 2013 1 8 2013-01-08
29 A00003487 41 Monthly Issuance 2013-01-08 2013 1 8 2013-01-08
30 A00000435 38 Monthly Issuance 2013-01-08 2013 1 8 2013-01-08
31 A00001730 1 Monthly Issuance 2013-01-09 2013 1 9 2013-01-09
32 A00001493 41 Monthly Issuance 2013-01-09 2013 1 9 2013-01-09
33 A00000374 38 Monthly Issuance 2013-01-09 2013 1 9 2013-01-09
34 A00002925 1 Monthly Issuance 2013-01-10 2013 1 10 2013-01-10
35 A00000866 9 Monthly Issuance 2013-01-10 2013 1 10 2013-01-10
36 A00001628 60 Monthly Issuance 2013-01-10 2013 1 10 2013-01-10
37 A00002379 44 Monthly Issuance 2013-01-10 2013 1 10 2013-01-10
38 A00001979 26 Monthly Issuance 2013-01-11 2013 1 11 2013-01-11
39 A00000346 37 Monthly Issuance 2013-01-11 2013 1 11 2013-01-11
40 A00001338 74 Monthly Issuance 2013-01-11 2013 1 11 2013-01-11
41 A00001909 14 Monthly Issuance 2013-01-12 2013 1 12 2013-01-12
42 A00002099 3 Weekly Issuance 2013-01-12 2013 1 12 2013-01-12
43 A00003760 44 Monthly Issuance 2013-01-13 2013 1 13 2013-01-13
44 A00005270 44 Monthly Issuance 2013-01-13 2013 1 13 2013-01-13
45 A00001699 53 Monthly Issuance 2013-01-14 2013 1 14 2013-01-14
46 A00003909 1 Monthly Issuance 2013-01-14 2013 1 14 2013-01-14
47 A00002926 50 Monthly Issuance 2013-01-14 2013 1 14 2013-01-14
48 A00001731 33 Monthly Issuance 2013-01-14 2013 1 14 2013-01-14
49 A00011265 15 Monthly Issuance 2013-01-14 2013 1 14 2013-01-14
50 A00002519 4 Monthly Issuance 2013-01-15 2013 1 15 2013-01-15
51 A00010364 55 Monthly Issuance 2013-01-17 2013 1 17 2013-01-17
52 A00001481 15 Monthly Issuance 2013-01-17 2013 1 17 2013-01-17
53 A00000401 32 Monthly Issuance 2013-01-18 2013 1 18 2013-01-18
54 A00004034 1 Monthly Issuance 2013-01-18 2013 1 18 2013-01-18
55 A00002330 54 Monthly Issuance 2013-01-19 2013 1 19 2013-01-19
56 A00001806 40 Monthly Issuance 2013-01-19 2013 1 19 2013-01-19
57 A00003834 54 Monthly Issuance 2013-01-19 2013 1 19 2013-01-19
58 A00001222 66 Monthly Issuance 2013-01-20 2013 1 20 2013-01-20
59 A00000212 27 Weekly Issuance 2013-01-20 2013 1 20 2013-01-20
60 A00000456 49 Monthly Issuance 2013-01-21 2013 1 21 2013-01-21
61 A00000459 47 Monthly Issuance 2013-01-21 2013 1 21 2013-01-21
62 A00000772 45 Monthly Issuance 2013-01-21 2013 1 21 2013-01-21
63 A00001019 52 Monthly Issuance 2013-01-21 2013 1 21 2013-01-21
64 A00011295 74 Monthly Issuance 2013-01-21 2013 1 21 2013-01-21
65 A00002970 60 Monthly Issuance 2013-01-22 2013 1 22 2013-01-22
66 A00002676 73 Monthly Issuance 2013-01-22 2013 1 22 2013-01-22
67 A00001536 41 Weekly Issuance 2013-01-22 2013 1 22 2013-01-22
68 A00001179 74 Monthly Issuance 2013-01-23 2013 1 23 2013-01-23
69 A00000280 25 Monthly Issuance 2013-01-23 2013 1 23 2013-01-23
70 A00002425 41 Monthly Issuance 2013-01-23 2013 1 23 2013-01-23
71 A00009307 68 Monthly Issuance 2013-01-24 2013 1 24 2013-01-24
72 A00004055 23 Monthly Issuance 2013-01-24 2013 1 24 2013-01-24
73 A00005065 66 Monthly Issuance 2013-01-24 2013 1 24 2013-01-24
74 A00003704 75 Monthly Issuance 2013-01-24 2013 1 24 2013-01-24
75 A00000477 1 Monthly Issuance 2013-01-25 2013 1 25 2013-01-25
76 A00005891 54 Monthly Issuance 2013-01-25 2013 1 25 2013-01-25
77 A00001000 77 Monthly Issuance 2013-01-25 2013 1 25 2013-01-25
78 A00001750 1 Monthly Issuance 2013-01-26 2013 1 26 2013-01-26
79 A00002023 68 Monthly Issuance 2013-01-26 2013 1 26 2013-01-26
80 A00006473 12 Monthly Issuance 2013-01-26 2013 1 26 2013-01-26
81 A00001649 46 Monthly Issuance 2013-01-26 2013 1 26 2013-01-26
82 A00002670 13 Monthly Issuance 2013-01-27 2013 1 27 2013-01-27
83 A00001127 27 Monthly Issuance 2013-01-27 2013 1 27 2013-01-27
84 A00000163 30 Monthly Issuance 2013-01-27 2013 1 27 2013-01-27
85 A00002566 48 Monthly Issuance 2013-01-27 2013 1 27 2013-01-27
86 A00000009 70 Monthly Issuance 2013-01-27 2013 1 27 2013-01-27
87 A00001144 59 Monthly Issuance 2013-01-28 2013 1 28 2013-01-28
88 A00002902 32 Monthly Issuance 2013-01-28 2013 1 28 2013-01-28
89 A00004296 63 Monthly Issuance 2013-01-28 2013 1 28 2013-01-28
90 A00000443 64 Monthly Issuance 2013-01-28 2013 1 28 2013-01-28
91 A00003693 61 Monthly Issuance 2013-01-29 2013 1 29 2013-01-29
92 A00002070 72 Monthly Issuance 2013-01-29 2013 1 29 2013-01-29
93 A00001843 12 Monthly Issuance 2013-01-30 2013 1 30 2013-01-30
94 A00002714 1 Monthly Issuance 2013-01-30 2013 1 30 2013-01-30
95 A00004078 40 Monthly Issuance 2013-01-30 2013 1 30 2013-01-30
96 A00001675 36 Monthly Issuance 2013-02-01 2013 2 1 2013-02-01
97 A00005868 44 Monthly Issuance 2013-02-02 2013 2 2 2013-02-02
98 A00001805 1 Monthly Issuance 2013-02-02 2013 2 2 2013-02-02
99 A00002434 17 Monthly Issuance 2013-02-02 2013 2 2 2013-02-02

completedcard (first 100 rows)

card_id disp_id type year_ month_ day_ date_ fulldate
0 V00001005 D00009285 VISA Signature 2013 11 7 2013-11-07 2013-11-07
1 V00000104 D00000588 VISA Signature 2014 1 19 2014-01-19 2014-01-19
2 V00000747 D00004915 VISA Signature 2014 2 5 2014-02-05 2014-02-05
3 V00000070 D00000439 VISA Signature 2014 2 8 2014-02-08 2014-02-08
4 V00000577 D00003687 VISA Signature 2014 2 15 2014-02-15 2014-02-15
5 V00000377 D00002429 VISA Signature 2014 3 3 2014-03-03 2014-03-03
6 V00000721 D00004680 VISA Standard 2014 4 5 2014-04-05 2014-04-05
7 V00000437 D00002762 VISA Signature 2014 6 1 2014-06-01 2014-06-01
8 V00000188 D00001146 VISA Signature 2014 6 19 2014-06-19 2014-06-19
9 V00000013 D00000087 VISA Signature 2014 6 29 2014-06-29 2014-06-29
10 V00000732 D00004763 VISA Signature 2014 7 21 2014-07-21 2014-07-21
11 V00000181 D00001066 VISA Signature 2014 8 19 2014-08-19 2014-08-19
12 V00000384 D00002475 VISA Standard 2014 9 15 2014-09-15 2014-09-15
13 V00000309 D00001946 VISA Signature 2014 9 19 2014-09-19 2014-09-19
14 V00000478 D00003084 VISA Signature 2014 10 9 2014-10-09 2014-10-09
15 V00000563 D00003589 VISA Signature 2014 10 21 2014-10-21 2014-10-21
16 V00000369 D00002363 VISA Signature 2014 11 8 2014-11-08 2014-11-08
17 V00000376 D00002428 VISA Signature 2014 11 10 2014-11-10 2014-11-10
18 V00000483 D00003115 VISA Signature 2014 11 24 2014-11-24 2014-11-24
19 V00000174 D00001039 VISA Standard 2014 12 4 2014-12-04 2014-12-04
20 V00000658 D00004251 VISA Signature 2014 12 25 2014-12-25 2014-12-25
21 V00000763 D00005138 VISA Standard 2014 12 30 2014-12-30 2014-12-30
22 V00000778 D00005275 VISA Signature 2015 1 2 2015-01-02 2015-01-02
23 V00001039 D00009837 VISA Signature 2015 1 7 2015-01-07 2015-01-07
24 V00000477 D00003082 VISA Standard 2015 1 16 2015-01-16 2015-01-16
25 V00000168 D00001018 VISA Signature 2015 1 24 2015-01-24 2015-01-24
26 V00000314 D00001999 VISA Standard 2015 1 27 2015-01-27 2015-01-27
27 V00000468 D00003023 VISA Signature 2015 1 30 2015-01-30 2015-01-30
28 V00000208 D00001246 VISA Infinite 2015 2 8 2015-02-08 2015-02-08
29 V00000766 D00005200 VISA Signature 2015 2 11 2015-02-11 2015-02-11
30 V00000464 D00002984 VISA Signature 2015 2 21 2015-02-21 2015-02-21
31 V00000497 D00003184 VISA Signature 2015 3 3 2015-03-03 2015-03-03
32 V00000166 D00000999 VISA Signature 2015 3 5 2015-03-05 2015-03-05
33 V00000015 D00000114 VISA Signature 2015 3 5 2015-03-05 2015-03-05
34 V00000503 D00003225 VISA Signature 2015 3 8 2015-03-08 2015-03-08
35 V00001038 D00009787 VISA Standard 2015 3 30 2015-03-30 2015-03-30
36 V00000737 D00004791 VISA Signature 2015 4 13 2015-04-13 2015-04-13
37 V00000418 D00002623 VISA Signature 2015 4 14 2015-04-14 2015-04-14
38 V00000759 D00005117 VISA Standard 2015 4 18 2015-04-18 2015-04-18
39 V00000223 D00001353 VISA Signature 2015 4 18 2015-04-18 2015-04-18
40 V00000005 D00000051 VISA Standard 2015 4 24 2015-04-24 2015-04-24
41 V00000159 D00000946 VISA Signature 2015 5 1 2015-05-01 2015-05-01
42 V00001223 D00013231 VISA Standard 2015 5 2 2015-05-02 2015-05-02
43 V00000662 D00004293 VISA Signature 2015 5 9 2015-05-09 2015-05-09
44 V00000779 D00005323 VISA Standard 2015 5 21 2015-05-21 2015-05-21
45 V00001040 D00009890 VISA Standard 2015 5 28 2015-05-28 2015-05-28
46 V00000545 D00003458 VISA Signature 2015 5 30 2015-05-30 2015-05-30
47 V00000467 D00003019 VISA Signature 2015 6 5 2015-06-05 2015-06-05
48 V00001247 D00013660 VISA Signature 2015 6 13 2015-06-13 2015-06-13
49 V00000652 D00004211 VISA Signature 2015 6 16 2015-06-16 2015-06-16
50 V00000559 D00003573 VISA Signature 2015 6 17 2015-06-17 2015-06-17
51 V00000719 D00004663 VISA Signature 2015 6 24 2015-06-24 2015-06-24
52 V00000397 D00002513 VISA Signature 2015 6 24 2015-06-24 2015-06-24
53 V00000107 D00000593 VISA Signature 2015 6 27 2015-06-27 2015-06-27
54 V00000661 D00004270 VISA Signature 2015 7 3 2015-07-03 2015-07-03
55 V00000484 D00003116 VISA Signature 2015 7 4 2015-07-04 2015-07-04
56 V00000501 D00003197 VISA Signature 2015 7 9 2015-07-09 2015-07-09
57 V00000422 D00002650 VISA Standard 2015 7 11 2015-07-11 2015-07-11
58 V00000705 D00004555 VISA Signature 2015 7 12 2015-07-12 2015-07-12
59 V00000410 D00002569 VISA Signature 2015 7 20 2015-07-20 2015-07-20
60 V00000136 D00000778 VISA Signature 2015 7 28 2015-07-28 2015-07-28
61 V00000592 D00003782 VISA Standard 2015 8 7 2015-08-07 2015-08-07
62 V00000262 D00001647 VISA Standard 2015 8 24 2015-08-24 2015-08-24
63 V00000018 D00000128 VISA Signature 2015 8 25 2015-08-25 2015-08-25
64 V00000003 D00000041 VISA Infinite 2015 9 3 2015-09-03 2015-09-03
65 V00000098 D00000537 VISA Signature 2015 9 6 2015-09-06 2015-09-06
66 V00000167 D00001011 VISA Signature 2015 9 15 2015-09-15 2015-09-15
67 V00000097 D00000531 VISA Standard 2015 9 19 2015-09-19 2015-09-19
68 V00000699 D00004532 VISA Signature 2015 9 26 2015-09-26 2015-09-26
69 V00000342 D00002157 VISA Signature 2015 9 27 2015-09-27 2015-09-27
70 V00000713 D00004627 VISA Signature 2015 9 30 2015-09-30 2015-09-30
71 V00000118 D00000652 VISA Signature 2015 10 22 2015-10-22 2015-10-22
72 V00000783 D00005433 VISA Standard 2015 10 24 2015-10-24 2015-10-24
73 V00001103 D00011189 VISA Signature 2015 11 4 2015-11-04 2015-11-04
74 V00000504 D00003230 VISA Standard 2015 11 6 2015-11-06 2015-11-06
75 V00000261 D00001629 VISA Infinite 2015 11 9 2015-11-09 2015-11-09
76 V00000296 D00001876 VISA Infinite 2015 11 13 2015-11-13 2015-11-13
77 V00000113 D00000629 VISA Standard 2015 11 16 2015-11-16 2015-11-16
78 V00000092 D00000508 VISA Signature 2015 11 20 2015-11-20 2015-11-20
79 V00001225 D00013268 VISA Signature 2015 11 22 2015-11-22 2015-11-22
80 V00000393 D00002498 VISA Standard 2015 12 3 2015-12-03 2015-12-03
81 V00000695 D00004507 VISA Signature 2015 12 15 2015-12-15 2015-12-15
82 V00000666 D00004328 VISA Standard 2015 12 25 2015-12-25 2015-12-25
83 V00000462 D00002978 VISA Signature 2015 12 30 2015-12-30 2015-12-30
84 V00000085 D00000489 VISA Signature 2015 12 31 2015-12-31 2015-12-31
85 V00000337 D00002141 VISA Signature 2016 1 1 2016-01-01 2016-01-01
86 V00000771 D00005233 VISA Signature 2016 1 8 2016-01-08 2016-01-08
87 V00000379 D00002431 VISA Signature 2016 1 12 2016-01-12 2016-01-12
88 V00000106 D00000592 VISA Signature 2016 1 14 2016-01-14 2016-01-14
89 V00000606 D00003883 VISA Signature 2016 1 22 2016-01-22 2016-01-22
90 V00000427 D00002688 VISA Infinite 2016 1 25 2016-01-25 2016-01-25
91 V00000202 D00001228 VISA Signature 2016 2 4 2016-02-04 2016-02-04
92 V00000814 D00005911 VISA Signature 2016 2 15 2016-02-15 2016-02-15
93 V00001064 D00010328 VISA Signature 2016 2 17 2016-02-17 2016-02-17
94 V00000014 D00000112 VISA Signature 2016 2 17 2016-02-17 2016-02-17
95 V00000423 D00002657 VISA Signature 2016 2 19 2016-02-19 2016-02-19
96 V00000989 D00009119 VISA Signature 2016 2 21 2016-02-21 2016-02-21
97 V00000364 D00002329 VISA Signature 2016 2 29 2016-02-29 2016-02-29
98 V00000267 D00001691 VISA Standard 2016 3 9 2016-03-09 2016-03-09
99 V00000621 D00003970 VISA Standard 2016 3 19 2016-03-19 2016-03-19

completedclient (first 100 rows)

client_id sex fulldate day_ month_ year_ date_ age social first_ middle last_ phone email address_1 address_2 city state zipcode district_id
0 C00000001 Female 1990-12-13 13 12 1990 1990-12-13 29 926-93-2157 Emma Avaya Smith 367-171-6840 emma.smith@gmail.com 387 Wellington Ave. Unit 1 Albuquerque NM 47246 18
1 C00000002 Male 1965-02-04 4 2 1965 1965-02-04 54 806-94-5725 Noah Everest Thompson 212-423-7734 noah.thompson@gmail.com 75 W. Berkshire St. None New York City NY 10040 1
2 C00000003 Female 1960-10-09 9 10 1960 1960-10-09 59 614-70-9100 Olivia Brooklynne Johnson 212-425-6932 olivia.johnson@outlook.com 36 Second St. None New York City NY 10162 1
3 C00000004 Male 1976-12-01 1 12 1976 1976-12-01 43 580-20-3414 Liam Irvin White 951-567-8925 liam.white@gmail.com 7607 Sunnyslope Street None Indianapolis IN 49047 5
4 C00000005 Female 1980-07-03 3 7 1980 1980-07-03 39 536-14-5809 Sophia Danae Williams 428-265-1568 sophia.williams@gmail.com 755 Galvin Street None Indianapolis IN 40852 5
5 C00000006 Male 1939-09-22 22 9 1939 1939-09-22 80 430-17-5825 Mason Javen Lopez 813-629-5038 mason.lopez7@gmail.com 8266 Arnold Drive Unit 6 Portland OR 44987 12
6 C00000007 Male 1949-01-25 25 1 1949 1949-01-25 71 305-80-4254 Jacob Khai Lee 836-845-8120 jacob.lee7@gmail.com 827 N. Green Lake Court None Louisville KY 44359 15
7 C00000008 Female 1958-02-21 21 2 1958 1958-02-21 61 425-96-6358 Ava Eliora Brown 413-444-9280 ava.brown8@gmail.com 817 Joy Ridge Dr. None Springfield MA 1101 51
8 C00000009 Male 1955-10-16 16 10 1955 1955-10-16 64 832-31-7252 William Marek Gonzalez 781-995-6192 william.marek.gonzalez@gmail.com 68 Carriage Road None Lynn MA 1901 60
9 C00000010 Male 1963-05-01 1 5 1963 1963-05-01 56 295-22-6122 Ethan Veer Harris 508-902-5510 ethan.harris9@gmail.com 754 Grandrose St. None New Bedford MA 2740 57
10 C00000011 Female 1970-08-22 22 8 1970 1970-08-22 49 666-36-2990 Isabella Haidyn Jones 508-688-6461 isabella.jones@hotmail.com 873 Randall Mill Dr. None New Bedford MA 2741 57
11 C00000012 Male 2001-02-20 20 2 2001 2001-02-20 18 771-44-3992 James Amauri Clark 431-869-3807 james.clark9@gmail.com 275 Fairground Drive None Fargo ND 42009 40
12 C00000013 Female 1994-05-29 29 5 1994 1994-05-29 25 618-33-8801 Mia Hawa Miller 840-168-6970 mia.miller@gmail.com 7429 Linden Drive None Houston TX 47052 54
13 C00000014 Female 1962-06-22 22 6 1962 1962-06-22 57 806-78-2944 Abigail Inaaya Davis 914-018-0811 abigail.davis5@gmail.com 708 Oak Valley St. None Yonkers NY 10701 76
14 C00000015 Female 1938-08-28 28 8 1938 1938-08-28 81 711-78-2371 Emily Joann Garcia 556-415-7930 emily.garcia43@outlook.com 30 Brown St. None Omaha NE 49180 21
15 C00000016 Male 1939-02-25 25 2 1939 1939-02-25 80 923-11-6562 Alexander Bronx Lewis 760-882-7015 alexander.lewis3@gmail.com 734 Bay Meadows Street Unit 80 Omaha NE 41275 21
16 C00000017 Male 1954-10-13 13 10 1954 1954-10-13 65 800-28-6783 Michael Clifton Robinson 914-238-1020 michael.robinson2@gmail.com 907 Green Lake Court None Yonkers NY 10702 76
17 C00000018 Female 1951-04-05 5 4 1951 1951-04-05 68 392-61-8907 Charlotte Joi Rodriguez 914-823-6406 charlotte.rodriguez2@gmail.com 7463 Griffin St. None Yonkers NY 10703 76
18 C00000019 Male 1962-12-28 28 12 1962 1962-12-28 57 832-01-3704 Benjamin Denis Walker 927-296-6436 benjamin.walker@gmail.com 8095 Devon Court None Charleston WV 48126 47
19 C00000020 Male 1999-01-04 4 1 1999 1999-01-04 21 419-19-0547 Elijah Grayden Perez 886-176-3524 elijah.perez@gmail.com 597 Foster Street None San Diego CA 48787 46
20 C00000021 Female 1972-10-29 29 10 1972 1972-10-29 47 139-70-2852 Harper Juno Wilson 894-384-1832 harper.wilson@outlook.com 6 Devon Court None Portland OR 45780 12
21 C00000022 Female 1989-10-11 11 10 1989 1989-10-11 30 157-87-6583 Madison Kimberlyn Martinez 212-093-8170 madison.martinez@gmail.com 7062 Temple Court Unit 1B New York City NY 10282 1
22 C00000023 Male 1993-05-29 29 5 1993 1993-05-29 26 158-18-4299 Daniel Isa Hall 212-803-8384 daniel.hall67@gmail.com 30 West Westport Dr. None New York City NY 10009 1
23 C00000024 Female 1959-07-29 29 7 1959 1959-07-29 60 637-42-2042 Amelia Leora Anderson 302-681-4855 amelia.anderson8@gmail.com 44 Walt Whitman St. None Wilmington DE 45260 43
24 C00000025 Female 1959-04-23 23 4 1959 1959-04-23 60 349-52-4604 Elizabeth Lupita Taylor 184-276-9486 elizabeth.taylor@gmail.com 92 Fairway Drive None Omaha NE 42325 21
25 C00000026 Female 1989-04-20 20 4 1989 1989-04-20 30 956-04-7186 Sofia Makaila Thomas 660-390-7055 sofia.thomas@gmail.com 17 East Glenridge Road Apt. 3D Chicago IL 46300 74
26 C00000027 Female 1986-03-26 26 3 1986 1986-03-26 33 691-10-5744 Evelyn Mari Hernandez 407-745-6584 evelyn.mari.hernandez8@gmail.com 88 Second Dr. None Houston TX 47795 54
27 C00000028 Male 1965-09-29 29 9 1965 1965-09-29 54 517-85-8773 Aiden Jamil Young 212-751-6276 aiden.young9@gmail.com 125 North Holly Dr. None New York City NY 10158 1
28 C00000029 Female 1971-09-11 11 9 1971 1971-09-11 48 518-96-1042 Avery Mildred Moore 996-691-7268 avery.moore@hotmail.com 327 Golf St. None Boise ID 48851 30
29 C00000030 Female 1977-10-09 9 10 1977 1977-10-09 42 610-21-2152 Chloe Odette Martin 255-965-5392 chloe.martin8765@gmail.com 8 Pacific Lane None Chicago IL 42552 74
30 C00000031 Male 1982-02-09 9 2 1982 1982-02-09 37 318-55-4386 Logan Judd Allen 452-935-2140 logan.allen4@gmail.com 9953 Coffee Court None Cranston RI 46720 68
31 C00000032 Male 2000-07-28 28 7 2000 2000-07-28 19 755-20-3365 Matthew Keyon Sanchez 214-728-5200 matthew.sanchez3@gmail.com 8163 Sutor Court None New Haven CT 45291 52
32 C00000033 Female 1968-12-04 4 12 1968 1968-12-04 51 956-56-8470 Ella Triniti Jackson 769-780-3102 ella.jackson4@outlook.com 940 Vale Lane None New Britain CT 46386 73
33 C00000036 Female 1998-07-17 17 7 1998 1998-07-17 21 611-81-5222 Grace Emma Thompson 530-856-5348 grace.thompson56@gmail.com 9675 Tanglewood Drive None Denver CO 41755 7
34 C00000037 Male 1990-08-10 10 8 1990 1990-08-10 29 288-95-5033 Lucas Korben Wright 854-055-8899 lucas.wright5@gmail.com 50 Elmwood Street None Denver CO 48628 7
35 C00000038 Female 1993-07-23 23 7 1993 1993-07-23 26 881-47-7103 Victoria Olivia White 976-965-9681 victoria.white43@gmail.com 329 Jockey Hollow Court None Providence RI 48105 36
36 C00000039 Male 1988-01-25 25 1 1988 1988-01-25 32 426-18-0606 Jackson Rishaan King 918-846-9875 jackson.king@gmail.com 21 Middle River Drive None Cranston RI 43461 68
37 C00000040 Female 1977-01-22 22 1 1977 1977-01-22 43 461-50-3823 Aubrey Sophia Lopez 776-464-1839 aubrey.lopez@gmail.com 943 N. Birch Hill Avenue None Indianapolis IN 42125 5
38 C00000041 Male 1988-08-27 27 8 1988 1988-08-27 31 779-39-2212 David Yousif Scott 232-353-1692 david.scott@outlook.com 8572 Mill Pond Rd. None Virginia Beach VA 45895 22
39 C00000042 Male 1955-08-17 17 8 1955 1955-08-17 64 472-48-0888 Oliver Bailey Green 334-407-0626 oliver.green@gmail.com 50 Smith Store Ave. None Cranston RI 45795 68
40 C00000043 Male 1940-10-28 28 10 1940 1940-10-28 79 445-32-4546 Jayden Cedar Baker 585-209-6726 jayden.baker4@gmail.com 38 Prairie Street Unit 81 Rochester NY 14602 75
41 C00000044 Female 1997-01-11 11 1 1997 1997-01-11 23 396-63-1548 Scarlett Ann Lee 184-418-5826 scarlett.lee@gmail.com 9461 Rockledge Street None Bridgeport CT 44504 38
42 C00000045 Male 1972-08-26 26 8 1972 1972-08-26 47 665-55-8941 Joseph Ely Adams 786-924-4329 joseph.adams@gmail.com 421 Vermont Drive None Kansas City MO 42666 20
43 C00000046 Female 1960-01-30 30 1 1960 1960-01-30 60 883-63-2770 Zoey Emma Gonzalez 129-567-0397 zoey.gonzalez@gmail.com 9437 Greystone Drive None Atlanta GA 42729 19
44 C00000047 Male 1954-07-14 14 7 1954 1954-07-14 65 247-03-1392 Gabriel Jahlil Nelson 914-406-1227 gabriel.jahlil.nelson@gmail.com 8953 Jones Street None Yonkers NY 10704 76
45 C00000048 Male 1960-02-09 9 2 1960 1960-02-09 59 392-60-6346 Samuel Koby Hill 627-964-4534 samuel.hill@gmail.com 14 Hanover Ave. Unit 1B Baltimore MD 41466 16
46 C00000049 Female 1979-05-11 11 5 1979 1979-05-11 40 918-27-5875 Addison Olivia Harris 492-103-4485 addison.harris@hotmail.com 7715 Prince Dr. None Philadelphia PA 43443 72
47 C00000050 Female 1998-07-30 30 7 1998 1998-07-30 21 874-41-6125 Lily Sophia Clark 874-304-7236 lily.clark@gmail.com 44 Fordham Ave. None Charleston SC 48339 39
48 C00000051 Female 1999-12-02 2 12 1999 1999-12-02 20 605-79-6843 Lillian Ava Lewis 193-754-1578 lillian.lewis@gmail.com 948 Annadale St. None Providence RI 48078 36
49 C00000052 Male 1944-12-12 12 12 1944 1944-12-12 75 599-20-6019 Carter Markel Ramirez 594-267-8218 carter.ramirez@gmail.com 89 Henry Smith St. None Birmingham AL 45430 32
50 C00000053 Male 1997-05-05 5 5 1997 1997-05-05 22 749-94-5094 Anthony Oskar Campbell 123-412-3909 anthony.campbell@outlook.com 8661 Dogwood Lane None Phoenix AZ 40915 64
51 C00000055 Female 1968-09-18 18 9 1968 1968-09-18 51 167-61-1121 Natalie Isabella Robinson 352-888-5607 natalie.robinson@gmail.com 114 Spring Street None Cheyenne WY 44611 45
52 C00000056 Male 1980-03-31 31 3 1980 1980-03-31 39 986-31-0393 John Rigoberto Mitchell 943-306-4745 john.mitchell@gmail.com 174 Halifax Ave. None Omaha NE 40089 21
53 C00000057 Female 1981-12-17 17 12 1981 1981-12-17 38 767-26-4726 Hannah Mia Walker 410-131-4320 hannah.walker@gmail.com 62 South Manor Station Drive None Omaha NE 40846 21
54 C00000058 Female 1947-04-29 29 4 1947 1947-04-29 72 810-95-8590 Aria Abigail Perez 212-621-0332 aria.perez@gmail.com 9122 South Fieldstone Dr. None New York City NY 10116 1
55 C00000059 Male 1977-02-18 18 2 1977 1977-02-18 42 305-32-3513 Dylan Tiberius Roberts 212-616-4139 dylan.roberts@gmail.com 188 1st Road None New York City NY 10199 1
56 C00000060 Male 2000-02-19 19 2 2000 2000-02-19 19 534-35-1562 Luke Wolfgang Carter 694-391-2679 luke.carter@outlook.com 8604 Miller Rd. None Danbury CT 42452 67
57 C00000061 Female 1968-08-06 6 8 1968 1968-08-06 51 890-87-8722 Layla Emily Hall 452-815-2646 layla.hall@gmail.com 8673 Wakehurst Court None Baltimore MD 47090 16
58 C00000062 Male 1952-12-08 8 12 1952 1952-12-08 67 721-99-5393 Henry Chayce Phillips 315-775-0721 henry.phillips@gmail.com 279 Mechanic Lane None Syracuse NY 13201 77
59 C00000063 Male 1979-06-04 4 6 1979 1979-06-04 40 486-07-3316 Andrew Deven Evans 853-813-3217 andrew.evans@gmail.com 9 Iroquois St. None Charlotte NC 46324 4
60 C00000064 Male 1946-04-22 22 4 1946 1946-04-22 73 538-17-0630 Isaac Levon Turner 750-089-7210 isaac.turner@gmail.com 9314 Lees Creek Rd. None Kansas City MO 40005 20
61 C00000065 Female 1963-05-27 27 5 1963 1963-05-27 56 380-98-0077 Brooklyn Charlotte Young 716-102-4229 brooklyn.young@gmail.com 682 Linden Dr. None Buffalo NY 14267 50
62 C00000066 Female 1971-11-10 10 11 1971 1971-11-10 48 269-51-2282 Alexa Harper Allen 212-875-6847 alexa.harper.allen@gmail.com 18 Rockville Dr. None New York City NY 10087 1
63 C00000067 Female 1952-11-11 11 11 1952 1952-11-11 67 400-72-8738 Zoe Madison Sanchez 254-359-7450 zoe.sanchez@gmail.com 388 Fawn Dr. None Newark NJ 45151 29
64 C00000068 Male 1966-12-14 14 12 1966 1966-12-14 53 854-39-7488 Christopher Lloyd Torres 798-103-7589 christopher.torres@hotmail.com 9855 Riverview Lane None Wilmington DE 45109 43
65 C00000070 Male 1945-12-22 22 12 1945 1945-12-22 74 618-58-1887 Joshua Carsyn Parker 956-519-0084 joshua.parker@gmail.com 70 Oak Ave. None Los Angeles CA 40489 70
66 C00000071 Female 1947-02-06 6 2 1947 1947-02-06 72 861-61-1685 Penelope Amelia Wright 365-143-7361 penelope.wright@gmail.com 9886 Ridgeview Street None Los Angeles CA 41039 70
67 C00000072 Male 1943-01-13 13 1 1943 1943-01-13 77 613-29-1524 Wyatt Devyn Collins 542-643-2130 wyatt.collins@gmail.com 547 Marconi Court None Charleston WV 43117 47
68 C00000073 Male 1944-02-20 20 2 1944 1944-02-20 75 818-46-2099 Sebastian Dov Edwards 916-123-8829 sebastian.edwards@outlook.com 9187 Hillcrest Rd. None Virginia Beach VA 42612 22
69 C00000074 Female 1945-07-26 26 7 1945 1945-07-26 74 921-32-4873 Riley Elizabeth King 966-857-3250 riley.king@gmail.com 7 Ridgeview Street None Virginia Beach VA 42021 22
70 C00000075 Female 1997-09-19 19 9 1997 1997-09-19 22 659-99-6511 Leah Sofia Scott 617-030-2759 leah.scott@gmail.com 35 Walnutwood Ave. None Phoenix AZ 41921 64
71 C00000076 Female 1987-10-01 1 10 1987 1987-10-01 32 297-77-5386 Audrey Evelyn Green 293-545-7588 audrey.green@gmail.com 8109 Lake View Road None Providence RI 47819 36
72 C00000077 Female 1976-02-18 18 2 1976 1976-02-18 43 381-22-7472 Savannah Avery Baker 212-996-3299 savannah.baker@gmail.com 24 Leatherwood St. None New York City NY 10114 1
73 C00000078 Female 1964-06-13 13 6 1964 1964-06-13 55 309-65-8189 Allison Chloe Adams 206-534-4919 allison.adams@gmail.com 63 Bald Hill Street None Baltimore MD 42644 16
74 C00000079 Female 1989-03-10 10 3 1989 1989-03-10 30 869-81-2271 Samantha Ella Nelson 192-898-8157 samantha.nelson@outlook.com 808 Glenwood Street None Jackson MS 42623 37
75 C00000080 Female 1999-02-25 25 2 1999 1999-02-25 20 132-47-0825 Nora Grace Hill 914-011-1365 nora.hill@gmail.com 366 Purple Finch Road None Phoenix AZ 44952 64
76 C00000081 Male 1996-04-29 29 4 1996 1996-04-29 23 867-44-1568 Owen Drayden Stewart 427-771-2986 owen.stewart@gmail.com 874 Riverside Drive None Washington DC 48427 8
77 C00000082 Female 1999-12-25 25 12 1999 1999-12-25 20 100-94-2798 Skylar Victoria Ramirez 963-716-6263 skylar.ramirez@gmail.com 772 Sunnyslope Ave. None Washington DC 45679 8
78 C00000083 Female 1998-12-25 25 12 1998 1998-12-25 21 470-19-9896 Camila Aubrey Campbell 212-031-4727 camila.campbell@gmail.com 619 Whitemarsh Rd. None New York City NY 10278 1
79 C00000084 Male 1999-05-05 5 5 1999 1999-05-05 20 495-13-7873 Caleb Floyd Flores 212-946-7532 caleb.flores@gmail.com 7100 Wintergreen Street None New York City NY 10019 1
80 C00000085 Male 1981-08-27 27 8 1981 1981-08-27 38 751-50-9916 Nathan Fynn Morris 212-601-6414 nathan.fynn.morris@gmail.com 6 East Young Circle None New York City NY 10168 1
81 C00000086 Female 1989-07-20 20 7 1989 1989-07-20 30 414-33-2516 Anna Scarlett Mitchell 212-302-5046 anna.mitchell@gmail.com 9360 Bayport Ave. None New York City NY 10111 1
82 C00000087 Female 1966-11-17 17 11 1966 1966-11-17 53 145-42-2241 Paisley Zoey Roberts 112-422-3285 paisley.roberts@hotmail.com 673 East Ramblewood Street None Philadelphia PA 45190 72
83 C00000089 Female 1971-05-05 5 5 1971 1971-05-05 48 802-29-4364 Ariana Addison Carter 212-320-0620 ariana.carter@gmail.com 94 Chestnut Rd. None New York City NY 10175 1
84 C00000090 Male 1995-08-17 17 8 1995 1995-08-17 24 141-54-7729 Ryan Jaron Nguyen 917-017-6595 ryan.nguyen@gmail.com 921 Lake Forest Dr. None New Haven CT 42164 52
85 C00000091 Male 1960-08-07 7 8 1960 1960-08-07 59 530-30-1461 Jack Kaius Murphy 831-379-6638 jack.murphy@gmail.com 556 South Schoolhouse St. None Norwalk CT 40947 63
86 C00000092 Female 1986-06-12 12 6 1986 1986-06-12 33 790-98-9800 Ellie Lily Phillips 485-505-9594 ellie.phillips@outlook.com 40 Myers Lane None Chicago IL 47075 74
87 C00000093 Male 1945-02-16 16 2 1945 1945-02-16 74 350-92-7187 Hunter Kyran Rivera 388-389-6102 hunter.rivera@gmail.com 6 Theatre Street None Columbus OH 43964 3
88 C00000094 Male 1967-09-09 9 9 1967 1967-09-09 52 766-62-4458 Levi Laken Cook 933-101-0725 levi.cook@gmail.com 353 Birchpond Court Unit 7 Wilmington DE 44476 43
89 C00000095 Female 1972-08-03 3 8 1972 1972-08-03 47 744-82-5035 Aaliyah Lillian Evans 208-186-5708 aaliyah.evansw@gmail.com 6 Alderwood Ave. None Wilmington DE 43812 43
90 C00000096 Male 1992-02-29 29 2 1992 1992-02-29 27 848-45-1989 Christian Monte Rogers 708-773-3715 christian.rogers@gmail.com 12 Selby Street None Chicago IL 44520 74
91 C00000097 Male 1985-11-28 28 11 1985 1985-11-28 34 109-31-5533 Jaxon Stephon Morgan 348-250-2252 jaxon.morgan@gmail.com 9079 Bald Hill Drive None Honolulu HI 42423 26
92 C00000098 Female 1993-05-04 4 5 1993 1993-05-04 26 951-79-2346 Claire Natalie Turner 194-309-8767 claire.turner@outlook.com 86 Manchester Street None Salt Lake City UT 44715 33
93 C00000099 Male 1993-01-26 26 1 1993 1993-01-26 27 378-12-6869 Julian Britton Peterson 805-269-0051 julian.peterson@gmail.com 478 High Ridge Street None Salt Lake City UT 40996 33
94 C00000100 Female 1962-08-11 11 8 1962 1962-08-11 57 744-16-6873 Violet Hannah Torres 912-067-2706 violet.torres@gmail.com 626 Arlington Rd. Unit 77 Portland ME 47410 44
95 C00000101 Male 1963-01-23 23 1 1963 1963-01-23 57 110-19-8110 Landon Estevan Cooper 294-252-5352 landon.cooper3@gmail.com 221 Ashley Rd. None Cranston RI 47959 68
96 C00000102 Female 1978-09-10 10 9 1978 1978-09-10 41 710-90-1424 Stella Aria Parker 181-988-1584 stella.parker@gmail.com 238 Foxrun St. None Chicago IL 48791 74
97 C00000103 Male 1975-07-11 11 7 1975 1975-07-11 44 851-42-9875 Grayson Johnnie Reed 440-368-5820 grayson.reed45@gmail.com 745 Bellevue Lane None Chicago IL 42641 74
98 C00000105 Male 2000-05-26 26 5 2000 2000-05-26 19 407-34-0962 Jonathan Jones Bailey 255-585-1034 jonathan.jones.bailey66@gmail.com 50 Wild Rose Court None Des Moines IA 43442 31
99 C00000106 Female 1988-12-30 30 12 1988 1988-12-30 31 138-45-7585 Sadie Layla Collins 735-784-3483 sadie.collins6@gmail.com 28 Cypress St. None Cranston RI 48179 68

completeddisposition (first 100 rows)

disp_id client_id account_id type
0 D00000001 1.0 A00000001 Owner
1 D00000002 2.0 A00000002 Owner
2 D00000003 3.0 A00000002 User
3 D00000004 4.0 A00000003 Owner
4 D00000005 5.0 A00000003 User
5 D00000006 6.0 A00000004 Owner
6 D00000007 7.0 A00000005 Owner
7 D00000008 8.0 A00000006 Owner
8 D00000009 9.0 A00000007 Owner
9 D00000010 10.0 A00000008 Owner
10 D00000011 11.0 A00000008 User
11 D00000012 12.0 A00000009 Owner
12 D00000013 13.0 A00000010 Owner
13 D00000014 14.0 A00000011 Owner
14 D00000015 15.0 A00000012 Owner
15 D00000016 16.0 A00000012 User
16 D00000017 17.0 A00000013 Owner
17 D00000018 18.0 A00000013 User
18 D00000019 19.0 A00000014 Owner
19 D00000020 20.0 A00000015 Owner
20 D00000021 21.0 A00000016 Owner
21 D00000022 22.0 A00000017 Owner
22 D00000023 23.0 A00000017 User
23 D00000024 24.0 A00000018 Owner
24 D00000025 25.0 A00000019 Owner
25 D00000026 26.0 A00000020 Owner
26 D00000027 27.0 A00000021 Owner
27 D00000028 28.0 A00000022 Owner
28 D00000029 29.0 A00000023 Owner
29 D00000030 30.0 A00000024 Owner
30 D00000031 31.0 A00000025 Owner
31 D00000032 32.0 A00000026 Owner
32 D00000033 33.0 A00000027 Owner
33 D00000036 36.0 A00000029 Owner
34 D00000037 37.0 A00000029 User
35 D00000038 38.0 A00000030 Owner
36 D00000039 39.0 A00000031 Owner
37 D00000040 40.0 A00000032 Owner
38 D00000041 41.0 A00000033 Owner
39 D00000042 42.0 A00000034 Owner
40 D00000043 43.0 A00000035 Owner
41 D00000044 44.0 A00000036 Owner
42 D00000045 45.0 A00000037 Owner
43 D00000046 46.0 A00000038 Owner
44 D00000047 47.0 A00000039 Owner
45 D00000048 48.0 A00000040 Owner
46 D00000049 49.0 A00000041 Owner
47 D00000050 50.0 A00000042 Owner
48 D00000051 51.0 A00000043 Owner
49 D00000052 52.0 A00000044 Owner
50 D00000053 53.0 A00000045 Owner
51 D00000055 55.0 A00000047 Owner
52 D00000056 56.0 A00000048 Owner
53 D00000057 57.0 A00000048 User
54 D00000058 58.0 A00000049 Owner
55 D00000059 59.0 A00000050 Owner
56 D00000060 60.0 A00000051 Owner
57 D00000061 61.0 A00000052 Owner
58 D00000062 62.0 A00000053 Owner
59 D00000063 63.0 A00000054 Owner
60 D00000064 64.0 A00000055 Owner
61 D00000065 65.0 A00000056 Owner
62 D00000066 66.0 A00000057 Owner
63 D00000067 67.0 A00000058 Owner
64 D00000068 68.0 A00000059 Owner
65 D00000070 70.0 A00000061 Owner
66 D00000071 71.0 A00000061 User
67 D00000072 72.0 A00000062 Owner
68 D00000073 73.0 A00000063 Owner
69 D00000074 74.0 A00000063 User
70 D00000075 75.0 A00000064 Owner
71 D00000076 76.0 A00000065 Owner
72 D00000077 77.0 A00000066 Owner
73 D00000078 78.0 A00000067 Owner
74 D00000079 79.0 A00000068 Owner
75 D00000080 80.0 A00000069 Owner
76 D00000081 81.0 A00000070 Owner
77 D00000082 82.0 A00000070 User
78 D00000083 83.0 A00000071 Owner
79 D00000084 84.0 A00000071 User
80 D00000085 85.0 A00000072 Owner
81 D00000086 86.0 A00000072 User
82 D00000087 87.0 A00000073 Owner
83 D00000089 89.0 A00000075 Owner
84 D00000090 90.0 A00000076 Owner
85 D00000091 91.0 A00000077 Owner
86 D00000092 92.0 A00000078 Owner
87 D00000093 93.0 A00000079 Owner
88 D00000094 94.0 A00000080 Owner
89 D00000095 95.0 A00000080 User
90 D00000096 96.0 A00000081 Owner
91 D00000097 97.0 A00000082 Owner
92 D00000098 98.0 A00000083 Owner
93 D00000099 99.0 A00000083 User
94 D00000100 100.0 A00000084 Owner
95 D00000101 101.0 A00000085 Owner
96 D00000102 102.0 A00000086 Owner
97 D00000103 103.0 A00000086 User
98 D00000105 105.0 A00000088 Owner
99 D00000106 106.0 A00000089 Owner

completeddistrict (first 100 rows)

district_id city state_name state_abbrev region division
0 1 New York City New York NY Northeast Middle Atlantic
1 2 Jacksonville Florida FL South South Atlantic
2 3 Columbus Ohio OH Midwest East North Central
3 4 Charlotte North Carolina NC South South Atlantic
4 5 Indianapolis Indiana IN Northeast East North Central
5 6 Seattle Washington WA West Pacific
6 7 Denver Colorado CO West Mountain
7 8 Washington District of Columbia DC South South Atlantic
8 9 Boston Massachusetts MA Northeast New England
9 10 Detroit Michigan MI Midwest East North Central
10 11 Nashville Tennessee TN South East South Central
11 12 Portland Oregon OR West Pacific
12 13 Oklahoma City Oklahoma OK South West South Central
13 14 Las Vegas Nevada NV West Mountain
14 15 Louisville Kentucky KY South East South Central
15 16 Baltimore Maryland MD South South Atlantic
16 17 Milwaukee Wisconsin WI Midwest East North Central
17 18 Albuquerque New Mexico NM West Mountain
18 19 Atlanta Georgia GA South South Atlantic
19 20 Kansas City Missouri MO Midwest West North Central
20 21 Omaha Nebraska NE Midwest West North Central
21 22 Virginia Beach Virginia VA South South Atlantic
22 23 Minneapolis Minnesota MN Midwest West North Central
23 24 New Orleans Louisiana LA South West South Central
24 25 Wichita Kansas KS Midwest West North Central
25 26 Honolulu Hawaii HI West Pacific
26 27 San Antonio Texas TX South West South Central
27 28 Anchorage Alaska AK West Pacific
28 29 Newark New Jersey NJ Northeast Middle Atlantic
29 30 Boise Idaho ID West Mountain
30 31 Des Moines Iowa IA Midwest West North Central
31 32 Birmingham Alabama AL South East South Central
32 33 Salt Lake City Utah UT West Mountain
33 34 Little Rock Arkansas AR South West South Central
34 35 Sioux Falls South Dakota SD Midwest West North Central
35 36 Providence Rhode Island RI Northeast New England
36 37 Jackson Mississippi MS South East South Central
37 38 Bridgeport Connecticut CT Northeast New England
38 39 Charleston South Carolina SC South South Atlantic
39 40 Fargo North Dakota ND Midwest West North Central
40 41 Manchester New Hampshire NH Northeast New England
41 42 Billings Montana MT West Mountain
42 43 Wilmington Delaware DE South South Atlantic
43 44 Portland Maine ME Northeast New England
44 45 Cheyenne Wyoming WY West Mountain
45 46 San Diego California CA West Pacific
46 47 Charleston West Virginia WV South South Atlantic
47 48 Worcester Massachusetts MA Northeast New England
48 49 Burlington Vermont VT Northeast New England
49 50 Buffalo New York NY Northeast Middle Atlantic
50 51 Springfield Massachusetts MA Northeast New England
51 52 New Haven Connecticut CT Northeast New England
52 53 Hartford Connecticut CT Northeast New England
53 54 Houston Texas TX South West South Central
54 55 Lowell Massachusetts MA Northeast New England
55 56 Cambridge Massachusetts MA Northeast New England
56 57 New Bedford Massachusetts MA Northeast New England
57 58 Brockton Massachusetts MA Northeast New England
58 59 Quincy Massachusetts MA Northeast New England
59 60 Lynn Massachusetts MA Northeast New England
60 61 Fall River Massachusetts MA Northeast New England
61 62 Nashua New Hampshire NH Northeast New England
62 63 Norwalk Connecticut CT Northeast New England
63 64 Phoenix Arizona AZ West Mountain
64 65 Newton Massachusetts MA Northeast New England
65 66 Warwick Rhode Island RI Northeast New England
66 67 Danbury Connecticut CT Northeast New England
67 68 Cranston Rhode Island RI Northeast New England
68 69 Lawrence Massachusetts MA Northeast New England
69 70 Los Angeles California CA West Pacific
70 71 Somerville Massachusetts MA Northeast New England
71 72 Philadelphia Pennsylvania PA Northeast Middle Atlantic
72 73 New Britain Connecticut CT Northeast New England
73 74 Chicago Illinois IL Northeast East North Central
74 75 Rochester New York NY Northeast Middle Atlantic
75 76 Yonkers New York NY Northeast Middle Atlantic
76 77 Syracuse New York NY Northeast Middle Atlantic

completedloan (first 100 rows)

loan_id account_id amount duration payments status year_ month_ day_ date_ fulldate location purpose
0 5657.0 A00003354 4980 12 415 A 2014 7 5 2014-07-05 2014-07-05 59 car
1 6234.0 A00006061 5148 12 429 C 2018 5 28 2018-05-28 2018-05-28 1 car
2 6699.0 A00008330 7656 24 319 A 2014 3 30 2014-03-30 2014-03-30 1 car
3 6688.0 A00008268 8616 24 359 C 2017 9 26 2017-09-26 2017-09-26 1 car
4 6312.0 A00006453 10944 36 304 C 2018 5 17 2018-05-17 2018-05-17 1 car
5 6019.0 A00005033 11400 12 950 A 2016 7 25 2016-07-25 2016-07-25 1 car
6 6229.0 A00006040 11736 24 489 A 2014 10 2 2014-10-02 2014-10-02 1 car
7 5103.0 A00000666 12540 12 1045 A 2017 11 28 2017-11-28 2017-11-28 64 debt_consolidation
8 6539.0 A00007559 12792 12 1066 C 2018 7 11 2018-07-11 2018-07-11 1 car
9 5718.0 A00003637 14028 12 1169 A 2017 9 1 2017-09-01 2017-09-01 1 car
10 6064.0 A00005215 14628 12 1219 A 2014 8 4 2014-08-04 2014-08-04 1 car
11 5897.0 A00004476 15192 24 633 A 2016 9 25 2016-09-25 2016-09-25 1 car
12 5599.0 A00003064 15420 12 1285 A 2015 3 21 2015-03-21 2015-03-21 18 car
13 6852.0 A00009140 16032 48 334 C 2018 11 10 2018-11-10 2018-11-10 1 car
14 6377.0 A00006792 17184 12 1432 A 2017 3 17 2017-03-17 2017-03-17 1 debt_consolidation
15 6297.0 A00006363 17508 12 1459 A 2014 10 25 2014-10-25 2014-10-25 1 car
16 5463.0 A00002413 17952 12 1496 C 2018 10 6 2018-10-06 2018-10-06 59 car
17 6942.0 A00009513 18324 12 1527 A 2017 7 16 2017-07-16 2017-07-16 1 car
18 5740.0 A00003752 18564 12 1547 A 2015 4 2 2015-04-02 2015-04-02 1 debt_consolidation
19 7230.0 A00010954 18720 60 312 C 2017 4 2 2017-04-02 2017-04-02 1 car
20 7034.0 A00010001 19044 36 529 C 2016 7 11 2016-07-11 2016-07-11 1 car
21 5651.0 A00003329 19248 12 1604 A 2017 12 8 2017-12-08 2017-12-08 59 car
22 5429.0 A00002268 20196 36 561 C 2016 7 18 2016-07-18 2016-07-18 59 car
23 5922.0 A00004580 20220 12 1685 A 2015 8 5 2015-08-05 2015-08-05 1 car
24 6043.0 A00005126 20352 48 424 C 2016 1 11 2016-01-11 2016-01-11 1 debt_consolidation
25 6591.0 A00007819 20832 48 434 C 2015 2 2 2015-02-02 2015-02-02 1 car
26 6721.0 A00008475 21072 24 878 A 2014 1 21 2014-01-21 2014-01-21 1 car
27 5980.0 A00004825 21396 12 1783 A 2015 8 18 2015-08-18 2015-08-18 1 car
28 6600.0 A00007861 21852 36 607 A 2015 10 8 2015-10-08 2015-10-08 1 car
29 7121.0 A00010364 21924 36 609 A 2013 11 10 2013-11-10 2013-11-10 1 debt_consolidation
30 7072.0 A00010148 22104 12 1842 C 2018 1 27 2018-01-27 2018-01-27 1 debt_consolidation
31 5147.0 A00000938 22260 60 371 C 2018 5 21 2018-05-21 2018-05-21 64 debt_consolidation
32 6052.0 A00005164 22356 36 621 C 2018 3 23 2018-03-23 2018-03-23 1 car
33 5382.0 A00002134 22932 36 637 C 2017 3 17 2017-03-17 2017-03-17 59 car
34 6354.0 A00006688 22968 36 638 C 2016 10 23 2016-10-23 2016-10-23 1 car
35 5754.0 A00003834 23052 12 1921 A 2014 9 28 2014-09-28 2014-09-28 1 home_improvement
36 6878.0 A00009242 23184 12 1932 A 2017 1 24 2017-01-24 2017-01-24 1 debt_consolidation
37 5384.0 A00002142 23328 12 1944 C 2018 3 7 2018-03-07 2018-03-07 59 car
38 7139.0 A00010445 23412 12 1951 C 2018 1 22 2018-01-22 2018-01-22 1 debt_consolidation
39 5229.0 A00001329 23520 12 1960 A 2017 9 6 2017-09-06 2017-09-06 64 home_improvement
40 5723.0 A00003674 23628 12 1969 A 2014 9 10 2014-09-10 2014-09-10 1 debt_consolidation
41 7187.0 A00010711 24180 60 403 C 2017 12 24 2017-12-24 2017-12-24 1 car
42 5130.0 A00000813 24312 12 2026 A 2014 5 11 2014-05-11 2014-05-11 64 debt_consolidation
43 5479.0 A00002486 24516 12 2043 A 2014 1 10 2014-01-10 2014-01-10 59 home_improvement
44 5584.0 A00002986 24792 24 1033 C 2017 12 6 2017-12-06 2017-12-06 18 debt_consolidation
45 6407.0 A00006930 25944 24 1081 A 2014 5 26 2014-05-26 2014-05-26 1 home_improvement
46 6242.0 A00006097 26208 36 728 C 2017 10 22 2017-10-22 2017-10-22 1 debt_consolidation
47 5005.0 A00000176 27456 12 2288 A 2017 4 10 2017-04-10 2017-04-10 1 debt_consolidation
48 6578.0 A00007765 27984 12 2332 A 2015 12 11 2015-12-11 2015-12-11 1 debt_consolidation
49 6227.0 A00006030 28248 24 1177 A 2015 3 4 2015-03-04 2015-03-04 1 debt_consolidation
50 6865.0 A00009199 29448 12 2454 B 2016 9 11 2016-09-11 2016-09-11 1 debt_consolidation
51 6676.0 A00008159 29784 24 1241 A 2015 6 13 2015-06-13 2015-06-13 1 debt_consolidation
52 5620.0 A00003161 30012 12 2501 C 2018 6 16 2018-06-16 2018-06-16 18 home_improvement
53 5311.0 A00001766 30060 60 501 C 2016 6 15 2016-06-15 2016-06-15 64 debt_consolidation
54 6501.0 A00007418 30276 12 2523 B 2016 4 29 2016-04-29 2016-04-29 1 home_improvement
55 4961.0 A00000019 30276 12 2523 B 2016 4 29 2016-04-29 2016-04-29 1 debt_consolidation
56 6502.0 A00007424 30276 12 2523 A 2017 12 8 2017-12-08 2017-12-08 1 debt_consolidation
57 4962.0 A00000025 30276 12 2523 A 2017 12 8 2017-12-08 2017-12-08 1 debt_consolidation
58 7200.0 A00010799 31140 60 519 C 2018 7 11 2018-07-11 2018-07-11 1 debt_consolidation
59 6185.0 A00005774 31176 24 1299 A 2015 11 28 2015-11-28 2015-11-28 1 debt_consolidation
60 5576.0 A00002962 31248 12 2604 A 2014 12 21 2014-12-21 2014-12-21 18 debt_consolidation
61 7110.0 A00010345 31260 12 2605 C 2018 1 21 2018-01-21 2018-01-21 1 home_improvement
62 6970.0 A00009677 31620 60 527 C 2017 6 17 2017-06-17 2017-06-17 1 debt_consolidation
63 6546.0 A00007607 31728 24 1322 A 2015 3 27 2015-03-27 2015-03-27 1 home_improvement
64 6130.0 A00005541 32640 48 680 C 2016 7 18 2016-07-18 2016-07-18 1 debt_consolidation
65 6758.0 A00008742 33144 12 2762 A 2017 7 29 2017-07-29 2017-07-29 1 debt_consolidation
66 5932.0 A00004626 33348 12 2779 A 2017 6 18 2017-06-18 2017-06-18 1 debt_consolidation
67 6764.0 A00008776 33984 48 708 C 2015 8 26 2015-08-26 2015-08-26 1 debt_consolidation
68 6310.0 A00006440 34572 12 2881 A 2017 6 17 2017-06-17 2017-06-17 1 debt_consolidation
69 6643.0 A00008038 35856 24 1494 C 2018 1 18 2018-01-18 2018-01-18 1 debt_consolidation
70 5207.0 A00001244 35904 48 748 C 2017 2 28 2017-02-28 2017-02-28 64 home_improvement
71 7008.0 A00009897 36168 12 3014 A 2015 9 22 2015-09-22 2015-09-22 1 debt_consolidation
72 6682.0 A00008225 36204 12 3017 D 2018 3 30 2018-03-30 2018-03-30 1 home_improvement
73 6929.0 A00009472 36396 12 3033 A 2015 5 8 2015-05-08 2015-05-08 1 debt_consolidation
74 6306.0 A00006425 36684 12 3057 A 2014 12 20 2014-12-20 2014-12-20 1 debt_consolidation
75 7096.0 A00010257 37812 12 3151 C 2018 9 2 2018-09-02 2018-09-02 1 home_improvement
76 6362.0 A00006738 37908 12 3159 A 2015 10 31 2015-10-31 2015-10-31 1 debt_consolidation
77 5332.0 A00001869 37944 36 1054 C 2018 1 29 2018-01-29 2018-01-29 64 home_improvement
78 6820.0 A00009034 38148 12 3179 A 2013 12 16 2013-12-16 2013-12-16 1 debt_consolidation
79 6321.0 A00006505 38496 12 3208 C 2018 10 8 2018-10-08 2018-10-08 1 home_improvement
80 5358.0 A00002018 38520 12 3210 A 2017 1 21 2017-01-21 2017-01-21 59 debt_consolidation
81 5634.0 A00003229 39024 12 3252 A 2017 5 1 2017-05-01 2017-05-01 59 home_improvement
82 7294.0 A00011327 39168 24 1632 C 2018 9 27 2018-09-27 2018-09-27 1 debt_consolidation
83 6888.0 A00009265 39576 12 3298 A 2014 7 11 2014-07-11 2014-07-11 1 home_improvement
84 6887.0 A00009263 39576 12 3298 A 2017 5 8 2017-05-08 2017-05-08 1 debt_consolidation
85 5665.0 A00003390 40632 12 3386 C 2018 3 11 2018-03-11 2018-03-11 1 home_improvement
86 5582.0 A00002982 41256 12 3438 C 2018 4 17 2018-04-17 2018-04-17 18 debt_consolidation
87 5808.0 A00004099 41856 48 872 C 2017 7 31 2017-07-31 2017-07-31 1 debt_consolidation
88 6895.0 A00009307 41904 12 3492 A 2014 9 19 2014-09-19 2014-09-19 1 debt_consolidation
89 6535.0 A00007546 41952 12 3496 A 2015 11 2 2015-11-02 2015-11-02 1 home_improvement
90 5841.0 A00004268 41988 12 3499 C 2018 11 4 2018-11-04 2018-11-04 1 debt_consolidation
91 6553.0 A00007636 42384 12 3532 C 2018 1 26 2018-01-26 2018-01-26 1 home_improvement
92 5046.0 A00000349 42816 12 3568 C 2018 9 9 2018-09-09 2018-09-09 70 debt_consolidation
93 6727.0 A00008505 42840 12 3570 A 2017 12 10 2017-12-10 2017-12-10 1 debt_consolidation
94 6621.0 A00007957 42900 12 3575 A 2017 6 14 2017-06-14 2017-06-14 1 debt_consolidation
95 6315.0 A00006472 43164 12 3597 A 2015 2 6 2015-02-06 2015-02-06 1 debt_consolidation
96 5313.0 A00001776 43200 24 1800 C 2018 5 27 2018-05-27 2018-05-27 64 debt_consolidation
97 5693.0 A00003489 44088 24 1837 A 2015 8 1 2015-08-01 2015-08-01 1 debt_consolidation
98 7087.0 A00010215 44304 24 1846 C 2017 2 20 2017-02-20 2017-02-20 1 home_improvement
99 6144.0 A00005593 44376 12 3698 A 2016 8 9 2016-08-09 2016-08-09 1 debt_consolidation

completedorder (first 100 rows)

order_id account_id bank_to account_to amount k_symbol
0 29401 A00000001 YZ 87144583 2452.0 Household Payment
1 29402 A00000002 ST 89597016 3372.7 Loan Payment
2 29403 A00000002 QR 13943797 7266.0 Household Payment
3 29404 A00000003 WX 83084338 1135.0 Household Payment
4 29405 A00000003 CD 24485939 327.0 None
5 29406 A00000003 AB 59972357 3539.0 Insurance Payment
6 29407 A00000004 UV 26693541 2078.0 Household Payment
7 29408 A00000004 UV 5848086 1285.0 Household Payment
8 29409 A00000005 GH 37390208 2668.0 Household Payment
9 29410 A00000006 AB 44486999 3954.0 Household Payment
10 29411 A00000007 IJ 34452903 4880.0 Household Payment
11 29412 A00000008 UV 12510681 2612.0 Household Payment
12 29413 A00000008 IJ 93210345 6712.0 None
13 29414 A00000010 UV 18686104 7033.0 Household Payment
14 29415 A00000010 QR 93182509 1344.0 Leasing Payment
15 29433 A00000025 AB 79838293 1110.0 None
16 29434 A00000025 WX 52864879 164.0 Insurance Payment
17 29435 A00000026 EF 12891853 10387.0 Household Payment
18 29436 A00000027 CD 28175699 4054.0 Household Payment
19 29439 A00000029 ST 32924878 6871.0 Household Payment
20 29440 A00000029 MN 93088209 829.0 None
21 29441 A00000029 UV 41335338 8.0 Insurance Payment
22 29442 A00000030 EF 66168540 2480.2 Leasing Payment
23 29443 A00000031 ST 42430687 10202.0 Household Payment
24 29444 A00000033 KL 33047658 3892.0 Household Payment
25 29445 A00000034 WX 21845197 1479.0 Leasing Payment
26 29446 A00000034 GH 19993174 502.0 Household Payment
27 29447 A00000034 IJ 58999049 6070.0 None
28 29448 A00000035 MN 56788617 1022.0 Household Payment
29 29449 A00000035 MN 99848401 1362.0 Household Payment
30 29450 A00000036 CD 80693810 4069.0 Household Payment
31 29451 A00000037 QR 71644407 5307.5 Loan Payment
32 29452 A00000037 IJ 29728555 2317.0 Household Payment
33 29453 A00000037 OP 23782724 2584.0 None
34 29454 A00000037 YZ 89609831 97.0 Insurance Payment
35 29455 A00000038 QR 79067885 2306.8 Loan Payment
36 29456 A00000038 EF 2692229 6901.0 Household Payment
37 29457 A00000038 KL 83435654 231.0 None
38 29458 A00000038 OP 64685678 228.0 Insurance Payment
39 29459 A00000039 CD 77015351 145.0 Household Payment
40 29460 A00000039 WX 949460 2970.0 Household Payment
41 29461 A00000040 ST 31161588 33.0 Household Payment
42 29462 A00000040 MN 96111678 4301.0 None
43 29463 A00000042 CD 1007766 4239.0 Household Payment
44 29464 A00000042 KL 55873340 239.0 None
45 29465 A00000042 YZ 38318204 1592.0 Insurance Payment
46 29466 A00000043 CD 89718746 6589.0 Household Payment
47 29416 A00000011 ST 38470870 2132.0 Household Payment
48 29417 A00000012 CD 23010808 297.0 Household Payment
49 29418 A00000012 KL 63607060 3295.0 Household Payment
50 29419 A00000013 EF 35443323 2444.0 Household Payment
51 29420 A00000014 WX 11793136 3629.0 Household Payment
52 29421 A00000015 KL 24265569 3072.0 Household Payment
53 29422 A00000017 EF 15076423 4032.0 Household Payment
54 29423 A00000019 QR 14132368 2523.2 Loan Payment
55 29425 A00000020 AB 3399968 2003.0 Household Payment
56 29426 A00000021 YZ 60152441 6276.0 Household Payment
57 29427 A00000022 ST 34691494 6352.0 Household Payment
58 29428 A00000023 MN 20774019 5807.0 Household Payment
59 29429 A00000024 IJ 50810194 221.0 Household Payment
60 29430 A00000024 QR 46086388 7641.0 None
61 29431 A00000025 YZ 1301700 2523.2 Loan Payment
62 29432 A00000025 IJ 4896235 6817.0 Household Payment
63 29467 A00000044 GH 11344862 2344.0 Household Payment
64 29470 A00000047 KL 76620852 6940.0 Household Payment
65 29471 A00000047 KL 37438374 174.0 None
66 29472 A00000047 EF 83359431 141.0 Insurance Payment
67 29473 A00000047 UV 30289006 9.0 None
68 29474 A00000048 AB 50218236 6268.0 Household Payment
69 29475 A00000048 ST 2071685 1029.0 None
70 29476 A00000049 CD 83233099 3102.0 Household Payment
71 29477 A00000050 WX 75148117 269.0 Household Payment
72 29478 A00000050 UV 17270559 7024.0 None
73 29479 A00000051 KL 71050131 2074.0 Household Payment
74 29480 A00000051 KL 74449389 2057.0 None
75 29481 A00000052 EF 6008005 560.0 Household Payment
76 29482 A00000052 QR 85721850 3723.0 None
77 29483 A00000053 MN 81024360 2851.0 Household Payment
78 29484 A00000054 IJ 90659772 2280.0 Household Payment
79 29485 A00000055 EF 53077900 3086.0 Household Payment
80 29486 A00000056 KL 73539948 8080.0 Household Payment
81 29487 A00000057 YZ 55066728 4107.0 Household Payment
82 29489 A00000059 IJ 38201576 695.0 Household Payment
83 29490 A00000059 ST 65394794 6190.0 None
84 29493 A00000061 EF 20533621 1645.0 Household Payment
85 29494 A00000061 IJ 20426410 668.0 Household Payment
86 29495 A00000062 EF 80010622 2273.0 Household Payment
87 29496 A00000063 CD 85474604 2237.0 Household Payment
88 29497 A00000063 EF 8346772 157.0 Household Payment
89 29498 A00000065 YZ 74934333 686.0 Household Payment
90 29499 A00000065 CD 20976132 3315.0 None
91 29500 A00000065 GH 7764506 3401.0 Insurance Payment
92 29501 A00000066 GH 17993182 4471.3 Leasing Payment
93 29502 A00000067 YZ 45128363 6915.0 Loan Payment
94 29503 A00000067 YZ 57342255 6393.0 Household Payment
95 29504 A00000067 UV 59079301 445.0 None
96 29505 A00000068 WX 86834001 1705.0 Household Payment
97 29506 A00000068 IJ 8292192 1186.0 None
98 29507 A00000068 ST 34692824 137.0 Insurance Payment
99 29508 A00000068 MN 92248808 61.0 None

completedtrans (first 100 rows)

column_a trans_id account_id type operation amount balance k_symbol bank account year_ month_ day_ date_ fulldate fulltime fulldatewithtime
0 1 T00695247 A00002378 Credit Credit in Cash 700.0 700.0 None None NaN 2013 1 1 2013-01-01 2013-01-01 11:02:40 2013-01-01T11:02:40
1 2 T00171812 A00000576 Credit Credit in Cash 900.0 900.0 None None NaN 2013 1 1 2013-01-01 2013-01-01 08:23:33 2013-01-01T08:23:33
2 3 T00207264 A00000704 Credit Credit in Cash 1000.0 1000.0 None None NaN 2013 1 1 2013-01-01 2013-01-01 15:19:21 2013-01-01T15:19:21
3 4 T01117247 A00003818 Credit Credit in Cash 600.0 600.0 None None NaN 2013 1 1 2013-01-01 2013-01-01 10:42:35 2013-01-01T10:42:35
4 5 T00579373 A00001972 Credit Credit in Cash 400.0 400.0 None None NaN 2013 1 2 2013-01-02 2013-01-02 11:39:25 2013-01-02T11:39:25
5 6 T00771035 A00002632 Credit Credit in Cash 1100.0 1100.0 None None NaN 2013 1 2 2013-01-02 2013-01-02 15:15:12 2013-01-02T15:15:12
6 7 T00452728 A00001539 Credit Credit in Cash 600.0 600.0 None None NaN 2013 1 3 2013-01-03 2013-01-03 09:34:29 2013-01-03T09:34:29
7 8 T00725751 A00002484 Credit Credit in Cash 1100.0 1100.0 None None NaN 2013 1 3 2013-01-03 2013-01-03 09:36:35 2013-01-03T09:36:35
8 9 T00497211 A00001695 Credit Credit in Cash 200.0 200.0 None None NaN 2013 1 3 2013-01-03 2013-01-03 15:22:23 2013-01-03T15:22:23
9 10 T00232960 A00000793 Credit Credit in Cash 800.0 800.0 None None NaN 2013 1 3 2013-01-03 2013-01-03 15:08:16 2013-01-03T15:08:16
10 11 T00505240 A00001726 Credit Credit in Cash 1000.0 1000.0 None None NaN 2013 1 3 2013-01-03 2013-01-03 13:54:49 2013-01-03T13:54:49
11 12 T00144541 A00000485 Credit Credit in Cash 300.0 300.0 None None NaN 2013 1 4 2013-01-04 2013-01-04 16:40:53 2013-01-04T16:40:53
12 13 T00637741 A00002177 Credit Credit in Cash 800.0 800.0 None None NaN 2013 1 4 2013-01-04 2013-01-04 10:30:59 2013-01-04T10:30:59
13 14 T00689827 A00002357 Credit Credit in Cash 800.0 800.0 None None NaN 2013 1 4 2013-01-04 2013-01-04 16:29:16 2013-01-04T16:29:16
14 15 T00846006 A00002881 Credit Credit in Cash 700.0 700.0 None None NaN 2013 1 4 2013-01-04 2013-01-04 09:29:01 2013-01-04T09:29:01
15 16 T00637742 A00002177 Credit Collection from Another Bank 5123.0 5923.0 Old Age Pension State Street Corp. 62457513.0 2013 1 5 2013-01-05 2013-01-05 16:44:42 2013-01-05T16:44:42
16 17 T02908688 A00009635 Credit Credit in Cash 400.0 400.0 None None NaN 2013 1 5 2013-01-05 2013-01-05 13:32:11 2013-01-05T13:32:11
17 18 T00232961 A00000793 Credit Collection from Another Bank 3401.0 4201.0 None Goldman Sachs 6149286.0 2013 1 5 2013-01-05 2013-01-05 11:56:11 2013-01-05T11:56:11
18 19 T00192096 A00000652 Credit Credit in Cash 700.0 700.0 None None NaN 2013 1 5 2013-01-05 2013-01-05 09:28:49 2013-01-05T09:28:49
19 20 T00542215 A00001844 Credit Credit in Cash 500.0 500.0 None None NaN 2013 1 6 2013-01-06 2013-01-06 14:38:54 2013-01-06T14:38:54
20 21 T00565654 A00001926 Credit Credit in Cash 700.0 700.0 None None NaN 2013 1 6 2013-01-06 2013-01-06 11:41:28 2013-01-06T11:41:28
21 22 T00542216 A00001844 Credit Collection from Another Bank 3242.0 3742.0 None Capital One 42988401.0 2013 1 7 2013-01-07 2013-01-07 10:11:45 2013-01-07T10:11:45
22 23 T01027725 A00003510 Credit Credit in Cash 500.0 500.0 None None NaN 2013 1 7 2013-01-07 2013-01-07 08:59:48 2013-01-07T08:59:48
23 24 T00374589 A00001276 Credit Credit in Cash 400.0 400.0 None None NaN 2013 1 7 2013-01-07 2013-01-07 13:53:48 2013-01-07T13:53:48
24 25 T00579374 A00001972 Credit Collection from Another Bank 5298.0 5698.0 Old Age Pension Bank of New York Mellon Corp. 14132887.0 2013 1 7 2013-01-07 2013-01-07 08:09:01 2013-01-07T08:09:01
25 26 T00699220 A00002393 Credit Credit in Cash 900.0 900.0 None None NaN 2013 1 7 2013-01-07 2013-01-07 09:44:19 2013-01-07T09:44:19
26 27 T00129502 A00000435 Credit Credit in Cash 400.0 400.0 None None NaN 2013 1 8 2013-01-08 2013-01-08 11:33:46 2013-01-08T11:33:46
27 28 T00374590 A00001276 Credit Credit in Cash 6774.0 7174.0 None None NaN 2013 1 8 2013-01-08 2013-01-08 10:41:24 2013-01-08T10:41:24
28 29 T00057433 A00000192 Credit Credit in Cash 300.0 300.0 None None NaN 2013 1 8 2013-01-08 2013-01-08 11:27:40 2013-01-08T11:27:40
29 30 T00497212 A00001695 Credit Credit in Cash 11832.0 12032.0 None None NaN 2013 1 8 2013-01-08 2013-01-08 11:42:14 2013-01-08T11:42:14
30 31 T00621760 A00002122 Credit Credit in Cash 300.0 300.0 None None NaN 2013 1 8 2013-01-08 2013-01-08 13:23:47 2013-01-08T13:23:47
31 32 T00480214 A00001637 Credit Credit in Cash 500.0 500.0 None None NaN 2013 1 8 2013-01-08 2013-01-08 14:01:07 2013-01-08T14:01:07
32 33 T00612392 A00002087 Credit Credit in Cash 600.0 600.0 None None NaN 2013 1 8 2013-01-08 2013-01-08 13:21:14 2013-01-08T13:21:14
33 34 T00224342 A00000764 Credit Credit in Cash 1100.0 1100.0 None None NaN 2013 1 8 2013-01-08 2013-01-08 10:25:46 2013-01-08T10:25:46
34 35 T01049881 A00003592 Credit Credit in Cash 600.0 600.0 None None NaN 2013 1 8 2013-01-08 2013-01-08 13:49:31 2013-01-08T13:49:31
35 36 T01132662 A00003871 Credit Credit in Cash 300.0 300.0 None None NaN 2013 1 8 2013-01-08 2013-01-08 14:07:56 2013-01-08T14:07:56
36 37 T01021120 A00003487 Credit Credit in Cash 800.0 800.0 None None NaN 2013 1 8 2013-01-08 2013-01-08 08:08:38 2013-01-08T08:08:38
37 38 T00439035 A00001493 Credit Credit in Cash 200.0 200.0 None None NaN 2013 1 9 2013-01-09 2013-01-09 09:39:13 2013-01-09T09:39:13
38 39 T00110534 A00000374 Credit Credit in Cash 400.0 400.0 None None NaN 2013 1 9 2013-01-09 2013-01-09 09:09:09 2013-01-09T09:09:09
39 40 T00771036 A00002632 Credit Credit in Cash 14264.0 15364.0 None None NaN 2013 1 9 2013-01-09 2013-01-09 09:27:45 2013-01-09T09:27:45
40 41 T00506450 A00001730 Credit Credit in Cash 900.0 900.0 None None NaN 2013 1 9 2013-01-09 2013-01-09 11:42:16 2013-01-09T11:42:16
41 42 T00192097 A00000652 Credit Credit in Cash 13851.0 14551.0 None None NaN 2013 1 9 2013-01-09 2013-01-09 16:46:01 2013-01-09T16:46:01
42 43 T01117248 A00003818 Credit Credit in Cash 17366.0 17966.0 None None NaN 2013 1 9 2013-01-09 2013-01-09 08:09:03 2013-01-09T08:09:03
43 44 T00695720 A00002379 Credit Credit in Cash 800.0 800.0 None None NaN 2013 1 10 2013-01-10 2013-01-10 15:55:39 2013-01-10T15:55:39
44 45 T00857973 A00002925 Credit Credit in Cash 1000.0 1000.0 None None NaN 2013 1 10 2013-01-10 2013-01-10 12:19:11 2013-01-10T12:19:11
45 46 T00477638 A00001628 Credit Credit in Cash 700.0 700.0 None None NaN 2013 1 10 2013-01-10 2013-01-10 08:10:26 2013-01-10T08:10:26
46 47 T01049882 A00003592 Credit Collection from Another Bank 6007.0 6607.0 Old Age Pension U.S. Bancorp 73166322.0 2013 1 10 2013-01-10 2013-01-10 09:02:13 2013-01-10T09:02:13
47 48 T00252644 A00000866 Credit Credit in Cash 500.0 500.0 None None NaN 2013 1 10 2013-01-10 2013-01-10 10:45:25 2013-01-10T10:45:25
48 49 T00393505 A00001338 Credit Credit in Cash 400.0 400.0 None None NaN 2013 1 11 2013-01-11 2013-01-11 08:34:56 2013-01-11T08:34:56
49 50 T00171813 A00000576 Credit Collection from Another Bank 6207.0 7107.0 Old Age Pension State Street Corp. 30300313.0 2013 1 11 2013-01-11 2013-01-11 16:36:38 2013-01-11T16:36:38
50 51 T00581699 A00001979 Credit Credit in Cash 900.0 900.0 None None NaN 2013 1 11 2013-01-11 2013-01-11 12:20:47 2013-01-11T12:20:47
51 52 T00252645 A00000866 Credit Credit in Cash 12644.0 13144.0 None None NaN 2013 1 11 2013-01-11 2013-01-11 15:04:16 2013-01-11T15:04:16
52 53 T00101386 A00000346 Credit Credit in Cash 800.0 800.0 None None NaN 2013 1 11 2013-01-11 2013-01-11 11:25:35 2013-01-11T11:25:35
53 54 T00689828 A00002357 Credit Collection from Another Bank 6434.0 7234.0 Old Age Pension PNC Financial Services 34144538.0 2013 1 12 2013-01-12 2013-01-12 10:30:16 2013-01-12T10:30:16
54 55 T00725752 A00002484 Credit Credit in Cash 14779.0 15879.0 None None NaN 2013 1 12 2013-01-12 2013-01-12 16:47:37 2013-01-12T16:47:37
55 56 T00565655 A00001926 Credit Credit in Cash 4507.0 5207.0 None None NaN 2013 1 12 2013-01-12 2013-01-12 13:52:16 2013-01-12T13:52:16
56 57 T00857974 A00002925 Credit Credit in Cash 6446.0 7446.0 None None NaN 2013 1 12 2013-01-12 2013-01-12 12:34:59 2013-01-12T12:34:59
57 58 T00560898 A00001909 Credit Credit in Cash 800.0 800.0 None None NaN 2013 1 12 2013-01-12 2013-01-12 14:13:45 2013-01-12T14:13:45
58 59 T00207265 A00000704 Credit Credit in Cash 17477.0 18477.0 None None NaN 2013 1 12 2013-01-12 2013-01-12 11:04:49 2013-01-12T11:04:49
59 60 T00477639 A00001628 Credit Collection from Another Bank 4276.0 4976.0 Old Age Pension Bank of New York Mellon Corp. 15916598.0 2013 1 12 2013-01-12 2013-01-12 11:14:10 2013-01-12T11:14:10
60 61 T00615542 A00002099 Credit Credit in Cash 1100.0 1100.0 None None NaN 2013 1 12 2013-01-12 2013-01-12 13:13:38 2013-01-12T13:13:38
61 62 T00439036 A00001493 Credit Collection from Another Bank 5009.0 5209.0 Old Age Pension JPMorgan Chase 54522466.0 2013 1 13 2013-01-13 2013-01-13 14:38:37 2013-01-13T14:38:37
62 63 T01100759 A00003760 Credit Credit in Cash 1000.0 1000.0 None None NaN 2013 1 13 2013-01-13 2013-01-13 15:18:01 2013-01-13T15:18:01
63 64 T00480215 A00001637 Credit Collection from Another Bank 5718.0 6218.0 Old Age Pension Bank of New York Mellon Corp. 45134812.0 2013 1 13 2013-01-13 2013-01-13 14:23:02 2013-01-13T14:23:02
64 65 T01548749 A00005270 Credit Credit in Cash 800.0 800.0 None None NaN 2013 1 13 2013-01-13 2013-01-13 13:11:54 2013-01-13T13:11:54
65 66 T00505241 A00001726 Credit Credit in Cash 13967.0 14967.0 None None NaN 2013 1 13 2013-01-13 2013-01-13 12:29:39 2013-01-13T12:29:39
66 67 T00846007 A00002881 Credit Credit in Cash 6959.0 7659.0 None None NaN 2013 1 13 2013-01-13 2013-01-13 14:39:11 2013-01-13T14:39:11
67 68 T01021121 A00003487 Credit Credit in Cash 15914.0 16714.0 None None NaN 2013 1 13 2013-01-13 2013-01-13 13:39:09 2013-01-13T13:39:09
68 69 T02908689 A00009635 Credit Collection from Another Bank 4470.0 4870.0 Old Age Pension Bank of America 37906074.0 2013 1 14 2013-01-14 2013-01-14 14:50:59 2013-01-14T14:50:59
69 70 T00858384 A00002926 Credit Credit in Cash 600.0 600.0 None None NaN 2013 1 14 2013-01-14 2013-01-14 10:12:59 2013-01-14T10:12:59
70 71 T00498389 A00001699 Credit Credit in Cash 800.0 800.0 None None NaN 2013 1 14 2013-01-14 2013-01-14 14:55:00 2013-01-14T14:55:00
71 72 T00699221 A00002393 Credit Credit in Cash 10737.0 11637.0 None None NaN 2013 1 14 2013-01-14 2013-01-14 14:59:01 2013-01-14T14:59:01
72 73 T01142758 A00003909 Credit Credit in Cash 700.0 700.0 None None NaN 2013 1 14 2013-01-14 2013-01-14 14:49:02 2013-01-14T14:49:02
73 74 T01548750 A00005270 Credit Collection from Another Bank 44749.0 45549.0 None Goldman Sachs 80269753.0 2013 1 14 2013-01-14 2013-01-14 09:52:52 2013-01-14T09:52:52
74 75 T00506836 A00001731 Credit Credit in Cash 200.0 200.0 None None NaN 2013 1 14 2013-01-14 2013-01-14 16:20:17 2013-01-14T16:20:17
75 76 T03393738 A00011265 Credit Credit in Cash 1000.0 1000.0 None None NaN 2013 1 14 2013-01-14 2013-01-14 11:58:13 2013-01-14T11:58:13
76 77 T00621775 A00002122 Credit Credit in Cash 46552.0 46852.0 None None NaN 2013 1 15 2013-01-15 2013-01-15 10:12:11 2013-01-15T10:12:11
77 78 T00737258 A00002519 Credit Credit in Cash 500.0 500.0 None None NaN 2013 1 15 2013-01-15 2013-01-15 15:25:00 2013-01-15T15:25:00
78 79 T00144549 A00000485 Credit Credit in Cash 13156.0 13456.0 None None NaN 2013 1 16 2013-01-16 2013-01-16 14:32:23 2013-01-16T14:32:23
79 80 T00435762 A00001481 Credit Credit in Cash 1000.0 1000.0 None None NaN 2013 1 17 2013-01-17 2013-01-17 14:42:51 2013-01-17T14:42:51
80 81 T01027726 A00003510 Credit Credit in Cash 23323.0 23823.0 None None NaN 2013 1 17 2013-01-17 2013-01-17 08:48:50 2013-01-17T08:48:50
81 82 T03122924 A00010364 Credit Credit in Cash 1100.0 1100.0 None None NaN 2013 1 17 2013-01-17 2013-01-17 12:57:05 2013-01-17T12:57:05
82 83 T01176385 A00004034 Credit Credit in Cash 200.0 200.0 None None NaN 2013 1 18 2013-01-18 2013-01-18 15:59:05 2013-01-18T15:59:05
83 84 T00119435 A00000401 Credit Credit in Cash 300.0 300.0 None None NaN 2013 1 18 2013-01-18 2013-01-18 11:37:05 2013-01-18T11:37:05
84 85 T01100767 A00003760 Credit Credit in Cash 10792.0 11792.0 None None NaN 2013 1 18 2013-01-18 2013-01-18 10:17:03 2013-01-18T10:17:03
85 86 T00682546 A00002330 Credit Credit in Cash 200.0 200.0 None None NaN 2013 1 19 2013-01-19 2013-01-19 09:28:59 2013-01-19T09:28:59
86 87 T00529772 A00001806 Credit Credit in Cash 400.0 400.0 None None NaN 2013 1 19 2013-01-19 2013-01-19 15:16:58 2013-01-19T15:16:58
87 88 T01121963 A00003834 Credit Credit in Cash 700.0 700.0 None None NaN 2013 1 19 2013-01-19 2013-01-19 09:34:56 2013-01-19T09:34:56
88 89 T00359511 A00001222 Credit Credit in Cash 700.0 700.0 None None NaN 2013 1 20 2013-01-20 2013-01-20 11:07:02 2013-01-20T11:07:02
89 90 T00063712 A00000212 Credit Credit in Cash 200.0 200.0 None None NaN 2013 1 20 2013-01-20 2013-01-20 12:29:33 2013-01-20T12:29:33
90 91 T00298978 A00001019 Credit Credit in Cash 1100.0 1100.0 None None NaN 2013 1 21 2013-01-21 2013-01-21 15:60:16 2013-01-21T15:60:16
91 92 T00136957 A00000459 Credit Credit in Cash 1000.0 1000.0 None None NaN 2013 1 21 2013-01-21 2013-01-21 11:07:56 2013-01-21T11:07:56
92 93 T00135814 A00000456 Credit Credit in Cash 700.0 700.0 None None NaN 2013 1 21 2013-01-21 2013-01-21 08:28:34 2013-01-21T08:28:34
93 94 T00226654 A00000772 Credit Credit in Cash 500.0 500.0 None None NaN 2013 1 21 2013-01-21 2013-01-21 08:31:17 2013-01-21T08:31:17
94 95 T03402664 A00011295 Credit Credit in Cash 1100.0 1100.0 None None NaN 2013 1 21 2013-01-21 2013-01-21 13:38:31 2013-01-21T13:38:31
95 96 T00695250 A00002378 Credit Credit in Cash 7268.0 7968.0 None None NaN 2013 1 22 2013-01-22 2013-01-22 14:43:54 2013-01-22T14:43:54
96 97 T00451890 A00001536 Credit Credit in Cash 300.0 300.0 None None NaN 2013 1 22 2013-01-22 2013-01-22 11:17:36 2013-01-22T11:17:36
97 98 T00785190 A00002676 Credit Credit in Cash 200.0 200.0 None None NaN 2013 1 22 2013-01-22 2013-01-22 08:36:26 2013-01-22T08:36:26
98 99 T00615548 A00002099 Credit Credit in Cash 16125.0 17225.0 None None NaN 2013 1 22 2013-01-22 2013-01-22 15:37:35 2013-01-22T15:37:35
99 100 T00871631 A00002970 Credit Credit in Cash 400.0 400.0 None None NaN 2013 1 22 2013-01-22 2013-01-22 11:08:59 2013-01-22T11:08:59
Source tables may have typos, unclear names, incorrect column types, etc. We clean these tables.

stg_completedorder (first 100 rows)

customer_account_id recipient_bank_code transaction_amount payment_type recipient_account_number transaction_id
0 A00000001 YZ 2452.0 Household Payment 87144583 29401
1 A00000002 ST 3372.7 Loan Payment 89597016 29402
2 A00000002 QR 7266.0 Household Payment 13943797 29403
3 A00000003 WX 1135.0 Household Payment 83084338 29404
4 A00000003 CD 327.0 None 24485939 29405
5 A00000003 AB 3539.0 Insurance Payment 59972357 29406
6 A00000004 UV 2078.0 Household Payment 26693541 29407
7 A00000004 UV 1285.0 Household Payment 5848086 29408
8 A00000005 GH 2668.0 Household Payment 37390208 29409
9 A00000006 AB 3954.0 Household Payment 44486999 29410
10 A00000007 IJ 4880.0 Household Payment 34452903 29411
11 A00000008 UV 2612.0 Household Payment 12510681 29412
12 A00000008 IJ 6712.0 None 93210345 29413
13 A00000010 UV 7033.0 Household Payment 18686104 29414
14 A00000010 QR 1344.0 Leasing Payment 93182509 29415
15 A00000025 AB 1110.0 None 79838293 29433
16 A00000025 WX 164.0 Insurance Payment 52864879 29434
17 A00000026 EF 10387.0 Household Payment 12891853 29435
18 A00000027 CD 4054.0 Household Payment 28175699 29436
19 A00000029 ST 6871.0 Household Payment 32924878 29439
20 A00000029 MN 829.0 None 93088209 29440
21 A00000029 UV 8.0 Insurance Payment 41335338 29441
22 A00000030 EF 2480.2 Leasing Payment 66168540 29442
23 A00000031 ST 10202.0 Household Payment 42430687 29443
24 A00000033 KL 3892.0 Household Payment 33047658 29444
25 A00000034 WX 1479.0 Leasing Payment 21845197 29445
26 A00000034 GH 502.0 Household Payment 19993174 29446
27 A00000034 IJ 6070.0 None 58999049 29447
28 A00000035 MN 1022.0 Household Payment 56788617 29448
29 A00000035 MN 1362.0 Household Payment 99848401 29449
30 A00000036 CD 4069.0 Household Payment 80693810 29450
31 A00000037 QR 5307.5 Loan Payment 71644407 29451
32 A00000037 IJ 2317.0 Household Payment 29728555 29452
33 A00000037 OP 2584.0 None 23782724 29453
34 A00000037 YZ 97.0 Insurance Payment 89609831 29454
35 A00000038 QR 2306.8 Loan Payment 79067885 29455
36 A00000038 EF 6901.0 Household Payment 2692229 29456
37 A00000038 KL 231.0 None 83435654 29457
38 A00000038 OP 228.0 Insurance Payment 64685678 29458
39 A00000039 CD 145.0 Household Payment 77015351 29459
40 A00000039 WX 2970.0 Household Payment 949460 29460
41 A00000040 ST 33.0 Household Payment 31161588 29461
42 A00000040 MN 4301.0 None 96111678 29462
43 A00000042 CD 4239.0 Household Payment 1007766 29463
44 A00000042 KL 239.0 None 55873340 29464
45 A00000042 YZ 1592.0 Insurance Payment 38318204 29465
46 A00000043 CD 6589.0 Household Payment 89718746 29466
47 A00000011 ST 2132.0 Household Payment 38470870 29416
48 A00000012 CD 297.0 Household Payment 23010808 29417
49 A00000012 KL 3295.0 Household Payment 63607060 29418
50 A00000013 EF 2444.0 Household Payment 35443323 29419
51 A00000014 WX 3629.0 Household Payment 11793136 29420
52 A00000015 KL 3072.0 Household Payment 24265569 29421
53 A00000017 EF 4032.0 Household Payment 15076423 29422
54 A00000019 QR 2523.2 Loan Payment 14132368 29423
55 A00000020 AB 2003.0 Household Payment 3399968 29425
56 A00000021 YZ 6276.0 Household Payment 60152441 29426
57 A00000022 ST 6352.0 Household Payment 34691494 29427
58 A00000023 MN 5807.0 Household Payment 20774019 29428
59 A00000024 IJ 221.0 Household Payment 50810194 29429
60 A00000024 QR 7641.0 None 46086388 29430
61 A00000025 YZ 2523.2 Loan Payment 1301700 29431
62 A00000025 IJ 6817.0 Household Payment 4896235 29432
63 A00000044 GH 2344.0 Household Payment 11344862 29467
64 A00000047 KL 6940.0 Household Payment 76620852 29470
65 A00000047 KL 174.0 None 37438374 29471
66 A00000047 EF 141.0 Insurance Payment 83359431 29472
67 A00000047 UV 9.0 None 30289006 29473
68 A00000048 AB 6268.0 Household Payment 50218236 29474
69 A00000048 ST 1029.0 None 2071685 29475
70 A00000049 CD 3102.0 Household Payment 83233099 29476
71 A00000050 WX 269.0 Household Payment 75148117 29477
72 A00000050 UV 7024.0 None 17270559 29478
73 A00000051 KL 2074.0 Household Payment 71050131 29479
74 A00000051 KL 2057.0 None 74449389 29480
75 A00000052 EF 560.0 Household Payment 6008005 29481
76 A00000052 QR 3723.0 None 85721850 29482
77 A00000053 MN 2851.0 Household Payment 81024360 29483
78 A00000054 IJ 2280.0 Household Payment 90659772 29484
79 A00000055 EF 3086.0 Household Payment 53077900 29485
80 A00000056 KL 8080.0 Household Payment 73539948 29486
81 A00000057 YZ 4107.0 Household Payment 55066728 29487
82 A00000059 IJ 695.0 Household Payment 38201576 29489
83 A00000059 ST 6190.0 None 65394794 29490
84 A00000061 EF 1645.0 Household Payment 20533621 29493
85 A00000061 IJ 668.0 Household Payment 20426410 29494
86 A00000062 EF 2273.0 Household Payment 80010622 29495
87 A00000063 CD 2237.0 Household Payment 85474604 29496
88 A00000063 EF 157.0 Household Payment 8346772 29497
89 A00000065 YZ 686.0 Household Payment 74934333 29498
90 A00000065 CD 3315.0 None 20976132 29499
91 A00000065 GH 3401.0 Insurance Payment 7764506 29500
92 A00000066 GH 4471.3 Leasing Payment 17993182 29501
93 A00000067 YZ 6915.0 Loan Payment 45128363 29502
94 A00000067 YZ 6393.0 Household Payment 57342255 29503
95 A00000067 UV 445.0 None 59079301 29504
96 A00000068 WX 1705.0 Household Payment 86834001 29505
97 A00000068 IJ 1186.0 None 8292192 29506
98 A00000068 ST 137.0 Insurance Payment 34692824 29507
99 A00000068 MN 61.0 None 92248808 29508

stg_completedorder.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
WITH 
"completedorder_renamed" AS (
    -- Rename: Renaming columns
    -- order_id -> transaction_id
    -- account_id -> customer_account_id
    -- bank_to -> recipient_bank_code
    -- account_to -> recipient_account_number
    -- amount -> transaction_amount
    -- k_symbol -> payment_type
    SELECT 
        "order_id" AS "transaction_id",
        "account_id" AS "customer_account_id",
        "bank_to" AS "recipient_bank_code",
        "account_to" AS "recipient_account_number",
        "amount" AS "transaction_amount",
        "k_symbol" AS "payment_type"
    FROM "completedorder"
),

"completedorder_renamed_casted" AS (
    -- Column Type Casting: 
    -- recipient_account_number: from INT to VARCHAR
    -- transaction_id: from INT to VARCHAR
    SELECT
        "customer_account_id",
        "recipient_bank_code",
        "transaction_amount",
        "payment_type",
        CAST("recipient_account_number" AS VARCHAR) AS "recipient_account_number",
        CAST("transaction_id" AS VARCHAR) AS "transaction_id"
    FROM "completedorder_renamed"
)

-- COCOON BLOCK END
SELECT * FROM "completedorder_renamed_casted"

stg_completedorder.yml (Document the table)

version: 2
models:
- name: stg_completedorder
  description: The table is about completed orders. It includes details such as order
    ID, account ID of the customer, recipient bank and account, transaction amount,
    and payment type. Each row represents a single completed order with its specific
    details. The table tracks financial transactions and their purposes, like household
    or loan payments.
  columns:
  - name: customer_account_id
    description: Customer's unique account identifier
    tests:
    - not_null
    cocoon_meta:
      patterns:
      - regex: A\d{8}
        summary: Customer account IDs starting with 'A' followed by 8 digits
  - name: recipient_bank_code
    description: Recipient's bank code
    tests:
    - not_null
    - accepted_values:
        values:
        - AB
        - CD
        - EF
        - GH
        - IJ
        - KL
        - MN
        - OP
        - QR
        - ST
        - UV
        - WX
        - YZ
        - AA
        - BB
        - CC
        - DD
        - EE
        - FF
        - GG
        - HH
        - II
        - JJ
        - KK
        - LL
        - MM
  - name: transaction_amount
    description: Transaction amount in currency units
    tests:
    - not_null
  - name: payment_type
    description: Type or purpose of the payment
    tests:
    - accepted_values:
        values:
        - Household Payment
        - Insurance Payment
        - Leasing Payment
        - Loan Payment
        - Mortgage Payment
        - Rent Payment
        - Utility Payment
        - Credit Card Payment
        - Tax Payment
        - Subscription Payment
        - Medical Payment
        - Education Payment
        - Investment Payment
        - Charitable Donation
        - Legal Fee Payment
        - Business Expense
        - Travel Expense
        - Entertainment Expense
        - Grocery Payment
        - Transportation Payment
    cocoon_meta:
      missing_acceptable: Transactions without a specific payment category.
  - name: recipient_account_number
    description: Recipient's account number
    tests:
    - not_null
  - name: transaction_id
    description: Unique identifier for the transaction order
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: This column is described as a unique identifier for the transaction
        order. For this table, each row represents a single completed order. As it's
        explicitly stated to be a unique identifier, it should be unique across all
        rows.

stg_completedloan (first 100 rows)

loan_id account_id loan_amount loan_term_months monthly_payment loan_status start_year start_month start_day location_code loan_purpose loan_start_date loan_start_fulldate
0 5657.0 A00003354 4980 12 415 A 2014 7 5 59 car 2014-07-05 2014-07-05
1 6234.0 A00006061 5148 12 429 C 2018 5 28 1 car 2018-05-28 2018-05-28
2 6699.0 A00008330 7656 24 319 A 2014 3 30 1 car 2014-03-30 2014-03-30
3 6688.0 A00008268 8616 24 359 C 2017 9 26 1 car 2017-09-26 2017-09-26
4 6312.0 A00006453 10944 36 304 C 2018 5 17 1 car 2018-05-17 2018-05-17
5 6019.0 A00005033 11400 12 950 A 2016 7 25 1 car 2016-07-25 2016-07-25
6 6229.0 A00006040 11736 24 489 A 2014 10 2 1 car 2014-10-02 2014-10-02
7 5103.0 A00000666 12540 12 1045 A 2017 11 28 64 debt_consolidation 2017-11-28 2017-11-28
8 6539.0 A00007559 12792 12 1066 C 2018 7 11 1 car 2018-07-11 2018-07-11
9 5718.0 A00003637 14028 12 1169 A 2017 9 1 1 car 2017-09-01 2017-09-01
10 6064.0 A00005215 14628 12 1219 A 2014 8 4 1 car 2014-08-04 2014-08-04
11 5897.0 A00004476 15192 24 633 A 2016 9 25 1 car 2016-09-25 2016-09-25
12 5599.0 A00003064 15420 12 1285 A 2015 3 21 18 car 2015-03-21 2015-03-21
13 6852.0 A00009140 16032 48 334 C 2018 11 10 1 car 2018-11-10 2018-11-10
14 6377.0 A00006792 17184 12 1432 A 2017 3 17 1 debt_consolidation 2017-03-17 2017-03-17
15 6297.0 A00006363 17508 12 1459 A 2014 10 25 1 car 2014-10-25 2014-10-25
16 5463.0 A00002413 17952 12 1496 C 2018 10 6 59 car 2018-10-06 2018-10-06
17 6942.0 A00009513 18324 12 1527 A 2017 7 16 1 car 2017-07-16 2017-07-16
18 5740.0 A00003752 18564 12 1547 A 2015 4 2 1 debt_consolidation 2015-04-02 2015-04-02
19 7230.0 A00010954 18720 60 312 C 2017 4 2 1 car 2017-04-02 2017-04-02
20 7034.0 A00010001 19044 36 529 C 2016 7 11 1 car 2016-07-11 2016-07-11
21 5651.0 A00003329 19248 12 1604 A 2017 12 8 59 car 2017-12-08 2017-12-08
22 5429.0 A00002268 20196 36 561 C 2016 7 18 59 car 2016-07-18 2016-07-18
23 5922.0 A00004580 20220 12 1685 A 2015 8 5 1 car 2015-08-05 2015-08-05
24 6043.0 A00005126 20352 48 424 C 2016 1 11 1 debt_consolidation 2016-01-11 2016-01-11
25 6591.0 A00007819 20832 48 434 C 2015 2 2 1 car 2015-02-02 2015-02-02
26 6721.0 A00008475 21072 24 878 A 2014 1 21 1 car 2014-01-21 2014-01-21
27 5980.0 A00004825 21396 12 1783 A 2015 8 18 1 car 2015-08-18 2015-08-18
28 6600.0 A00007861 21852 36 607 A 2015 10 8 1 car 2015-10-08 2015-10-08
29 7121.0 A00010364 21924 36 609 A 2013 11 10 1 debt_consolidation 2013-11-10 2013-11-10
30 7072.0 A00010148 22104 12 1842 C 2018 1 27 1 debt_consolidation 2018-01-27 2018-01-27
31 5147.0 A00000938 22260 60 371 C 2018 5 21 64 debt_consolidation 2018-05-21 2018-05-21
32 6052.0 A00005164 22356 36 621 C 2018 3 23 1 car 2018-03-23 2018-03-23
33 5382.0 A00002134 22932 36 637 C 2017 3 17 59 car 2017-03-17 2017-03-17
34 6354.0 A00006688 22968 36 638 C 2016 10 23 1 car 2016-10-23 2016-10-23
35 5754.0 A00003834 23052 12 1921 A 2014 9 28 1 home_improvement 2014-09-28 2014-09-28
36 6878.0 A00009242 23184 12 1932 A 2017 1 24 1 debt_consolidation 2017-01-24 2017-01-24
37 5384.0 A00002142 23328 12 1944 C 2018 3 7 59 car 2018-03-07 2018-03-07
38 7139.0 A00010445 23412 12 1951 C 2018 1 22 1 debt_consolidation 2018-01-22 2018-01-22
39 5229.0 A00001329 23520 12 1960 A 2017 9 6 64 home_improvement 2017-09-06 2017-09-06
40 5723.0 A00003674 23628 12 1969 A 2014 9 10 1 debt_consolidation 2014-09-10 2014-09-10
41 7187.0 A00010711 24180 60 403 C 2017 12 24 1 car 2017-12-24 2017-12-24
42 5130.0 A00000813 24312 12 2026 A 2014 5 11 64 debt_consolidation 2014-05-11 2014-05-11
43 5479.0 A00002486 24516 12 2043 A 2014 1 10 59 home_improvement 2014-01-10 2014-01-10
44 5584.0 A00002986 24792 24 1033 C 2017 12 6 18 debt_consolidation 2017-12-06 2017-12-06
45 6407.0 A00006930 25944 24 1081 A 2014 5 26 1 home_improvement 2014-05-26 2014-05-26
46 6242.0 A00006097 26208 36 728 C 2017 10 22 1 debt_consolidation 2017-10-22 2017-10-22
47 5005.0 A00000176 27456 12 2288 A 2017 4 10 1 debt_consolidation 2017-04-10 2017-04-10
48 6578.0 A00007765 27984 12 2332 A 2015 12 11 1 debt_consolidation 2015-12-11 2015-12-11
49 6227.0 A00006030 28248 24 1177 A 2015 3 4 1 debt_consolidation 2015-03-04 2015-03-04
50 6865.0 A00009199 29448 12 2454 B 2016 9 11 1 debt_consolidation 2016-09-11 2016-09-11
51 6676.0 A00008159 29784 24 1241 A 2015 6 13 1 debt_consolidation 2015-06-13 2015-06-13
52 5620.0 A00003161 30012 12 2501 C 2018 6 16 18 home_improvement 2018-06-16 2018-06-16
53 5311.0 A00001766 30060 60 501 C 2016 6 15 64 debt_consolidation 2016-06-15 2016-06-15
54 6501.0 A00007418 30276 12 2523 B 2016 4 29 1 home_improvement 2016-04-29 2016-04-29
55 4961.0 A00000019 30276 12 2523 B 2016 4 29 1 debt_consolidation 2016-04-29 2016-04-29
56 6502.0 A00007424 30276 12 2523 A 2017 12 8 1 debt_consolidation 2017-12-08 2017-12-08
57 4962.0 A00000025 30276 12 2523 A 2017 12 8 1 debt_consolidation 2017-12-08 2017-12-08
58 7200.0 A00010799 31140 60 519 C 2018 7 11 1 debt_consolidation 2018-07-11 2018-07-11
59 6185.0 A00005774 31176 24 1299 A 2015 11 28 1 debt_consolidation 2015-11-28 2015-11-28
60 5576.0 A00002962 31248 12 2604 A 2014 12 21 18 debt_consolidation 2014-12-21 2014-12-21
61 7110.0 A00010345 31260 12 2605 C 2018 1 21 1 home_improvement 2018-01-21 2018-01-21
62 6970.0 A00009677 31620 60 527 C 2017 6 17 1 debt_consolidation 2017-06-17 2017-06-17
63 6546.0 A00007607 31728 24 1322 A 2015 3 27 1 home_improvement 2015-03-27 2015-03-27
64 6130.0 A00005541 32640 48 680 C 2016 7 18 1 debt_consolidation 2016-07-18 2016-07-18
65 6758.0 A00008742 33144 12 2762 A 2017 7 29 1 debt_consolidation 2017-07-29 2017-07-29
66 5932.0 A00004626 33348 12 2779 A 2017 6 18 1 debt_consolidation 2017-06-18 2017-06-18
67 6764.0 A00008776 33984 48 708 C 2015 8 26 1 debt_consolidation 2015-08-26 2015-08-26
68 6310.0 A00006440 34572 12 2881 A 2017 6 17 1 debt_consolidation 2017-06-17 2017-06-17
69 6643.0 A00008038 35856 24 1494 C 2018 1 18 1 debt_consolidation 2018-01-18 2018-01-18
70 5207.0 A00001244 35904 48 748 C 2017 2 28 64 home_improvement 2017-02-28 2017-02-28
71 7008.0 A00009897 36168 12 3014 A 2015 9 22 1 debt_consolidation 2015-09-22 2015-09-22
72 6682.0 A00008225 36204 12 3017 D 2018 3 30 1 home_improvement 2018-03-30 2018-03-30
73 6929.0 A00009472 36396 12 3033 A 2015 5 8 1 debt_consolidation 2015-05-08 2015-05-08
74 6306.0 A00006425 36684 12 3057 A 2014 12 20 1 debt_consolidation 2014-12-20 2014-12-20
75 7096.0 A00010257 37812 12 3151 C 2018 9 2 1 home_improvement 2018-09-02 2018-09-02
76 6362.0 A00006738 37908 12 3159 A 2015 10 31 1 debt_consolidation 2015-10-31 2015-10-31
77 5332.0 A00001869 37944 36 1054 C 2018 1 29 64 home_improvement 2018-01-29 2018-01-29
78 6820.0 A00009034 38148 12 3179 A 2013 12 16 1 debt_consolidation 2013-12-16 2013-12-16
79 6321.0 A00006505 38496 12 3208 C 2018 10 8 1 home_improvement 2018-10-08 2018-10-08
80 5358.0 A00002018 38520 12 3210 A 2017 1 21 59 debt_consolidation 2017-01-21 2017-01-21
81 5634.0 A00003229 39024 12 3252 A 2017 5 1 59 home_improvement 2017-05-01 2017-05-01
82 7294.0 A00011327 39168 24 1632 C 2018 9 27 1 debt_consolidation 2018-09-27 2018-09-27
83 6888.0 A00009265 39576 12 3298 A 2014 7 11 1 home_improvement 2014-07-11 2014-07-11
84 6887.0 A00009263 39576 12 3298 A 2017 5 8 1 debt_consolidation 2017-05-08 2017-05-08
85 5665.0 A00003390 40632 12 3386 C 2018 3 11 1 home_improvement 2018-03-11 2018-03-11
86 5582.0 A00002982 41256 12 3438 C 2018 4 17 18 debt_consolidation 2018-04-17 2018-04-17
87 5808.0 A00004099 41856 48 872 C 2017 7 31 1 debt_consolidation 2017-07-31 2017-07-31
88 6895.0 A00009307 41904 12 3492 A 2014 9 19 1 debt_consolidation 2014-09-19 2014-09-19
89 6535.0 A00007546 41952 12 3496 A 2015 11 2 1 home_improvement 2015-11-02 2015-11-02
90 5841.0 A00004268 41988 12 3499 C 2018 11 4 1 debt_consolidation 2018-11-04 2018-11-04
91 6553.0 A00007636 42384 12 3532 C 2018 1 26 1 home_improvement 2018-01-26 2018-01-26
92 5046.0 A00000349 42816 12 3568 C 2018 9 9 70 debt_consolidation 2018-09-09 2018-09-09
93 6727.0 A00008505 42840 12 3570 A 2017 12 10 1 debt_consolidation 2017-12-10 2017-12-10
94 6621.0 A00007957 42900 12 3575 A 2017 6 14 1 debt_consolidation 2017-06-14 2017-06-14
95 6315.0 A00006472 43164 12 3597 A 2015 2 6 1 debt_consolidation 2015-02-06 2015-02-06
96 5313.0 A00001776 43200 24 1800 C 2018 5 27 64 debt_consolidation 2018-05-27 2018-05-27
97 5693.0 A00003489 44088 24 1837 A 2015 8 1 1 debt_consolidation 2015-08-01 2015-08-01
98 7087.0 A00010215 44304 24 1846 C 2017 2 20 1 home_improvement 2017-02-20 2017-02-20
99 6144.0 A00005593 44376 12 3698 A 2016 8 9 1 debt_consolidation 2016-08-09 2016-08-09

stg_completedloan.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
WITH 
"completedloan_renamed" AS (
    -- Rename: Renaming columns
    -- amount -> loan_amount
    -- duration -> loan_term_months
    -- payments -> monthly_payment
    -- status -> loan_status
    -- year_ -> start_year
    -- month_ -> start_month
    -- day_ -> start_day
    -- date_ -> loan_start_date
    -- fulldate -> loan_start_fulldate
    -- location -> location_code
    -- purpose -> loan_purpose
    SELECT 
        "loan_id",
        "account_id",
        "amount" AS "loan_amount",
        "duration" AS "loan_term_months",
        "payments" AS "monthly_payment",
        "status" AS "loan_status",
        "year_" AS "start_year",
        "month_" AS "start_month",
        "day_" AS "start_day",
        "date_" AS "loan_start_date",
        "fulldate" AS "loan_start_fulldate",
        "location" AS "location_code",
        "purpose" AS "loan_purpose"
    FROM "completedloan"
),

"completedloan_renamed_casted" AS (
    -- Column Type Casting: 
    -- loan_start_date: from VARCHAR to DATE
    -- loan_start_fulldate: from VARCHAR to DATE
    SELECT
        "loan_id",
        "account_id",
        "loan_amount",
        "loan_term_months",
        "monthly_payment",
        "loan_status",
        "start_year",
        "start_month",
        "start_day",
        "location_code",
        "loan_purpose",
        CAST("loan_start_date" AS DATE) AS "loan_start_date",
        CAST("loan_start_fulldate" AS DATE) AS "loan_start_fulldate"
    FROM "completedloan_renamed"
)

-- COCOON BLOCK END
SELECT * FROM "completedloan_renamed_casted"

stg_completedloan.yml (Document the table)

version: 2
models:
- name: stg_completedloan
  description: The table is about completed loans. It contains details of each loan
    including the loan ID, account ID, amount, duration, payments, status, date information,
    location, and purpose. Each row represents a single completed loan transaction.
    The table includes both successfully repaid loans (status A) and loans with issues
    (status C), primarily for car purchases.
  columns:
  - name: loan_id
    description: Unique identifier for the loan
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: This column represents a unique identifier for each loan. For this
        table, each row represents a single completed loan transaction. loan_id is
        unique across rows as it's designed to be a specific identifier for each loan.
  - name: account_id
    description: Unique identifier for the account
    tests:
    - not_null
    cocoon_meta:
      patterns:
      - regex: A\d{8}
        summary: Account IDs starting with 'A' followed by 8 digits
  - name: loan_amount
    description: Total loan amount in currency units
    tests:
    - not_null
  - name: loan_term_months
    description: Loan term in months
    tests:
    - not_null
  - name: monthly_payment
    description: Monthly payment amount
    tests:
    - not_null
  - name: loan_status
    description: 'Loan status (A: successful, C: issues)'
    tests:
    - not_null
    - accepted_values:
        values:
        - C
        - A
        - D
        - B
  - name: start_year
    description: Year of loan initiation
    tests:
    - not_null
  - name: start_month
    description: Month of loan initiation
    tests:
    - not_null
  - name: start_day
    description: Day of the month for loan initiation
    tests:
    - not_null
  - name: location_code
    description: Location code for the loan
    tests:
    - not_null
  - name: loan_purpose
    description: Purpose of the loan
    tests:
    - not_null
    - accepted_values:
        values:
        - home
        - debt_consolidation
        - home_improvement
        - car
        - business
        - education
        - medical
        - vacation
        - wedding
        - major_purchase
        - moving
        - renewable_energy
        - credit_card
        - other
  - name: loan_start_date
    description: Date of loan initiation
    tests:
    - not_null
  - name: loan_start_fulldate
    description: Full date of loan initiation
    tests:
    - not_null

stg_completeddistrict (first 100 rows)

district_id city state_name state_abbreviation census_region census_division
0 1 New York City New York NY Northeast Middle Atlantic
1 2 Jacksonville Florida FL South South Atlantic
2 3 Columbus Ohio OH Midwest East North Central
3 4 Charlotte North Carolina NC South South Atlantic
4 5 Indianapolis Indiana IN Northeast East North Central
5 6 Seattle Washington WA West Pacific
6 7 Denver Colorado CO West Mountain
7 8 Washington District of Columbia DC South South Atlantic
8 9 Boston Massachusetts MA Northeast New England
9 10 Detroit Michigan MI Midwest East North Central
10 11 Nashville Tennessee TN South East South Central
11 12 Portland Oregon OR West Pacific
12 13 Oklahoma City Oklahoma OK South West South Central
13 14 Las Vegas Nevada NV West Mountain
14 15 Louisville Kentucky KY South East South Central
15 16 Baltimore Maryland MD South South Atlantic
16 17 Milwaukee Wisconsin WI Midwest East North Central
17 18 Albuquerque New Mexico NM West Mountain
18 19 Atlanta Georgia GA South South Atlantic
19 20 Kansas City Missouri MO Midwest West North Central
20 21 Omaha Nebraska NE Midwest West North Central
21 22 Virginia Beach Virginia VA South South Atlantic
22 23 Minneapolis Minnesota MN Midwest West North Central
23 24 New Orleans Louisiana LA South West South Central
24 25 Wichita Kansas KS Midwest West North Central
25 26 Honolulu Hawaii HI West Pacific
26 27 San Antonio Texas TX South West South Central
27 28 Anchorage Alaska AK West Pacific
28 29 Newark New Jersey NJ Northeast Middle Atlantic
29 30 Boise Idaho ID West Mountain
30 31 Des Moines Iowa IA Midwest West North Central
31 32 Birmingham Alabama AL South East South Central
32 33 Salt Lake City Utah UT West Mountain
33 34 Little Rock Arkansas AR South West South Central
34 35 Sioux Falls South Dakota SD Midwest West North Central
35 36 Providence Rhode Island RI Northeast New England
36 37 Jackson Mississippi MS South East South Central
37 38 Bridgeport Connecticut CT Northeast New England
38 39 Charleston South Carolina SC South South Atlantic
39 40 Fargo North Dakota ND Midwest West North Central
40 41 Manchester New Hampshire NH Northeast New England
41 42 Billings Montana MT West Mountain
42 43 Wilmington Delaware DE South South Atlantic
43 44 Portland Maine ME Northeast New England
44 45 Cheyenne Wyoming WY West Mountain
45 46 San Diego California CA West Pacific
46 47 Charleston West Virginia WV South South Atlantic
47 48 Worcester Massachusetts MA Northeast New England
48 49 Burlington Vermont VT Northeast New England
49 50 Buffalo New York NY Northeast Middle Atlantic
50 51 Springfield Massachusetts MA Northeast New England
51 52 New Haven Connecticut CT Northeast New England
52 53 Hartford Connecticut CT Northeast New England
53 54 Houston Texas TX South West South Central
54 55 Lowell Massachusetts MA Northeast New England
55 56 Cambridge Massachusetts MA Northeast New England
56 57 New Bedford Massachusetts MA Northeast New England
57 58 Brockton Massachusetts MA Northeast New England
58 59 Quincy Massachusetts MA Northeast New England
59 60 Lynn Massachusetts MA Northeast New England
60 61 Fall River Massachusetts MA Northeast New England
61 62 Nashua New Hampshire NH Northeast New England
62 63 Norwalk Connecticut CT Northeast New England
63 64 Phoenix Arizona AZ West Mountain
64 65 Newton Massachusetts MA Northeast New England
65 66 Warwick Rhode Island RI Northeast New England
66 67 Danbury Connecticut CT Northeast New England
67 68 Cranston Rhode Island RI Northeast New England
68 69 Lawrence Massachusetts MA Northeast New England
69 70 Los Angeles California CA West Pacific
70 71 Somerville Massachusetts MA Northeast New England
71 72 Philadelphia Pennsylvania PA Northeast Middle Atlantic
72 73 New Britain Connecticut CT Northeast New England
73 74 Chicago Illinois IL Northeast East North Central
74 75 Rochester New York NY Northeast Middle Atlantic
75 76 Yonkers New York NY Northeast Middle Atlantic
76 77 Syracuse New York NY Northeast Middle Atlantic

stg_completeddistrict.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
WITH 
"completeddistrict_renamed" AS (
    -- Rename: Renaming columns
    -- state_abbrev -> state_abbreviation
    -- region -> census_region
    -- division -> census_division
    SELECT 
        "district_id",
        "city",
        "state_name",
        "state_abbrev" AS "state_abbreviation",
        "region" AS "census_region",
        "division" AS "census_division"
    FROM "completeddistrict"
)

-- COCOON BLOCK END
SELECT * FROM "completeddistrict_renamed"

stg_completeddistrict.yml (Document the table)

version: 2
models:
- name: stg_completeddistrict
  description: The table is about districts in the United States. It contains details
    of each district, including its unique ID, city name, state name, state abbreviation,
    region, and division. The table provides geographical and administrative information
    for various locations across the country.
  columns:
  - name: district_id
    description: Unique identifier for each district
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: This column represents a unique identifier for each district. For
        this table, each row corresponds to a distinct district. The district_id is
        designed to be unique across rows, ensuring that each district has a unique
        identifier.
  - name: city
    description: Name of the primary city in the district
    tests:
    - not_null
  - name: state_name
    description: Full name of the state
    tests:
    - not_null
  - name: state_abbreviation
    description: Two-letter abbreviation of the state
    tests:
    - not_null
  - name: census_region
    description: Broader geographic area containing multiple divisions
    tests:
    - not_null
    - accepted_values:
        values:
        - Northeast
        - South
        - West
        - Midwest
  - name: census_division
    description: Geographic subdivision within a region
    tests:
    - not_null
    - accepted_values:
        values:
        - New England
        - South Atlantic
        - Mountain
        - Middle Atlantic
        - West North Central
        - Pacific
        - East North Central
        - West South Central
        - East South Central

stg_completeddisposition (first 100 rows)

disposition_id client_id account_id relationship_type
0 D00000001 1.0 A00000001 Owner
1 D00000002 2.0 A00000002 Owner
2 D00000003 3.0 A00000002 User
3 D00000004 4.0 A00000003 Owner
4 D00000005 5.0 A00000003 User
5 D00000006 6.0 A00000004 Owner
6 D00000007 7.0 A00000005 Owner
7 D00000008 8.0 A00000006 Owner
8 D00000009 9.0 A00000007 Owner
9 D00000010 10.0 A00000008 Owner
10 D00000011 11.0 A00000008 User
11 D00000012 12.0 A00000009 Owner
12 D00000013 13.0 A00000010 Owner
13 D00000014 14.0 A00000011 Owner
14 D00000015 15.0 A00000012 Owner
15 D00000016 16.0 A00000012 User
16 D00000017 17.0 A00000013 Owner
17 D00000018 18.0 A00000013 User
18 D00000019 19.0 A00000014 Owner
19 D00000020 20.0 A00000015 Owner
20 D00000021 21.0 A00000016 Owner
21 D00000022 22.0 A00000017 Owner
22 D00000023 23.0 A00000017 User
23 D00000024 24.0 A00000018 Owner
24 D00000025 25.0 A00000019 Owner
25 D00000026 26.0 A00000020 Owner
26 D00000027 27.0 A00000021 Owner
27 D00000028 28.0 A00000022 Owner
28 D00000029 29.0 A00000023 Owner
29 D00000030 30.0 A00000024 Owner
30 D00000031 31.0 A00000025 Owner
31 D00000032 32.0 A00000026 Owner
32 D00000033 33.0 A00000027 Owner
33 D00000036 36.0 A00000029 Owner
34 D00000037 37.0 A00000029 User
35 D00000038 38.0 A00000030 Owner
36 D00000039 39.0 A00000031 Owner
37 D00000040 40.0 A00000032 Owner
38 D00000041 41.0 A00000033 Owner
39 D00000042 42.0 A00000034 Owner
40 D00000043 43.0 A00000035 Owner
41 D00000044 44.0 A00000036 Owner
42 D00000045 45.0 A00000037 Owner
43 D00000046 46.0 A00000038 Owner
44 D00000047 47.0 A00000039 Owner
45 D00000048 48.0 A00000040 Owner
46 D00000049 49.0 A00000041 Owner
47 D00000050 50.0 A00000042 Owner
48 D00000051 51.0 A00000043 Owner
49 D00000052 52.0 A00000044 Owner
50 D00000053 53.0 A00000045 Owner
51 D00000055 55.0 A00000047 Owner
52 D00000056 56.0 A00000048 Owner
53 D00000057 57.0 A00000048 User
54 D00000058 58.0 A00000049 Owner
55 D00000059 59.0 A00000050 Owner
56 D00000060 60.0 A00000051 Owner
57 D00000061 61.0 A00000052 Owner
58 D00000062 62.0 A00000053 Owner
59 D00000063 63.0 A00000054 Owner
60 D00000064 64.0 A00000055 Owner
61 D00000065 65.0 A00000056 Owner
62 D00000066 66.0 A00000057 Owner
63 D00000067 67.0 A00000058 Owner
64 D00000068 68.0 A00000059 Owner
65 D00000070 70.0 A00000061 Owner
66 D00000071 71.0 A00000061 User
67 D00000072 72.0 A00000062 Owner
68 D00000073 73.0 A00000063 Owner
69 D00000074 74.0 A00000063 User
70 D00000075 75.0 A00000064 Owner
71 D00000076 76.0 A00000065 Owner
72 D00000077 77.0 A00000066 Owner
73 D00000078 78.0 A00000067 Owner
74 D00000079 79.0 A00000068 Owner
75 D00000080 80.0 A00000069 Owner
76 D00000081 81.0 A00000070 Owner
77 D00000082 82.0 A00000070 User
78 D00000083 83.0 A00000071 Owner
79 D00000084 84.0 A00000071 User
80 D00000085 85.0 A00000072 Owner
81 D00000086 86.0 A00000072 User
82 D00000087 87.0 A00000073 Owner
83 D00000089 89.0 A00000075 Owner
84 D00000090 90.0 A00000076 Owner
85 D00000091 91.0 A00000077 Owner
86 D00000092 92.0 A00000078 Owner
87 D00000093 93.0 A00000079 Owner
88 D00000094 94.0 A00000080 Owner
89 D00000095 95.0 A00000080 User
90 D00000096 96.0 A00000081 Owner
91 D00000097 97.0 A00000082 Owner
92 D00000098 98.0 A00000083 Owner
93 D00000099 99.0 A00000083 User
94 D00000100 100.0 A00000084 Owner
95 D00000101 101.0 A00000085 Owner
96 D00000102 102.0 A00000086 Owner
97 D00000103 103.0 A00000086 User
98 D00000105 105.0 A00000088 Owner
99 D00000106 106.0 A00000089 Owner

stg_completeddisposition.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
WITH 
"completeddisposition_renamed" AS (
    -- Rename: Renaming columns
    -- disp_id -> disposition_id
    -- type -> relationship_type
    SELECT 
        "disp_id" AS "disposition_id",
        "client_id",
        "account_id",
        "type" AS "relationship_type"
    FROM "completeddisposition"
)

-- COCOON BLOCK END
SELECT * FROM "completeddisposition_renamed"

stg_completeddisposition.yml (Document the table)

version: 2
models:
- name: stg_completeddisposition
  description: The table is about completed dispositions. It shows the relationship
    between clients and accounts. Each disposition has a unique ID. It links a client
    to an account. The type field indicates whether the client is an owner or user
    of the account. This table allows tracking of account ownership and access rights
    for different clients.
  columns:
  - name: disposition_id
    description: Unique identifier for each disposition
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: This column is a unique identifier for each disposition. For this
        table, each row represents a distinct relationship between a client and an
        account. The disposition_id is unique across rows, as it's described as a
        "unique ID" in the table description.
      patterns:
      - regex: D\d{8}
        summary: Disposition IDs starting with 'D' followed by 8 digits
  - name: client_id
    description: Unique identifier for each client
    tests:
    - not_null
  - name: account_id
    description: Unique identifier for each bank account
    tests:
    - not_null
    cocoon_meta:
      patterns:
      - regex: A\d{8}
        summary: Account IDs starting with 'A' followed by 8 digits
  - name: relationship_type
    description: Indicates whether client is account owner or user
    tests:
    - not_null
    - accepted_values:
        values:
        - Owner
        - User

stg_CRM_Call_Center_Logs (first 100 rows)

complaint_id client_id caller_phone_number vru_line call_id call_priority call_type call_outcome agent_name call_date service_duration service_end_time service_start_time
0 CR2406263 4587.0 977-806-9726 AA0103 34536.0 0.0 NW None MICHAL 2017-03-27 00:06:12 13:40:23 13:34:11
1 CR2405641 3328.0 322-598-7152 AA0205 34537.0 0.0 PS None TOVA 2017-03-27 00:17:48 11:16:10 10:58:22
2 CR2405629 1685.0 508-311-5237 AA0110 34538.0 2.0 PS None YIFAT 2017-03-27 00:12:37 13:13:31 13:00:54
3 CR2400594 1945.0 265-394-2727 AA0113 34540.0 2.0 PS None AVNI 2017-03-23 00:01:19 16:19:40 16:18:21
4 CR2399607 4303.0 206-008-0460 AA0102 34541.0 1.0 PS None STEREN 2017-03-22 00:06:57 14:55:19 14:48:22
5 CR2398621 10209.0 617-060-9671 AA0203 34542.0 0.0 PS None ANAT 2017-03-22 00:17:01 09:32:44 09:15:43
6 CR2398447 4248.0 617-739-1926 AA0203 34543.0 0.0 PS None YIFAT 2017-03-22 00:08:20 11:41:36 11:33:16
7 CR2391104 375.0 508-906-6051 AA0102 34553.0 2.0 PS None TOVA 2017-03-16 00:12:48 14:23:31 14:10:43
8 CR2388840 2259.0 854-860-5683 AA0204 34554.0 2.0 PS None GILI 2017-03-15 00:14:32 14:45:46 14:31:14
9 CR2388580 3366.0 356-333-5984 AA0201 34555.0 1.0 PS None KAZAV 2017-03-15 00:15:13 16:38:04 16:22:51
10 CR2386079 9987.0 294-459-8475 AA0103 34557.0 2.0 NE None KAZAV 2017-03-14 00:08:24 11:20:04 11:11:40
11 CR2382372 1401.0 124-161-2235 AA0201 34559.0 0.0 PS None YITZ 2017-03-10 00:00:58 10:34:01 10:33:03
12 CR2376980 3545.0 472-217-3837 AA0110 34560.0 2.0 PS None DARMON 2017-03-09 00:13:28 10:35:22 10:21:54
13 CR2377263 4301.0 495-249-7895 AA0215 34561.0 0.0 PS None SHLOMO 2017-03-08 00:07:22 10:45:56 10:38:34
14 CR2378338 4528.0 463-191-1159 AA0215 34562.0 0.0 PS None MIKI 2017-03-08 00:07:09 17:06:41 16:59:32
15 CR2378433 1632.0 847-606-9704 AA0202 34563.0 0.0 PS None YIFAT 2017-03-08 00:08:54 16:55:11 16:46:17
16 CR2378816 3074.0 212-741-2757 AA0101 34564.0 0.0 NW None STEREN 2017-03-08 00:05:05 09:38:21 09:33:16
17 CR2376941 2354.0 212-022-5279 AA0213 34565.0 0.0 PS None GILI 2017-03-08 00:16:09 13:29:31 13:13:22
18 CR2374521 2508.0 909-238-3879 AA0106 34566.0 0.0 PS None MIKI 2017-03-07 00:10:35 13:11:03 13:00:28
19 CR2375008 4113.0 914-751-1865 AA0204 34567.0 0.0 NW None MICHAL 2017-03-07 00:19:45 11:01:00 10:41:15
20 CR2372694 4906.0 386-438-1635 AA0104 34568.0 0.0 PS None AVIDAN 2017-03-06 00:19:53 11:51:46 11:31:53
21 CR2373271 6366.0 817-770-7405 AA0103 34569.0 0.0 PS None AVIDAN 2017-03-06 00:07:11 12:58:13 12:51:02
22 CR2373496 4015.0 617-592-2307 AA0109 34570.0 0.0 PS None ZOHARI 2017-03-06 00:00:00 13:37:53 13:37:53
23 CR2374246 11804.0 893-107-7760 AA0103 34571.0 2.0 PS None SHLOMO 2017-03-06 00:19:54 17:02:48 16:42:54
24 CR2371358 4193.0 101-824-7809 AA0115 34572.0 2.0 PS None YIFAT 2017-03-03 00:09:57 11:54:42 11:44:45
25 CR2370069 13657.0 617-004-7243 AA0110 34573.0 0.0 NW None None 2017-03-03 00:13:52 12:23:52 12:10:00
26 CR2367546 1592.0 617-452-6384 AA0109 34578.0 1.0 PS None DORIT 2017-03-01 00:02:01 15:08:37 15:06:36
27 CR2364438 1950.0 678-731-5913 AA0105 34580.0 0.0 NW None AVNI 2017-02-28 00:00:37 14:28:41 14:28:04
28 CR2365383 4474.0 865-751-9494 AA0204 34581.0 2.0 PS None MIKI 2017-02-28 00:17:53 14:41:59 14:24:06
29 CR2363462 2806.0 508-791-3193 AA0201 34584.0 2.0 PS None AVNI 2017-02-27 00:20:19 09:31:01 09:10:42
30 CR2362129 11267.0 617-853-1807 AA0113 34585.0 1.0 PS None SHARON 2017-02-27 00:05:45 14:52:48 14:47:03
31 CR2360714 76.0 293-545-7588 AA0104 34586.0 0.0 NW None IDIT 2017-02-24 00:06:00 11:55:21 11:49:21
32 CR2357722 4541.0 401-778-6265 AA0115 34587.0 1.0 NW None SHLOMO 2017-02-23 00:13:54 10:49:20 10:35:26
33 CR2358198 3463.0 212-616-8813 AA0106 34588.0 2.0 PS None SHARON 2017-02-23 00:16:20 15:14:29 14:58:09
34 CR2355167 1029.0 212-333-2794 AA0215 34589.0 0.0 PS None BENSION 2017-02-22 00:13:02 13:39:18 13:26:16
35 CR2356522 2597.0 348-023-8834 AA0214 34590.0 0.0 PS None KAZAV 2017-02-22 00:18:25 12:43:11 12:24:46
36 CR2355552 7723.0 508-561-6860 AA0214 34591.0 1.0 PS None AVNI 2017-02-22 00:11:52 13:47:54 13:36:02
37 CR2356350 7127.0 456-256-2055 AA0210 34592.0 0.0 PS None TOVA 2017-02-22 00:11:22 16:35:57 16:24:35
38 CR2354272 446.0 505-839-7581 AA0109 34595.0 0.0 NW None MICHAL 2017-02-21 00:05:24 16:46:23 16:40:59
39 CR2354077 1753.0 781-292-5899 AA0201 34596.0 0.0 NW None MORIAH 2017-02-21 00:12:58 11:59:02 11:46:04
40 CR2353608 2480.0 161-776-5723 AA0203 34597.0 0.0 PS None TOVA 2017-02-21 00:03:43 09:42:07 09:38:24
41 CR2349304 2902.0 150-386-8887 AA0204 34598.0 2.0 PS None STEREN 2017-02-17 00:20:35 14:51:46 14:31:11
42 CR2347795 1122.0 298-650-1719 AA0105 34599.0 1.0 PS None GELBER 2017-02-16 00:10:17 13:29:04 13:18:47
43 CR2346999 1890.0 242-066-8207 AA0115 34602.0 2.0 PS None TOVA 2017-02-15 00:05:01 16:59:12 16:54:11
44 CR2344160 10828.0 212-376-3611 AA0102 34603.0 0.0 PS None YIFAT 2017-02-14 00:01:12 11:38:06 11:36:54
45 CR2343097 515.0 918-314-3728 AA0102 34604.0 0.0 NE None KAZAV 2017-02-14 00:04:14 13:23:18 13:19:04
46 CR2340997 3047.0 663-775-5494 AA0201 34607.0 2.0 PS None ANAT 2017-02-13 00:15:16 14:42:56 14:27:40
47 CR2341553 2578.0 914-297-7141 AA0214 34608.0 0.0 NW None TOVA 2017-02-13 00:01:18 13:22:55 13:21:37
48 CR2339177 2693.0 570-293-7736 AA0109 34610.0 0.0 PS None None 2017-02-10 00:03:07 09:19:33 09:16:26
49 CR2336561 9846.0 361-447-3343 AA0203 34611.0 0.0 NW None TOVA 2017-02-09 00:03:55 15:47:13 15:43:18
50 CR2336515 4735.0 799-709-6386 AA0201 34612.0 1.0 PS None TOVA 2017-02-09 00:05:38 13:35:43 13:30:05
51 CR2332670 10070.0 617-987-0617 AA0214 34614.0 0.0 PS None TOVA 2017-02-07 00:02:01 13:07:11 13:05:10
52 CR2330453 3907.0 197-430-7586 AA0213 34615.0 0.0 NE None GILI 2017-02-06 00:03:25 10:46:42 10:43:17
53 CR2330518 1408.0 238-765-9083 AA0202 34616.0 0.0 PS None KAZAV 2017-02-06 00:14:28 13:59:06 13:44:38
54 CR2324151 1013.0 894-336-4117 AA0214 34618.0 1.0 PS None STEREN 2017-02-02 00:12:24 14:45:25 14:33:01
55 CR2398401 486.0 478-749-3447 AA0204 34544.0 0.0 PS None TOVA 2017-03-22 00:12:36 15:17:45 15:05:09
56 CR2398768 2342.0 994-862-3218 AA0101 34545.0 0.0 NW None STEREN 2017-03-22 00:00:46 10:19:57 10:19:11
57 CR2397737 3730.0 617-161-9051 AA0205 34546.0 0.0 PS None YIFAT 2017-03-21 00:06:02 10:53:13 10:47:11
58 CR2398271 1891.0 953-476-9580 AA0105 34547.0 0.0 NW None MIKI 2017-03-21 00:11:31 14:31:52 14:20:21
59 CR2392378 3321.0 254-815-1076 AA0106 34549.0 1.0 PS None DORIT 2017-03-17 00:03:42 09:03:53 09:00:11
60 CR2392249 4218.0 508-495-9597 AA0102 34550.0 0.0 PS None AVNI 2017-03-17 00:04:17 12:42:25 12:38:08
61 CR2391330 4622.0 716-474-3082 AA0214 34551.0 2.0 PS None MORIAH 2017-03-16 00:15:03 10:56:57 10:41:54
62 CR2391051 4266.0 212-955-2224 AA0103 34552.0 0.0 NW None YIFAT 2017-03-16 00:08:26 14:45:13 14:36:47
63 CR2321678 3791.0 356-349-1063 AA0209 34619.0 2.0 PS None MORIAH 2017-02-02 00:04:07 14:08:05 14:03:58
64 CR2325187 1628.0 504-968-6745 AA0113 34620.0 0.0 NE None ELI 2017-02-02 00:18:28 14:29:46 14:11:18
65 CR2317826 1248.0 940-007-9030 AA0213 34622.0 0.0 PS None BASCH 2017-01-30 00:10:27 12:05:28 11:55:01
66 CR2317569 3475.0 924-456-1095 AA0107 34623.0 2.0 TT None None 2017-01-30 00:15:23 10:36:00 10:20:37
67 CR2317933 2151.0 508-174-5751 AA0206 34624.0 2.0 PS None ANAT 2017-01-30 00:10:06 11:42:47 11:32:41
68 CR2314643 1797.0 312-349-2628 AA0101 34626.0 0.0 PS None DORIT 2017-01-27 00:13:13 13:20:57 13:07:44
69 CR2314736 2226.0 312-080-0390 AA0105 34628.0 0.0 PS None SHARON 2017-01-27 00:05:16 11:05:56 11:00:40
70 CR2315474 3875.0 212-994-8696 AA0209 34629.0 2.0 PS None YITZ 2017-01-27 00:00:07 10:48:45 10:48:38
71 CR2310722 3657.0 248-634-7803 AA0205 34630.0 2.0 PS None MIKI 2017-01-25 00:19:21 14:47:31 14:28:10
72 CR2311288 11147.0 265-012-6222 AA0110 34631.0 2.0 PS None MIKI 2017-01-25 00:00:44 13:59:01 13:58:17
73 CR2310354 232.0 854-444-6236 AA0109 34632.0 2.0 PS None SHARON 2017-01-25 00:14:10 14:20:38 14:06:28
74 CR2308539 2503.0 281-754-2076 AA0104 34633.0 2.0 PS None MORIAH 2017-01-24 00:18:12 12:16:03 11:57:51
75 CR2305383 146.0 917-678-2836 AA0103 34634.0 2.0 PS None AVNI 2017-01-24 00:06:25 11:30:51 11:24:26
76 CR2305857 110.0 634-013-0057 AA0102 34635.0 2.0 PS None DARMON 2017-01-23 00:07:22 10:25:12 10:17:50
77 CR2301475 2268.0 910-018-0049 AA0214 34636.0 2.0 PS None MIKI 2017-01-20 00:03:02 12:17:58 12:14:56
78 CR2301210 4258.0 547-226-1341 AA0206 34637.0 1.0 PS None ANAT 2017-01-20 00:19:36 15:25:31 15:05:55
79 CR2301127 8489.0 585-787-6851 AA0203 34639.0 0.0 PS None TOVA 2017-01-20 00:13:43 16:43:15 16:29:32
80 CR2298291 3258.0 711-170-3148 AA0103 34640.0 2.0 PS None SHARON 2017-01-19 00:00:51 12:39:12 12:38:21
81 CR2294240 917.0 857-625-6519 AA0206 34642.0 0.0 PS None DARMON 2017-01-18 00:20:17 15:36:24 15:16:07
82 CR2292024 3067.0 508-728-2172 AA0204 34643.0 1.0 PS None YITZ 2017-01-18 00:05:36 13:26:26 13:20:50
83 CR2293938 3467.0 212-985-4873 AA0215 34644.0 0.0 PS None MORIAH 2017-01-18 00:09:33 15:51:52 15:42:19
84 CR2288912 3348.0 346-192-7574 AA0213 34646.0 0.0 NW None YIFAT 2017-01-13 00:16:00 10:12:22 09:56:22
85 CR2289056 2981.0 944-944-0200 AA0103 34647.0 0.0 PS None MORIAH 2017-01-13 00:19:16 14:36:07 14:16:51
86 CR2285660 2906.0 461-185-8491 AA0206 34648.0 0.0 PS None AVIDAN 2017-01-11 00:13:41 12:38:37 12:24:56
87 CR2283299 287.0 716-179-4777 AA0109 34649.0 0.0 NW None TOVA 2017-01-10 00:06:56 15:49:43 15:42:47
88 CR2283645 1394.0 674-781-6659 AA0205 34650.0 0.0 NW None YITZ 2017-01-10 00:16:39 13:50:25 13:33:46
89 CR2282295 2786.0 671-085-3435 AA0111 34651.0 0.0 TT None BASCH 2017-01-10 00:20:32 11:40:31 11:19:59
90 CR2281138 1199.0 644-160-4985 AA0215 34652.0 0.0 NW None MIKI 2017-01-09 00:14:39 15:51:58 15:37:19
91 CR2275944 3782.0 212-522-4265 AA0106 34653.0 0.0 PS None BENSION 2017-01-06 00:16:47 09:38:30 09:21:43
92 CR2279164 3909.0 459-262-9261 AA0115 34654.0 0.0 PS None GILI 2017-01-06 00:03:26 10:42:02 10:38:36
93 CR2279262 4514.0 617-286-0356 AA0108 34655.0 0.0 TT None STEREN 2017-01-06 00:09:30 16:18:02 16:08:32
94 CR2273074 1529.0 184-946-5589 AA0204 34656.0 0.0 PS None AVNI 2017-01-03 00:00:48 13:13:46 13:12:58
95 CR2272555 4275.0 411-416-0778 AA0209 34657.0 0.0 PS None SHARON 2017-01-03 00:08:25 14:49:22 14:40:57
96 CR2272801 2430.0 996-964-9510 AA0215 34658.0 0.0 NW None STEREN 2017-01-03 00:13:35 17:08:11 16:54:36
97 CR2267388 1121.0 617-927-2995 AA0110 34659.0 0.0 PS None YIFAT 2016-12-28 00:07:55 11:42:41 11:34:46
98 CR2264142 1434.0 946-732-1068 AA0101 34662.0 0.0 PS None YIFAT 2016-12-27 00:10:14 13:27:12 13:16:58
99 CR2264909 5325.0 755-055-9989 AA0110 34663.0 2.0 NE None IDIT 2016-12-27 00:10:39 16:52:04 16:41:25

stg_CRM_Call_Center_Logs.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
WITH 
"CRM_Call_Center_Logs_renamed" AS (
    -- Rename: Renaming columns
    -- date_received -> call_date
    -- rand_client -> client_id
    -- phonefinal -> caller_phone_number
    -- priority -> call_priority
    -- type -> call_type
    -- outcome -> call_outcome
    -- server -> agent_name
    -- ser_start -> service_start_time
    -- ser_exit -> service_end_time
    -- ser_time -> service_duration
    SELECT 
        "date_received" AS "call_date",
        "complaint_id",
        "rand_client" AS "client_id",
        "phonefinal" AS "caller_phone_number",
        "vru_line",
        "call_id",
        "priority" AS "call_priority",
        "type" AS "call_type",
        "outcome" AS "call_outcome",
        "server" AS "agent_name",
        "ser_start" AS "service_start_time",
        "ser_exit" AS "service_end_time",
        "ser_time" AS "service_duration"
    FROM "CRM_Call_Center_Logs"
),

"CRM_Call_Center_Logs_renamed_cleaned" AS (
    -- Clean unusual string values: 
    -- call_outcome: The problem is that 'AGENT' being the only value in the call_outcome column is unusual and likely incorrect. Call outcomes typically have multiple possibilities such as 'Answered', 'Voicemail', 'Busy', 'No Answer', etc. The 'AGENT' value seems to be a placeholder or default value that was incorrectly used for all entries. Without more context or data about the actual outcomes of the calls, it's not possible to map this to correct values. The most appropriate action would be to mark this data as unknown or missing. 
    -- agent_name: The problem is that 'NO_SERVER' is an unusual value in a column of personal names. It appears to be a system-related value rather than a person's name. All other values follow the pattern of being personal names, either first names or surnames. The correct values should all be personal names, and 'NO_SERVER' should be handled differently as it likely indicates a missing or unavailable agent. 
    SELECT
        "call_date",
        "complaint_id",
        "client_id",
        "caller_phone_number",
        "vru_line",
        "call_id",
        "call_priority",
        "call_type",
        CASE
            WHEN "call_outcome" = 'AGENT' THEN NULL
            ELSE "call_outcome"
        END AS "call_outcome",
        CASE
            WHEN "agent_name" = 'NO_SERVER' THEN NULL
            ELSE "agent_name"
        END AS "agent_name",
        "service_start_time",
        "service_end_time",
        "service_duration"
    FROM "CRM_Call_Center_Logs_renamed"
),

"CRM_Call_Center_Logs_renamed_cleaned_casted" AS (
    -- Column Type Casting: 
    -- call_date: from VARCHAR to DATE
    -- service_duration: from VARCHAR to TIME
    -- service_end_time: from VARCHAR to TIME
    -- service_start_time: from VARCHAR to TIME
    SELECT
        "complaint_id",
        "client_id",
        "caller_phone_number",
        "vru_line",
        "call_id",
        "call_priority",
        "call_type",
        "call_outcome",
        "agent_name",
        CAST("call_date" AS DATE) AS "call_date",
        CAST("service_duration" AS TIME) AS "service_duration",
        CAST("service_end_time" AS TIME) AS "service_end_time",
        CAST("service_start_time" AS TIME) AS "service_start_time"
    FROM "CRM_Call_Center_Logs_renamed_cleaned"
)

-- COCOON BLOCK END
SELECT * FROM "CRM_Call_Center_Logs_renamed_cleaned_casted"

stg_CRM_Call_Center_Logs.yml (Document the table)

version: 2
models:
- name: stg_CRM_Call_Center_Logs
  description: The table is about call center logs. It contains details of customer
    complaints received. Each row represents a single call. It includes information
    like date, complaint ID, client ID, phone number, priority, call type, outcome,
    server name, and service time. The table tracks various aspects of each call from
    start to finish.
  columns:
  - name: complaint_id
    description: Unique identifier for each complaint
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: This column represents a unique identifier for each complaint. For
        this table, each row is for a single call/complaint. complaint_id appears
        to be unique across rows.
      patterns:
      - regex: CR\d{7}
        summary: Complaint IDs starting with 'CR' followed by 7 digits
  - name: client_id
    description: Random identifier for the client
    tests:
    - not_null
  - name: caller_phone_number
    description: Phone number of the caller
    tests:
    - not_null
    cocoon_meta:
      patterns:
      - regex: \d{3}-\d{3}-\d{4}
        summary: Phone numbers in the format of XXX-XXX-XXXX where X is a digit
  - name: vru_line
    description: VRU line identifier
    tests:
    - not_null
  - name: call_id
    description: Unique identifier for each call
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: This column represents a unique identifier for each call. For this
        table, each row is for a single call/complaint. call_id appears to be unique
        across rows.
  - name: call_priority
    description: Priority level of the call
    tests:
    - not_null
  - name: call_type
    description: Type of call or service
    tests:
    - not_null
  - name: call_outcome
    description: Result of the call (e.g., AGENT)
    cocoon_meta:
      missing_acceptable: Call may still be in progress or not yet resolved.
  - name: agent_name
    description: Name of the agent handling the call
    tests:
    - not_null
  - name: call_date
    description: Date when the call was received
    tests:
    - not_null
  - name: service_duration
    description: Duration of the service
    tests:
    - not_null
  - name: service_end_time
    description: Time when the service ended
    tests:
    - not_null
  - name: service_start_time
    description: Time when the service started
    tests:
    - not_null

stg_completedclient (first 100 rows)

client_id gender birth_day birth_month birth_year age ssn first_name middle_name last_name phone_number email street_address address_line_2 city state district_id birth_date full_birth_date zip_code
0 C00000001 Female 13 12 1990 29 926-93-2157 Emma Avaya Smith 367-171-6840 emma.smith@gmail.com 387 Wellington Ave. Unit 1 Albuquerque NM 18 1990-12-13 1990-12-13 47246
1 C00000002 Male 4 2 1965 54 806-94-5725 Noah Everest Thompson 212-423-7734 noah.thompson@gmail.com 75 W. Berkshire St. None New York City NY 1 1965-02-04 1965-02-04 10040
2 C00000003 Female 9 10 1960 59 614-70-9100 Olivia Brooklynne Johnson 212-425-6932 olivia.johnson@outlook.com 36 Second St. None New York City NY 1 1960-10-09 1960-10-09 10162
3 C00000004 Male 1 12 1976 43 580-20-3414 Liam Irvin White 951-567-8925 liam.white@gmail.com 7607 Sunnyslope Street None Indianapolis IN 5 1976-12-01 1976-12-01 49047
4 C00000005 Female 3 7 1980 39 536-14-5809 Sophia Danae Williams 428-265-1568 sophia.williams@gmail.com 755 Galvin Street None Indianapolis IN 5 1980-07-03 1980-07-03 40852
5 C00000006 Male 22 9 1939 80 430-17-5825 Mason Javen Lopez 813-629-5038 mason.lopez7@gmail.com 8266 Arnold Drive Unit 6 Portland OR 12 1939-09-22 1939-09-22 44987
6 C00000007 Male 25 1 1949 71 305-80-4254 Jacob Khai Lee 836-845-8120 jacob.lee7@gmail.com 827 N. Green Lake Court None Louisville KY 15 1949-01-25 1949-01-25 44359
7 C00000008 Female 21 2 1958 61 425-96-6358 Ava Eliora Brown 413-444-9280 ava.brown8@gmail.com 817 Joy Ridge Dr. None Springfield MA 51 1958-02-21 1958-02-21 1101
8 C00000009 Male 16 10 1955 64 832-31-7252 William Marek Gonzalez 781-995-6192 william.marek.gonzalez@gmail.com 68 Carriage Road None Lynn MA 60 1955-10-16 1955-10-16 1901
9 C00000010 Male 1 5 1963 56 295-22-6122 Ethan Veer Harris 508-902-5510 ethan.harris9@gmail.com 754 Grandrose St. None New Bedford MA 57 1963-05-01 1963-05-01 2740
10 C00000011 Female 22 8 1970 49 666-36-2990 Isabella Haidyn Jones 508-688-6461 isabella.jones@hotmail.com 873 Randall Mill Dr. None New Bedford MA 57 1970-08-22 1970-08-22 2741
11 C00000012 Male 20 2 2001 18 771-44-3992 James Amauri Clark 431-869-3807 james.clark9@gmail.com 275 Fairground Drive None Fargo ND 40 2001-02-20 2001-02-20 42009
12 C00000013 Female 29 5 1994 25 618-33-8801 Mia Hawa Miller 840-168-6970 mia.miller@gmail.com 7429 Linden Drive None Houston TX 54 1994-05-29 1994-05-29 47052
13 C00000014 Female 22 6 1962 57 806-78-2944 Abigail Inaaya Davis 914-018-0811 abigail.davis5@gmail.com 708 Oak Valley St. None Yonkers NY 76 1962-06-22 1962-06-22 10701
14 C00000015 Female 28 8 1938 81 711-78-2371 Emily Joann Garcia 556-415-7930 emily.garcia43@outlook.com 30 Brown St. None Omaha NE 21 1938-08-28 1938-08-28 49180
15 C00000016 Male 25 2 1939 80 923-11-6562 Alexander Bronx Lewis 760-882-7015 alexander.lewis3@gmail.com 734 Bay Meadows Street Unit 80 Omaha NE 21 1939-02-25 1939-02-25 41275
16 C00000017 Male 13 10 1954 65 800-28-6783 Michael Clifton Robinson 914-238-1020 michael.robinson2@gmail.com 907 Green Lake Court None Yonkers NY 76 1954-10-13 1954-10-13 10702
17 C00000018 Female 5 4 1951 68 392-61-8907 Charlotte Joi Rodriguez 914-823-6406 charlotte.rodriguez2@gmail.com 7463 Griffin St. None Yonkers NY 76 1951-04-05 1951-04-05 10703
18 C00000019 Male 28 12 1962 57 832-01-3704 Benjamin Denis Walker 927-296-6436 benjamin.walker@gmail.com 8095 Devon Court None Charleston WV 47 1962-12-28 1962-12-28 48126
19 C00000020 Male 4 1 1999 21 419-19-0547 Elijah Grayden Perez 886-176-3524 elijah.perez@gmail.com 597 Foster Street None San Diego CA 46 1999-01-04 1999-01-04 48787
20 C00000021 Female 29 10 1972 47 139-70-2852 Harper Juno Wilson 894-384-1832 harper.wilson@outlook.com 6 Devon Court None Portland OR 12 1972-10-29 1972-10-29 45780
21 C00000022 Female 11 10 1989 30 157-87-6583 Madison Kimberlyn Martinez 212-093-8170 madison.martinez@gmail.com 7062 Temple Court Unit 1B New York City NY 1 1989-10-11 1989-10-11 10282
22 C00000023 Male 29 5 1993 26 158-18-4299 Daniel Isa Hall 212-803-8384 daniel.hall67@gmail.com 30 West Westport Dr. None New York City NY 1 1993-05-29 1993-05-29 10009
23 C00000024 Female 29 7 1959 60 637-42-2042 Amelia Leora Anderson 302-681-4855 amelia.anderson8@gmail.com 44 Walt Whitman St. None Wilmington DE 43 1959-07-29 1959-07-29 45260
24 C00000025 Female 23 4 1959 60 349-52-4604 Elizabeth Lupita Taylor 184-276-9486 elizabeth.taylor@gmail.com 92 Fairway Drive None Omaha NE 21 1959-04-23 1959-04-23 42325
25 C00000026 Female 20 4 1989 30 956-04-7186 Sofia Makaila Thomas 660-390-7055 sofia.thomas@gmail.com 17 East Glenridge Road Apt. 3D Chicago IL 74 1989-04-20 1989-04-20 46300
26 C00000027 Female 26 3 1986 33 691-10-5744 Evelyn Mari Hernandez 407-745-6584 evelyn.mari.hernandez8@gmail.com 88 Second Dr. None Houston TX 54 1986-03-26 1986-03-26 47795
27 C00000028 Male 29 9 1965 54 517-85-8773 Aiden Jamil Young 212-751-6276 aiden.young9@gmail.com 125 North Holly Dr. None New York City NY 1 1965-09-29 1965-09-29 10158
28 C00000029 Female 11 9 1971 48 518-96-1042 Avery Mildred Moore 996-691-7268 avery.moore@hotmail.com 327 Golf St. None Boise ID 30 1971-09-11 1971-09-11 48851
29 C00000030 Female 9 10 1977 42 610-21-2152 Chloe Odette Martin 255-965-5392 chloe.martin8765@gmail.com 8 Pacific Lane None Chicago IL 74 1977-10-09 1977-10-09 42552
30 C00000031 Male 9 2 1982 37 318-55-4386 Logan Judd Allen 452-935-2140 logan.allen4@gmail.com 9953 Coffee Court None Cranston RI 68 1982-02-09 1982-02-09 46720
31 C00000032 Male 28 7 2000 19 755-20-3365 Matthew Keyon Sanchez 214-728-5200 matthew.sanchez3@gmail.com 8163 Sutor Court None New Haven CT 52 2000-07-28 2000-07-28 45291
32 C00000033 Female 4 12 1968 51 956-56-8470 Ella Triniti Jackson 769-780-3102 ella.jackson4@outlook.com 940 Vale Lane None New Britain CT 73 1968-12-04 1968-12-04 46386
33 C00000036 Female 17 7 1998 21 611-81-5222 Grace Emma Thompson 530-856-5348 grace.thompson56@gmail.com 9675 Tanglewood Drive None Denver CO 7 1998-07-17 1998-07-17 41755
34 C00000037 Male 10 8 1990 29 288-95-5033 Lucas Korben Wright 854-055-8899 lucas.wright5@gmail.com 50 Elmwood Street None Denver CO 7 1990-08-10 1990-08-10 48628
35 C00000038 Female 23 7 1993 26 881-47-7103 Victoria Olivia White 976-965-9681 victoria.white43@gmail.com 329 Jockey Hollow Court None Providence RI 36 1993-07-23 1993-07-23 48105
36 C00000039 Male 25 1 1988 32 426-18-0606 Jackson Rishaan King 918-846-9875 jackson.king@gmail.com 21 Middle River Drive None Cranston RI 68 1988-01-25 1988-01-25 43461
37 C00000040 Female 22 1 1977 43 461-50-3823 Aubrey Sophia Lopez 776-464-1839 aubrey.lopez@gmail.com 943 N. Birch Hill Avenue None Indianapolis IN 5 1977-01-22 1977-01-22 42125
38 C00000041 Male 27 8 1988 31 779-39-2212 David Yousif Scott 232-353-1692 david.scott@outlook.com 8572 Mill Pond Rd. None Virginia Beach VA 22 1988-08-27 1988-08-27 45895
39 C00000042 Male 17 8 1955 64 472-48-0888 Oliver Bailey Green 334-407-0626 oliver.green@gmail.com 50 Smith Store Ave. None Cranston RI 68 1955-08-17 1955-08-17 45795
40 C00000043 Male 28 10 1940 79 445-32-4546 Jayden Cedar Baker 585-209-6726 jayden.baker4@gmail.com 38 Prairie Street Unit 81 Rochester NY 75 1940-10-28 1940-10-28 14602
41 C00000044 Female 11 1 1997 23 396-63-1548 Scarlett Ann Lee 184-418-5826 scarlett.lee@gmail.com 9461 Rockledge Street None Bridgeport CT 38 1997-01-11 1997-01-11 44504
42 C00000045 Male 26 8 1972 47 665-55-8941 Joseph Ely Adams 786-924-4329 joseph.adams@gmail.com 421 Vermont Drive None Kansas City MO 20 1972-08-26 1972-08-26 42666
43 C00000046 Female 30 1 1960 60 883-63-2770 Zoey Emma Gonzalez 129-567-0397 zoey.gonzalez@gmail.com 9437 Greystone Drive None Atlanta GA 19 1960-01-30 1960-01-30 42729
44 C00000047 Male 14 7 1954 65 247-03-1392 Gabriel Jahlil Nelson 914-406-1227 gabriel.jahlil.nelson@gmail.com 8953 Jones Street None Yonkers NY 76 1954-07-14 1954-07-14 10704
45 C00000048 Male 9 2 1960 59 392-60-6346 Samuel Koby Hill 627-964-4534 samuel.hill@gmail.com 14 Hanover Ave. Unit 1B Baltimore MD 16 1960-02-09 1960-02-09 41466
46 C00000049 Female 11 5 1979 40 918-27-5875 Addison Olivia Harris 492-103-4485 addison.harris@hotmail.com 7715 Prince Dr. None Philadelphia PA 72 1979-05-11 1979-05-11 43443
47 C00000050 Female 30 7 1998 21 874-41-6125 Lily Sophia Clark 874-304-7236 lily.clark@gmail.com 44 Fordham Ave. None Charleston SC 39 1998-07-30 1998-07-30 48339
48 C00000051 Female 2 12 1999 20 605-79-6843 Lillian Ava Lewis 193-754-1578 lillian.lewis@gmail.com 948 Annadale St. None Providence RI 36 1999-12-02 1999-12-02 48078
49 C00000052 Male 12 12 1944 75 599-20-6019 Carter Markel Ramirez 594-267-8218 carter.ramirez@gmail.com 89 Henry Smith St. None Birmingham AL 32 1944-12-12 1944-12-12 45430
50 C00000053 Male 5 5 1997 22 749-94-5094 Anthony Oskar Campbell 123-412-3909 anthony.campbell@outlook.com 8661 Dogwood Lane None Phoenix AZ 64 1997-05-05 1997-05-05 40915
51 C00000055 Female 18 9 1968 51 167-61-1121 Natalie Isabella Robinson 352-888-5607 natalie.robinson@gmail.com 114 Spring Street None Cheyenne WY 45 1968-09-18 1968-09-18 44611
52 C00000056 Male 31 3 1980 39 986-31-0393 John Rigoberto Mitchell 943-306-4745 john.mitchell@gmail.com 174 Halifax Ave. None Omaha NE 21 1980-03-31 1980-03-31 40089
53 C00000057 Female 17 12 1981 38 767-26-4726 Hannah Mia Walker 410-131-4320 hannah.walker@gmail.com 62 South Manor Station Drive None Omaha NE 21 1981-12-17 1981-12-17 40846
54 C00000058 Female 29 4 1947 72 810-95-8590 Aria Abigail Perez 212-621-0332 aria.perez@gmail.com 9122 South Fieldstone Dr. None New York City NY 1 1947-04-29 1947-04-29 10116
55 C00000059 Male 18 2 1977 42 305-32-3513 Dylan Tiberius Roberts 212-616-4139 dylan.roberts@gmail.com 188 1st Road None New York City NY 1 1977-02-18 1977-02-18 10199
56 C00000060 Male 19 2 2000 19 534-35-1562 Luke Wolfgang Carter 694-391-2679 luke.carter@outlook.com 8604 Miller Rd. None Danbury CT 67 2000-02-19 2000-02-19 42452
57 C00000061 Female 6 8 1968 51 890-87-8722 Layla Emily Hall 452-815-2646 layla.hall@gmail.com 8673 Wakehurst Court None Baltimore MD 16 1968-08-06 1968-08-06 47090
58 C00000062 Male 8 12 1952 67 721-99-5393 Henry Chayce Phillips 315-775-0721 henry.phillips@gmail.com 279 Mechanic Lane None Syracuse NY 77 1952-12-08 1952-12-08 13201
59 C00000063 Male 4 6 1979 40 486-07-3316 Andrew Deven Evans 853-813-3217 andrew.evans@gmail.com 9 Iroquois St. None Charlotte NC 4 1979-06-04 1979-06-04 46324
60 C00000064 Male 22 4 1946 73 538-17-0630 Isaac Levon Turner 750-089-7210 isaac.turner@gmail.com 9314 Lees Creek Rd. None Kansas City MO 20 1946-04-22 1946-04-22 40005
61 C00000065 Female 27 5 1963 56 380-98-0077 Brooklyn Charlotte Young 716-102-4229 brooklyn.young@gmail.com 682 Linden Dr. None Buffalo NY 50 1963-05-27 1963-05-27 14267
62 C00000066 Female 10 11 1971 48 269-51-2282 Alexa Harper Allen 212-875-6847 alexa.harper.allen@gmail.com 18 Rockville Dr. None New York City NY 1 1971-11-10 1971-11-10 10087
63 C00000067 Female 11 11 1952 67 400-72-8738 Zoe Madison Sanchez 254-359-7450 zoe.sanchez@gmail.com 388 Fawn Dr. None Newark NJ 29 1952-11-11 1952-11-11 45151
64 C00000068 Male 14 12 1966 53 854-39-7488 Christopher Lloyd Torres 798-103-7589 christopher.torres@hotmail.com 9855 Riverview Lane None Wilmington DE 43 1966-12-14 1966-12-14 45109
65 C00000070 Male 22 12 1945 74 618-58-1887 Joshua Carsyn Parker 956-519-0084 joshua.parker@gmail.com 70 Oak Ave. None Los Angeles CA 70 1945-12-22 1945-12-22 40489
66 C00000071 Female 6 2 1947 72 861-61-1685 Penelope Amelia Wright 365-143-7361 penelope.wright@gmail.com 9886 Ridgeview Street None Los Angeles CA 70 1947-02-06 1947-02-06 41039
67 C00000072 Male 13 1 1943 77 613-29-1524 Wyatt Devyn Collins 542-643-2130 wyatt.collins@gmail.com 547 Marconi Court None Charleston WV 47 1943-01-13 1943-01-13 43117
68 C00000073 Male 20 2 1944 75 818-46-2099 Sebastian Dov Edwards 916-123-8829 sebastian.edwards@outlook.com 9187 Hillcrest Rd. None Virginia Beach VA 22 1944-02-20 1944-02-20 42612
69 C00000074 Female 26 7 1945 74 921-32-4873 Riley Elizabeth King 966-857-3250 riley.king@gmail.com 7 Ridgeview Street None Virginia Beach VA 22 1945-07-26 1945-07-26 42021
70 C00000075 Female 19 9 1997 22 659-99-6511 Leah Sofia Scott 617-030-2759 leah.scott@gmail.com 35 Walnutwood Ave. None Phoenix AZ 64 1997-09-19 1997-09-19 41921
71 C00000076 Female 1 10 1987 32 297-77-5386 Audrey Evelyn Green 293-545-7588 audrey.green@gmail.com 8109 Lake View Road None Providence RI 36 1987-10-01 1987-10-01 47819
72 C00000077 Female 18 2 1976 43 381-22-7472 Savannah Avery Baker 212-996-3299 savannah.baker@gmail.com 24 Leatherwood St. None New York City NY 1 1976-02-18 1976-02-18 10114
73 C00000078 Female 13 6 1964 55 309-65-8189 Allison Chloe Adams 206-534-4919 allison.adams@gmail.com 63 Bald Hill Street None Baltimore MD 16 1964-06-13 1964-06-13 42644
74 C00000079 Female 10 3 1989 30 869-81-2271 Samantha Ella Nelson 192-898-8157 samantha.nelson@outlook.com 808 Glenwood Street None Jackson MS 37 1989-03-10 1989-03-10 42623
75 C00000080 Female 25 2 1999 20 132-47-0825 Nora Grace Hill 914-011-1365 nora.hill@gmail.com 366 Purple Finch Road None Phoenix AZ 64 1999-02-25 1999-02-25 44952
76 C00000081 Male 29 4 1996 23 867-44-1568 Owen Drayden Stewart 427-771-2986 owen.stewart@gmail.com 874 Riverside Drive None Washington DC 8 1996-04-29 1996-04-29 48427
77 C00000082 Female 25 12 1999 20 100-94-2798 Skylar Victoria Ramirez 963-716-6263 skylar.ramirez@gmail.com 772 Sunnyslope Ave. None Washington DC 8 1999-12-25 1999-12-25 45679
78 C00000083 Female 25 12 1998 21 470-19-9896 Camila Aubrey Campbell 212-031-4727 camila.campbell@gmail.com 619 Whitemarsh Rd. None New York City NY 1 1998-12-25 1998-12-25 10278
79 C00000084 Male 5 5 1999 20 495-13-7873 Caleb Floyd Flores 212-946-7532 caleb.flores@gmail.com 7100 Wintergreen Street None New York City NY 1 1999-05-05 1999-05-05 10019
80 C00000085 Male 27 8 1981 38 751-50-9916 Nathan Fynn Morris 212-601-6414 nathan.fynn.morris@gmail.com 6 East Young Circle None New York City NY 1 1981-08-27 1981-08-27 10168
81 C00000086 Female 20 7 1989 30 414-33-2516 Anna Scarlett Mitchell 212-302-5046 anna.mitchell@gmail.com 9360 Bayport Ave. None New York City NY 1 1989-07-20 1989-07-20 10111
82 C00000087 Female 17 11 1966 53 145-42-2241 Paisley Zoey Roberts 112-422-3285 paisley.roberts@hotmail.com 673 East Ramblewood Street None Philadelphia PA 72 1966-11-17 1966-11-17 45190
83 C00000089 Female 5 5 1971 48 802-29-4364 Ariana Addison Carter 212-320-0620 ariana.carter@gmail.com 94 Chestnut Rd. None New York City NY 1 1971-05-05 1971-05-05 10175
84 C00000090 Male 17 8 1995 24 141-54-7729 Ryan Jaron Nguyen 917-017-6595 ryan.nguyen@gmail.com 921 Lake Forest Dr. None New Haven CT 52 1995-08-17 1995-08-17 42164
85 C00000091 Male 7 8 1960 59 530-30-1461 Jack Kaius Murphy 831-379-6638 jack.murphy@gmail.com 556 South Schoolhouse St. None Norwalk CT 63 1960-08-07 1960-08-07 40947
86 C00000092 Female 12 6 1986 33 790-98-9800 Ellie Lily Phillips 485-505-9594 ellie.phillips@outlook.com 40 Myers Lane None Chicago IL 74 1986-06-12 1986-06-12 47075
87 C00000093 Male 16 2 1945 74 350-92-7187 Hunter Kyran Rivera 388-389-6102 hunter.rivera@gmail.com 6 Theatre Street None Columbus OH 3 1945-02-16 1945-02-16 43964
88 C00000094 Male 9 9 1967 52 766-62-4458 Levi Laken Cook 933-101-0725 levi.cook@gmail.com 353 Birchpond Court Unit 7 Wilmington DE 43 1967-09-09 1967-09-09 44476
89 C00000095 Female 3 8 1972 47 744-82-5035 Aaliyah Lillian Evans 208-186-5708 aaliyah.evansw@gmail.com 6 Alderwood Ave. None Wilmington DE 43 1972-08-03 1972-08-03 43812
90 C00000096 Male 29 2 1992 27 848-45-1989 Christian Monte Rogers 708-773-3715 christian.rogers@gmail.com 12 Selby Street None Chicago IL 74 1992-02-29 1992-02-29 44520
91 C00000097 Male 28 11 1985 34 109-31-5533 Jaxon Stephon Morgan 348-250-2252 jaxon.morgan@gmail.com 9079 Bald Hill Drive None Honolulu HI 26 1985-11-28 1985-11-28 42423
92 C00000098 Female 4 5 1993 26 951-79-2346 Claire Natalie Turner 194-309-8767 claire.turner@outlook.com 86 Manchester Street None Salt Lake City UT 33 1993-05-04 1993-05-04 44715
93 C00000099 Male 26 1 1993 27 378-12-6869 Julian Britton Peterson 805-269-0051 julian.peterson@gmail.com 478 High Ridge Street None Salt Lake City UT 33 1993-01-26 1993-01-26 40996
94 C00000100 Female 11 8 1962 57 744-16-6873 Violet Hannah Torres 912-067-2706 violet.torres@gmail.com 626 Arlington Rd. Unit 77 Portland ME 44 1962-08-11 1962-08-11 47410
95 C00000101 Male 23 1 1963 57 110-19-8110 Landon Estevan Cooper 294-252-5352 landon.cooper3@gmail.com 221 Ashley Rd. None Cranston RI 68 1963-01-23 1963-01-23 47959
96 C00000102 Female 10 9 1978 41 710-90-1424 Stella Aria Parker 181-988-1584 stella.parker@gmail.com 238 Foxrun St. None Chicago IL 74 1978-09-10 1978-09-10 48791
97 C00000103 Male 11 7 1975 44 851-42-9875 Grayson Johnnie Reed 440-368-5820 grayson.reed45@gmail.com 745 Bellevue Lane None Chicago IL 74 1975-07-11 1975-07-11 42641
98 C00000105 Male 26 5 2000 19 407-34-0962 Jonathan Jones Bailey 255-585-1034 jonathan.jones.bailey66@gmail.com 50 Wild Rose Court None Des Moines IA 31 2000-05-26 2000-05-26 43442
99 C00000106 Female 30 12 1988 31 138-45-7585 Sadie Layla Collins 735-784-3483 sadie.collins6@gmail.com 28 Cypress St. None Cranston RI 68 1988-12-30 1988-12-30 48179

stg_completedclient.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
WITH 
"completedclient_renamed" AS (
    -- Rename: Renaming columns
    -- sex -> gender
    -- fulldate -> full_birth_date
    -- day_ -> birth_day
    -- month_ -> birth_month
    -- year_ -> birth_year
    -- date_ -> birth_date
    -- social -> ssn
    -- first_ -> first_name
    -- middle -> middle_name
    -- last_ -> last_name
    -- phone -> phone_number
    -- address_1 -> street_address
    -- address_2 -> address_line_2
    -- zipcode -> zip_code
    SELECT 
        "client_id",
        "sex" AS "gender",
        "fulldate" AS "full_birth_date",
        "day_" AS "birth_day",
        "month_" AS "birth_month",
        "year_" AS "birth_year",
        "date_" AS "birth_date",
        "age",
        "social" AS "ssn",
        "first_" AS "first_name",
        "middle" AS "middle_name",
        "last_" AS "last_name",
        "phone" AS "phone_number",
        "email",
        "address_1" AS "street_address",
        "address_2" AS "address_line_2",
        "city",
        "state",
        "zipcode" AS "zip_code",
        "district_id"
    FROM "completedclient"
),

"completedclient_renamed_casted" AS (
    -- Column Type Casting: 
    -- birth_date: from VARCHAR to DATE
    -- full_birth_date: from VARCHAR to DATE
    -- zip_code: from INT to VARCHAR
    SELECT
        "client_id",
        "gender",
        "birth_day",
        "birth_month",
        "birth_year",
        "age",
        "ssn",
        "first_name",
        "middle_name",
        "last_name",
        "phone_number",
        "email",
        "street_address",
        "address_line_2",
        "city",
        "state",
        "district_id",
        CAST("birth_date" AS DATE) AS "birth_date",
        CAST("full_birth_date" AS DATE) AS "full_birth_date",
        CAST("zip_code" AS VARCHAR) AS "zip_code"
    FROM "completedclient_renamed"
)

-- COCOON BLOCK END
SELECT * FROM "completedclient_renamed_casted"

stg_completedclient.yml (Document the table)

version: 2
models:
- name: stg_completedclient
  description: The table is about client information. It contains personal details
    such as name, age, sex, and social security number. It also includes contact information
    like phone, email, and address. The table stores date-related fields and a district
    ID. Each client has a unique client ID. The data appears to be for a customer
    database or client management system.
  columns:
  - name: client_id
    description: Unique identifier for each client
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: This column is a unique identifier for each client. For this table,
        each row represents a distinct client, and client_id is unique across rows.
      patterns:
      - regex: C\d{8}
        summary: Client IDs starting with 'C' followed by 8 digits
  - name: gender
    description: Client's gender
    tests:
    - not_null
    - accepted_values:
        values:
        - Male
        - Female
        - Non-binary
        - Transgender
        - Other
        - Prefer not to say
  - name: birth_day
    description: Day of birth
    tests:
    - not_null
  - name: birth_month
    description: Month of birth
    tests:
    - not_null
  - name: birth_year
    description: Year of birth
    tests:
    - not_null
  - name: age
    description: Age of the client in years
    tests:
    - not_null
  - name: ssn
    description: Client's social security number
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: Social Security Number is a unique identifier for each individual
        in the United States. For this table, each row represents a distinct client,
        and SSN should be unique across rows.
      patterns:
      - regex: \d{3}-\d{2}-\d{4}
        summary: Social Security Numbers in the format of XXX-XX-XXXX
  - name: first_name
    description: Client's first name
    tests:
    - not_null
    cocoon_meta:
      patterns:
      - regex: "[A-Z][a-z\xC0-\xD6\xD8-\xF6\xF8-\xFF]+"
        summary: Capitalized names, potentially including accented characters
  - name: middle_name
    description: Client's middle name
    tests:
    - not_null
  - name: last_name
    description: Client's last name
    tests:
    - not_null
    cocoon_meta:
      patterns:
      - regex: ^[A-Z][a-z]+$
        summary: Last names starting with a capital letter, followed by lowercase
          letters
  - name: phone_number
    description: Client's phone number
    tests:
    - not_null
    cocoon_meta:
      patterns:
      - regex: \d{3}-\d{3}-\d{4}
        summary: Phone numbers in the format XXX-XXX-XXXX where X is a digit
  - name: email
    description: Client's email address
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: Email addresses are typically unique to individuals. For this table,
        each row represents a distinct client, and email addresses should be unique
        across rows.
      patterns:
      - regex: ^[a-zA-Z0-9._-]+@(gmail|outlook|yahoo|hotmail)\.com$
        summary: Email addresses with common domain providers (Gmail, Outlook, Yahoo,
          Hotmail)
  - name: street_address
    description: Primary street address of the client
    tests:
    - not_null
    cocoon_meta:
      patterns:
      - regex: ^\d+\s+[A-Za-z0-9\s\.\-]+$
        summary: Most general pattern to catch any string that starts with a number
          and contains letters and common punctuation
      - regex: \d+[A-C]?\s[A-Z][a-z]+(\s[A-Z][a-z]+)?\s[A-Z][a-z]+\.
        summary: Street address with number (possibly including a letter), street
          name, and street type abbreviation
  - name: address_line_2
    description: Additional address information (e.g., apartment number)
    cocoon_meta:
      missing_acceptable: Additional address details not needed for single-line addresses.
  - name: city
    description: City where the client resides
    tests:
    - not_null
  - name: state
    description: State where the client resides
    tests:
    - not_null
  - name: district_id
    description: Identifier for the client's district
    tests:
    - not_null
  - name: birth_date
    description: Client's date of birth
    tests:
    - not_null
  - name: full_birth_date
    description: Client's full date of birth
    tests:
    - not_null
  - name: zip_code
    description: Postal code of the client's address
    tests:
    - not_null

stg_completedacct (first 100 rows)

account_id district_id transaction_frequency year_ month_number day_of_month parsed_date transaction_date
0 A00000576 55 Monthly Issuance 2013 1 1 2013-01-01 2013-01-01
1 A00003818 74 Monthly Issuance 2013 1 1 2013-01-01 2013-01-01
2 A00000704 55 Monthly Issuance 2013 1 1 2013-01-01 2013-01-01
3 A00000793 47 Monthly Issuance 2013 1 3 2013-01-03 2013-01-03
4 A00002484 74 Monthly Issuance 2013 1 3 2013-01-03 2013-01-03
5 A00001695 76 Monthly Issuance 2013 1 3 2013-01-03 2013-01-03
6 A00001726 48 Monthly Issuance 2013 1 3 2013-01-03 2013-01-03
7 A00002881 70 Monthly Issuance 2013 1 4 2013-01-04 2013-01-04
8 A00002357 19 Monthly Issuance 2013 1 4 2013-01-04 2013-01-04
9 A00002177 62 Monthly Issuance 2013 1 4 2013-01-04 2013-01-04
10 A00000485 6 Issuance After Transaction 2013 1 4 2013-01-04 2013-01-04
11 A00002378 16 Monthly Issuance 2013 1 1 2013-01-01 2013-01-01
12 A00002632 24 Monthly Issuance 2013 1 2 2013-01-02 2013-01-02
13 A00001972 77 Monthly Issuance 2013 1 2 2013-01-02 2013-01-02
14 A00001539 1 Issuance After Transaction 2013 1 3 2013-01-03 2013-01-03
15 A00000652 21 Monthly Issuance 2013 1 5 2013-01-05 2013-01-05
16 A00009635 70 Monthly Issuance 2013 1 5 2013-01-05 2013-01-05
17 A00001844 44 Monthly Issuance 2013 1 6 2013-01-06 2013-01-06
18 A00001926 37 Monthly Issuance 2013 1 6 2013-01-06 2013-01-06
19 A00002393 10 Monthly Issuance 2013 1 7 2013-01-07 2013-01-07
20 A00003510 41 Monthly Issuance 2013 1 7 2013-01-07 2013-01-07
21 A00001276 36 Monthly Issuance 2013 1 7 2013-01-07 2013-01-07
22 A00001637 1 Monthly Issuance 2013 1 8 2013-01-08 2013-01-08
23 A00003871 26 Monthly Issuance 2013 1 8 2013-01-08 2013-01-08
24 A00000192 55 Monthly Issuance 2013 1 8 2013-01-08 2013-01-08
25 A00000764 1 Monthly Issuance 2013 1 8 2013-01-08 2013-01-08
26 A00002087 7 Weekly Issuance 2013 1 8 2013-01-08 2013-01-08
27 A00002122 68 Monthly Issuance 2013 1 8 2013-01-08 2013-01-08
28 A00003592 54 Monthly Issuance 2013 1 8 2013-01-08 2013-01-08
29 A00003487 41 Monthly Issuance 2013 1 8 2013-01-08 2013-01-08
30 A00000435 38 Monthly Issuance 2013 1 8 2013-01-08 2013-01-08
31 A00001730 1 Monthly Issuance 2013 1 9 2013-01-09 2013-01-09
32 A00001493 41 Monthly Issuance 2013 1 9 2013-01-09 2013-01-09
33 A00000374 38 Monthly Issuance 2013 1 9 2013-01-09 2013-01-09
34 A00002925 1 Monthly Issuance 2013 1 10 2013-01-10 2013-01-10
35 A00000866 9 Monthly Issuance 2013 1 10 2013-01-10 2013-01-10
36 A00001628 60 Monthly Issuance 2013 1 10 2013-01-10 2013-01-10
37 A00002379 44 Monthly Issuance 2013 1 10 2013-01-10 2013-01-10
38 A00001979 26 Monthly Issuance 2013 1 11 2013-01-11 2013-01-11
39 A00000346 37 Monthly Issuance 2013 1 11 2013-01-11 2013-01-11
40 A00001338 74 Monthly Issuance 2013 1 11 2013-01-11 2013-01-11
41 A00001909 14 Monthly Issuance 2013 1 12 2013-01-12 2013-01-12
42 A00002099 3 Weekly Issuance 2013 1 12 2013-01-12 2013-01-12
43 A00003760 44 Monthly Issuance 2013 1 13 2013-01-13 2013-01-13
44 A00005270 44 Monthly Issuance 2013 1 13 2013-01-13 2013-01-13
45 A00001699 53 Monthly Issuance 2013 1 14 2013-01-14 2013-01-14
46 A00003909 1 Monthly Issuance 2013 1 14 2013-01-14 2013-01-14
47 A00002926 50 Monthly Issuance 2013 1 14 2013-01-14 2013-01-14
48 A00001731 33 Monthly Issuance 2013 1 14 2013-01-14 2013-01-14
49 A00011265 15 Monthly Issuance 2013 1 14 2013-01-14 2013-01-14
50 A00002519 4 Monthly Issuance 2013 1 15 2013-01-15 2013-01-15
51 A00010364 55 Monthly Issuance 2013 1 17 2013-01-17 2013-01-17
52 A00001481 15 Monthly Issuance 2013 1 17 2013-01-17 2013-01-17
53 A00000401 32 Monthly Issuance 2013 1 18 2013-01-18 2013-01-18
54 A00004034 1 Monthly Issuance 2013 1 18 2013-01-18 2013-01-18
55 A00002330 54 Monthly Issuance 2013 1 19 2013-01-19 2013-01-19
56 A00001806 40 Monthly Issuance 2013 1 19 2013-01-19 2013-01-19
57 A00003834 54 Monthly Issuance 2013 1 19 2013-01-19 2013-01-19
58 A00001222 66 Monthly Issuance 2013 1 20 2013-01-20 2013-01-20
59 A00000212 27 Weekly Issuance 2013 1 20 2013-01-20 2013-01-20
60 A00000456 49 Monthly Issuance 2013 1 21 2013-01-21 2013-01-21
61 A00000459 47 Monthly Issuance 2013 1 21 2013-01-21 2013-01-21
62 A00000772 45 Monthly Issuance 2013 1 21 2013-01-21 2013-01-21
63 A00001019 52 Monthly Issuance 2013 1 21 2013-01-21 2013-01-21
64 A00011295 74 Monthly Issuance 2013 1 21 2013-01-21 2013-01-21
65 A00002970 60 Monthly Issuance 2013 1 22 2013-01-22 2013-01-22
66 A00002676 73 Monthly Issuance 2013 1 22 2013-01-22 2013-01-22
67 A00001536 41 Weekly Issuance 2013 1 22 2013-01-22 2013-01-22
68 A00001179 74 Monthly Issuance 2013 1 23 2013-01-23 2013-01-23
69 A00000280 25 Monthly Issuance 2013 1 23 2013-01-23 2013-01-23
70 A00002425 41 Monthly Issuance 2013 1 23 2013-01-23 2013-01-23
71 A00009307 68 Monthly Issuance 2013 1 24 2013-01-24 2013-01-24
72 A00004055 23 Monthly Issuance 2013 1 24 2013-01-24 2013-01-24
73 A00005065 66 Monthly Issuance 2013 1 24 2013-01-24 2013-01-24
74 A00003704 75 Monthly Issuance 2013 1 24 2013-01-24 2013-01-24
75 A00000477 1 Monthly Issuance 2013 1 25 2013-01-25 2013-01-25
76 A00005891 54 Monthly Issuance 2013 1 25 2013-01-25 2013-01-25
77 A00001000 77 Monthly Issuance 2013 1 25 2013-01-25 2013-01-25
78 A00001750 1 Monthly Issuance 2013 1 26 2013-01-26 2013-01-26
79 A00002023 68 Monthly Issuance 2013 1 26 2013-01-26 2013-01-26
80 A00006473 12 Monthly Issuance 2013 1 26 2013-01-26 2013-01-26
81 A00001649 46 Monthly Issuance 2013 1 26 2013-01-26 2013-01-26
82 A00002670 13 Monthly Issuance 2013 1 27 2013-01-27 2013-01-27
83 A00001127 27 Monthly Issuance 2013 1 27 2013-01-27 2013-01-27
84 A00000163 30 Monthly Issuance 2013 1 27 2013-01-27 2013-01-27
85 A00002566 48 Monthly Issuance 2013 1 27 2013-01-27 2013-01-27
86 A00000009 70 Monthly Issuance 2013 1 27 2013-01-27 2013-01-27
87 A00001144 59 Monthly Issuance 2013 1 28 2013-01-28 2013-01-28
88 A00002902 32 Monthly Issuance 2013 1 28 2013-01-28 2013-01-28
89 A00004296 63 Monthly Issuance 2013 1 28 2013-01-28 2013-01-28
90 A00000443 64 Monthly Issuance 2013 1 28 2013-01-28 2013-01-28
91 A00003693 61 Monthly Issuance 2013 1 29 2013-01-29 2013-01-29
92 A00002070 72 Monthly Issuance 2013 1 29 2013-01-29 2013-01-29
93 A00001843 12 Monthly Issuance 2013 1 30 2013-01-30 2013-01-30
94 A00002714 1 Monthly Issuance 2013 1 30 2013-01-30 2013-01-30
95 A00004078 40 Monthly Issuance 2013 1 30 2013-01-30 2013-01-30
96 A00001675 36 Monthly Issuance 2013 2 1 2013-02-01 2013-02-01
97 A00005868 44 Monthly Issuance 2013 2 2 2013-02-02 2013-02-02
98 A00001805 1 Monthly Issuance 2013 2 2 2013-02-02 2013-02-02
99 A00002434 17 Monthly Issuance 2013 2 2 2013-02-02 2013-02-02

stg_completedacct.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
WITH 
"completedacct_renamed" AS (
    -- Rename: Renaming columns
    -- frequency -> transaction_frequency
    -- parseddate -> parsed_date
    -- month_ -> month_number
    -- day_ -> day_of_month
    -- date_ -> transaction_date
    SELECT 
        "account_id",
        "district_id",
        "frequency" AS "transaction_frequency",
        "parseddate" AS "parsed_date",
        "year_",
        "month_" AS "month_number",
        "day_" AS "day_of_month",
        "date_" AS "transaction_date"
    FROM "completedacct"
),

"completedacct_renamed_casted" AS (
    -- Column Type Casting: 
    -- parsed_date: from VARCHAR to DATE
    -- transaction_date: from VARCHAR to DATE
    SELECT
        "account_id",
        "district_id",
        "transaction_frequency",
        "year_",
        "month_number",
        "day_of_month",
        CAST("parsed_date" AS DATE) AS "parsed_date",
        CAST("transaction_date" AS DATE) AS "transaction_date"
    FROM "completedacct_renamed"
)

-- COCOON BLOCK END
SELECT * FROM "completedacct_renamed_casted"

stg_completedacct.yml (Document the table)

version: 2
models:
- name: stg_completedacct
  description: The table is about bank accounts. It contains details of account IDs,
    district IDs, frequency of transactions, and dates. The dates are parsed into
    separate columns for year, month, and day. The frequency column shows "Monthly
    Issuance" for all samples, suggesting these are recurring transactions or statements.
  columns:
  - name: account_id
    description: Unique identifier for bank accounts
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: This column represents a unique identifier for bank accounts. For
        this table, each row appears to be a specific transaction or statement for
        a bank account. The account_id is likely to be unique across rows as it's
        designed to uniquely identify each account.
      patterns:
      - regex: A\d{8}
        summary: Account IDs starting with 'A' followed by 8 digits
  - name: district_id
    description: Identifier for the bank district
    tests:
    - not_null
  - name: transaction_frequency
    description: Frequency of account activity or statements
    tests:
    - not_null
    - accepted_values:
        values:
        - Monthly Issuance
        - Weekly Issuance
        - Issuance After Transaction
        - Daily Issuance
        - Bi-Weekly Issuance
        - Quarterly Issuance
        - Annual Issuance
        - Semi-Annual Issuance
        - On-Demand Issuance
  - name: year_
    description: Year of the transaction
    tests:
    - not_null
  - name: month_number
    description: Month of the transaction
    tests:
    - not_null
  - name: day_of_month
    description: Day of the month for the transaction
    tests:
    - not_null
  - name: parsed_date
    description: Parsed full date of the transaction
    tests:
    - not_null
  - name: transaction_date
    description: Full date of the transaction or statement
    tests:
    - not_null

stg_completedcard (first 100 rows)

card_id display_id card_type transaction_year transaction_month transaction_day remove_column transaction_date
0 V00001005 D00009285 VISA Signature 2013 11 7 2013-11-07 2013-11-07
1 V00000104 D00000588 VISA Signature 2014 1 19 2014-01-19 2014-01-19
2 V00000747 D00004915 VISA Signature 2014 2 5 2014-02-05 2014-02-05
3 V00000070 D00000439 VISA Signature 2014 2 8 2014-02-08 2014-02-08
4 V00000577 D00003687 VISA Signature 2014 2 15 2014-02-15 2014-02-15
5 V00000377 D00002429 VISA Signature 2014 3 3 2014-03-03 2014-03-03
6 V00000721 D00004680 VISA Standard 2014 4 5 2014-04-05 2014-04-05
7 V00000437 D00002762 VISA Signature 2014 6 1 2014-06-01 2014-06-01
8 V00000188 D00001146 VISA Signature 2014 6 19 2014-06-19 2014-06-19
9 V00000013 D00000087 VISA Signature 2014 6 29 2014-06-29 2014-06-29
10 V00000732 D00004763 VISA Signature 2014 7 21 2014-07-21 2014-07-21
11 V00000181 D00001066 VISA Signature 2014 8 19 2014-08-19 2014-08-19
12 V00000384 D00002475 VISA Standard 2014 9 15 2014-09-15 2014-09-15
13 V00000309 D00001946 VISA Signature 2014 9 19 2014-09-19 2014-09-19
14 V00000478 D00003084 VISA Signature 2014 10 9 2014-10-09 2014-10-09
15 V00000563 D00003589 VISA Signature 2014 10 21 2014-10-21 2014-10-21
16 V00000369 D00002363 VISA Signature 2014 11 8 2014-11-08 2014-11-08
17 V00000376 D00002428 VISA Signature 2014 11 10 2014-11-10 2014-11-10
18 V00000483 D00003115 VISA Signature 2014 11 24 2014-11-24 2014-11-24
19 V00000174 D00001039 VISA Standard 2014 12 4 2014-12-04 2014-12-04
20 V00000658 D00004251 VISA Signature 2014 12 25 2014-12-25 2014-12-25
21 V00000763 D00005138 VISA Standard 2014 12 30 2014-12-30 2014-12-30
22 V00000778 D00005275 VISA Signature 2015 1 2 2015-01-02 2015-01-02
23 V00001039 D00009837 VISA Signature 2015 1 7 2015-01-07 2015-01-07
24 V00000477 D00003082 VISA Standard 2015 1 16 2015-01-16 2015-01-16
25 V00000168 D00001018 VISA Signature 2015 1 24 2015-01-24 2015-01-24
26 V00000314 D00001999 VISA Standard 2015 1 27 2015-01-27 2015-01-27
27 V00000468 D00003023 VISA Signature 2015 1 30 2015-01-30 2015-01-30
28 V00000208 D00001246 VISA Infinite 2015 2 8 2015-02-08 2015-02-08
29 V00000766 D00005200 VISA Signature 2015 2 11 2015-02-11 2015-02-11
30 V00000464 D00002984 VISA Signature 2015 2 21 2015-02-21 2015-02-21
31 V00000497 D00003184 VISA Signature 2015 3 3 2015-03-03 2015-03-03
32 V00000166 D00000999 VISA Signature 2015 3 5 2015-03-05 2015-03-05
33 V00000015 D00000114 VISA Signature 2015 3 5 2015-03-05 2015-03-05
34 V00000503 D00003225 VISA Signature 2015 3 8 2015-03-08 2015-03-08
35 V00001038 D00009787 VISA Standard 2015 3 30 2015-03-30 2015-03-30
36 V00000737 D00004791 VISA Signature 2015 4 13 2015-04-13 2015-04-13
37 V00000418 D00002623 VISA Signature 2015 4 14 2015-04-14 2015-04-14
38 V00000759 D00005117 VISA Standard 2015 4 18 2015-04-18 2015-04-18
39 V00000223 D00001353 VISA Signature 2015 4 18 2015-04-18 2015-04-18
40 V00000005 D00000051 VISA Standard 2015 4 24 2015-04-24 2015-04-24
41 V00000159 D00000946 VISA Signature 2015 5 1 2015-05-01 2015-05-01
42 V00001223 D00013231 VISA Standard 2015 5 2 2015-05-02 2015-05-02
43 V00000662 D00004293 VISA Signature 2015 5 9 2015-05-09 2015-05-09
44 V00000779 D00005323 VISA Standard 2015 5 21 2015-05-21 2015-05-21
45 V00001040 D00009890 VISA Standard 2015 5 28 2015-05-28 2015-05-28
46 V00000545 D00003458 VISA Signature 2015 5 30 2015-05-30 2015-05-30
47 V00000467 D00003019 VISA Signature 2015 6 5 2015-06-05 2015-06-05
48 V00001247 D00013660 VISA Signature 2015 6 13 2015-06-13 2015-06-13
49 V00000652 D00004211 VISA Signature 2015 6 16 2015-06-16 2015-06-16
50 V00000559 D00003573 VISA Signature 2015 6 17 2015-06-17 2015-06-17
51 V00000719 D00004663 VISA Signature 2015 6 24 2015-06-24 2015-06-24
52 V00000397 D00002513 VISA Signature 2015 6 24 2015-06-24 2015-06-24
53 V00000107 D00000593 VISA Signature 2015 6 27 2015-06-27 2015-06-27
54 V00000661 D00004270 VISA Signature 2015 7 3 2015-07-03 2015-07-03
55 V00000484 D00003116 VISA Signature 2015 7 4 2015-07-04 2015-07-04
56 V00000501 D00003197 VISA Signature 2015 7 9 2015-07-09 2015-07-09
57 V00000422 D00002650 VISA Standard 2015 7 11 2015-07-11 2015-07-11
58 V00000705 D00004555 VISA Signature 2015 7 12 2015-07-12 2015-07-12
59 V00000410 D00002569 VISA Signature 2015 7 20 2015-07-20 2015-07-20
60 V00000136 D00000778 VISA Signature 2015 7 28 2015-07-28 2015-07-28
61 V00000592 D00003782 VISA Standard 2015 8 7 2015-08-07 2015-08-07
62 V00000262 D00001647 VISA Standard 2015 8 24 2015-08-24 2015-08-24
63 V00000018 D00000128 VISA Signature 2015 8 25 2015-08-25 2015-08-25
64 V00000003 D00000041 VISA Infinite 2015 9 3 2015-09-03 2015-09-03
65 V00000098 D00000537 VISA Signature 2015 9 6 2015-09-06 2015-09-06
66 V00000167 D00001011 VISA Signature 2015 9 15 2015-09-15 2015-09-15
67 V00000097 D00000531 VISA Standard 2015 9 19 2015-09-19 2015-09-19
68 V00000699 D00004532 VISA Signature 2015 9 26 2015-09-26 2015-09-26
69 V00000342 D00002157 VISA Signature 2015 9 27 2015-09-27 2015-09-27
70 V00000713 D00004627 VISA Signature 2015 9 30 2015-09-30 2015-09-30
71 V00000118 D00000652 VISA Signature 2015 10 22 2015-10-22 2015-10-22
72 V00000783 D00005433 VISA Standard 2015 10 24 2015-10-24 2015-10-24
73 V00001103 D00011189 VISA Signature 2015 11 4 2015-11-04 2015-11-04
74 V00000504 D00003230 VISA Standard 2015 11 6 2015-11-06 2015-11-06
75 V00000261 D00001629 VISA Infinite 2015 11 9 2015-11-09 2015-11-09
76 V00000296 D00001876 VISA Infinite 2015 11 13 2015-11-13 2015-11-13
77 V00000113 D00000629 VISA Standard 2015 11 16 2015-11-16 2015-11-16
78 V00000092 D00000508 VISA Signature 2015 11 20 2015-11-20 2015-11-20
79 V00001225 D00013268 VISA Signature 2015 11 22 2015-11-22 2015-11-22
80 V00000393 D00002498 VISA Standard 2015 12 3 2015-12-03 2015-12-03
81 V00000695 D00004507 VISA Signature 2015 12 15 2015-12-15 2015-12-15
82 V00000666 D00004328 VISA Standard 2015 12 25 2015-12-25 2015-12-25
83 V00000462 D00002978 VISA Signature 2015 12 30 2015-12-30 2015-12-30
84 V00000085 D00000489 VISA Signature 2015 12 31 2015-12-31 2015-12-31
85 V00000337 D00002141 VISA Signature 2016 1 1 2016-01-01 2016-01-01
86 V00000771 D00005233 VISA Signature 2016 1 8 2016-01-08 2016-01-08
87 V00000379 D00002431 VISA Signature 2016 1 12 2016-01-12 2016-01-12
88 V00000106 D00000592 VISA Signature 2016 1 14 2016-01-14 2016-01-14
89 V00000606 D00003883 VISA Signature 2016 1 22 2016-01-22 2016-01-22
90 V00000427 D00002688 VISA Infinite 2016 1 25 2016-01-25 2016-01-25
91 V00000202 D00001228 VISA Signature 2016 2 4 2016-02-04 2016-02-04
92 V00000814 D00005911 VISA Signature 2016 2 15 2016-02-15 2016-02-15
93 V00001064 D00010328 VISA Signature 2016 2 17 2016-02-17 2016-02-17
94 V00000014 D00000112 VISA Signature 2016 2 17 2016-02-17 2016-02-17
95 V00000423 D00002657 VISA Signature 2016 2 19 2016-02-19 2016-02-19
96 V00000989 D00009119 VISA Signature 2016 2 21 2016-02-21 2016-02-21
97 V00000364 D00002329 VISA Signature 2016 2 29 2016-02-29 2016-02-29
98 V00000267 D00001691 VISA Standard 2016 3 9 2016-03-09 2016-03-09
99 V00000621 D00003970 VISA Standard 2016 3 19 2016-03-19 2016-03-19

stg_completedcard.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
WITH 
"completedcard_renamed" AS (
    -- Rename: Renaming columns
    -- disp_id -> display_id
    -- type -> card_type
    -- year_ -> transaction_year
    -- month_ -> transaction_month
    -- day_ -> transaction_day
    -- date_ -> transaction_date
    -- fulldate -> remove_column
    SELECT 
        "card_id",
        "disp_id" AS "display_id",
        "type" AS "card_type",
        "year_" AS "transaction_year",
        "month_" AS "transaction_month",
        "day_" AS "transaction_day",
        "date_" AS "transaction_date",
        "fulldate" AS "remove_column"
    FROM "completedcard"
),

"completedcard_renamed_casted" AS (
    -- Column Type Casting: 
    -- remove_column: from VARCHAR to DATE
    -- transaction_date: from VARCHAR to DATE
    SELECT
        "card_id",
        "display_id",
        "card_type",
        "transaction_year",
        "transaction_month",
        "transaction_day",
        CAST("remove_column" AS DATE) AS "remove_column",
        CAST("transaction_date" AS DATE) AS "transaction_date"
    FROM "completedcard_renamed"
)

-- COCOON BLOCK END
SELECT * FROM "completedcard_renamed_casted"

stg_completedcard.yml (Document the table)

version: 2
models:
- name: stg_completedcard
  description: The table is about completed credit card transactions. It contains
    details of each transaction including the card ID, display ID, card type, and
    the date of the transaction. The date is broken down into separate columns for
    year, month, and day, as well as full date formats. All transactions in the sample
    are for VISA Signature cards.
  columns:
  - name: card_id
    description: Unique identifier for the credit card
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: This column represents a unique identifier for each credit card.
        For this table, each row is a separate transaction. The card_id appears to
        be unique across rows in the sample, and logically, it should be unique for
        each credit card.
      patterns:
      - regex: V\d{8}
        summary: Values starting with 'V' followed by 8 digits
  - name: display_id
    description: Unique display identifier for the transaction
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: This column represents a unique display identifier for each transaction.
        For this table, each row is a separate transaction. The display_id appears
        to be unique across rows in the sample, and logically, it should be unique
        for each transaction.
      patterns:
      - regex: D\d{8}
        summary: Alphanumeric identifiers starting with 'D' followed by 8 digits
  - name: card_type
    description: Type of credit card used
    tests:
    - not_null
    - accepted_values:
        values:
        - VISA Signature
        - VISA Standard
        - VISA Infinite
        - VISA Platinum
        - Mastercard Standard
        - Mastercard Gold
        - Mastercard Platinum
        - Mastercard World
        - Mastercard World Elite
        - American Express Green
        - American Express Gold
        - American Express Platinum
        - American Express Centurion
        - Discover it
        - Discover it Miles
        - Discover it Chrome
        - JCB Standard
        - JCB Gold
        - JCB Platinum
        - Diners Club
  - name: transaction_year
    description: Year when transaction occurred
    tests:
    - not_null
  - name: transaction_month
    description: Month when transaction occurred (1-12)
    tests:
    - not_null
  - name: transaction_day
    description: Day of the month when transaction occurred
    tests:
    - not_null
  - name: remove_column
    description: Full date of transaction (redundant with date_)
    tests:
    - not_null
  - name: transaction_date
    description: Transaction date in YYYY-MM-DD format
    tests:
    - not_null

stg_CRM_Events (first 100 rows)

financial_product specific_product complaint_category tags submission_method resolution_type timely_response consumer_disputed complaint_id client_id date_received date_sent_to_company
0 Bank account or service Checking account Deposits and withdrawals None Email Closed with explanation Yes No CR0922485 1925.0 2014-07-03 2014-07-09
1 Bank account or service Savings account Account opening, closing, or management None Email Closed with relief Yes No CR0057298 3141.0 2012-04-12 2012-04-13
2 Bank account or service Checking account Account opening, closing, or management None Email Closed without relief Yes No CR0043811 297.0 2012-04-03 2012-04-03
3 Credit card None Billing disputes None Email Closed with relief Yes No CR0035411 4275.0 2012-03-14 2012-03-14
4 Bank account or service Checking account Account opening, closing, or management None Email Closed with relief Yes No CR0030939 900.0 2012-03-05 2012-03-06
5 Bank account or service Checking account Problems caused by my funds being low None Email Closed with relief Yes No CR0030070 11596.0 2012-03-05 2012-03-05
6 Credit card None Miscellaneous fee issues None Email Closed without relief Yes No CR0013328 2716.0 2012-02-23 2012-02-24
7 Credit card None Identity theft / Fraud / Embezzlement None Fax Closed with explanation Yes None CR2347888 11252.0 2017-02-16 2017-02-22
8 Bank account or service (CD) Certificate of deposit Deposits and withdrawals None Fax Closed with explanation Yes None CR2327253 7366.0 2017-02-03 2017-02-07
9 Credit card None Miscellaneous issues None Fax Closed with explanation Yes None CR2319065 4459.0 2017-01-31 2017-02-03
10 Bank account or service Other bank product/service Making/receiving payments, sending money None Fax Closed with explanation Yes None CR2318000 2463.0 2017-01-30 2017-02-02
11 Credit card None Miscellaneous issues None Fax Closed with explanation Yes Yes CR2281296 1075.0 2017-01-09 2017-01-10
12 Credit card None Credit line increase/decrease None Fax Closed with explanation Yes Yes CR2254957 3048.0 2016-12-19 2016-12-19
13 Credit card None Billing disputes None Fax Closed with explanation Yes No CR2241469 3061.0 2016-12-08 2016-12-09
14 Credit card None Billing disputes None Fax Closed with explanation Yes Yes CR2241293 2563.0 2016-12-08 2016-12-09
15 Bank account or service Checking account Making/receiving payments, sending money None Fax Closed with monetary relief Yes No CR2239563 2298.0 2016-12-07 2016-12-08
16 Credit card None Late fee None Fax Closed with monetary relief Yes No CR2230679 2771.0 2016-12-01 2016-12-02
17 Bank account or service Other bank product/service Account opening, closing, or management None Fax Closed with explanation Yes No CR2225814 1537.0 2016-11-28 2016-11-29
18 Bank account or service Checking account Deposits and withdrawals None Fax Closed with monetary relief Yes No CR2214250 10077.0 2016-11-17 2016-11-18
19 Bank account or service Checking account Deposits and withdrawals None Fax Closed with explanation Yes No CR2208613 1768.0 2016-11-16 2016-11-16
20 Bank account or service (CD) Certificate of deposit Account opening, closing, or management None Fax Closed with explanation Yes No CR2200226 1671.0 2016-11-08 2016-11-09
21 Credit card None Sale of account None Fax Closed with explanation Yes No CR2195804 2994.0 2016-11-04 2016-11-07
22 Credit card None Identity theft / Fraud / Embezzlement None Fax Closed with monetary relief Yes No CR2192368 3098.0 2016-11-02 2016-11-15
23 Credit card None Debt collection issues None Email Closed without relief Yes No CR0003732 146.0 2011-12-07 2012-02-29
24 Bank account or service Other bank product/service Deposits and withdrawals None Fax Closed with explanation Yes None CR2405000 778.0 2017-03-27 2017-03-27
25 Credit card None Miscellaneous issues None Fax Closed with non-monetary relief Yes None CR2398334 706.0 2017-03-21 2017-03-21
26 Bank account or service Other bank product/service Account opening, closing, or management None Fax In progress Yes None CR2395319 2065.0 2017-03-20 2017-03-21
27 Bank account or service Other bank product/service Deposits and withdrawals None Fax Closed with explanation Yes None CR2375209 298.0 2017-03-07 2017-03-09
28 Bank account or service Checking account Account opening, closing, or management None Fax Closed with monetary relief Yes None CR2371479 2926.0 2017-03-03 2017-03-08
29 Credit card None Identity theft / Fraud / Embezzlement None Fax Closed with explanation Yes None CR2368953 3552.0 2017-03-02 2017-03-06
30 Bank account or service Savings account Deposits and withdrawals None Fax Closed with monetary relief Yes None CR2353277 438.0 2017-02-21 2017-02-24
31 Credit card None Identity theft / Fraud / Embezzlement None Fax Closed with monetary relief Yes No CR2190357 3203.0 2016-11-02 2016-11-14
32 Bank account or service Other bank product/service Account opening, closing, or management Older American Fax Closed with non-monetary relief Yes No CR2184843 10041.0 2016-10-28 2016-10-31
33 Bank account or service Other bank product/service Account opening, closing, or management None Fax Closed with explanation Yes No CR2150336 1791.0 2016-10-06 2016-10-12
34 Bank account or service (CD) Certificate of deposit Account opening, closing, or management Older American Fax Closed with explanation Yes No CR2147799 5050.0 2016-10-05 2016-10-14
35 Bank account or service Other bank product/service Account opening, closing, or management None Fax Closed with explanation Yes Yes CR2146555 3330.0 2016-10-04 2016-10-06
36 Bank account or service Other bank product/service Deposits and withdrawals None Fax Closed with monetary relief Yes No CR2140531 3003.0 2016-09-30 2016-10-14
37 Bank account or service Other bank product/service Deposits and withdrawals None Fax Closed with monetary relief Yes No CR2132541 489.0 2016-09-26 2016-09-28
38 Bank account or service Checking account Account opening, closing, or management None Fax Closed with explanation Yes Yes CR2128698 1520.0 2016-09-23 2016-09-27
39 Bank account or service Other bank product/service Account opening, closing, or management None Fax Closed with explanation Yes No CR2125933 3001.0 2016-09-22 2016-09-26
40 Credit card None Balance transfer fee None Fax Closed with non-monetary relief Yes No CR2106749 11329.0 2016-09-12 2016-09-14
41 Credit card None Billing disputes None Fax Closed with explanation Yes No CR2089516 3317.0 2016-08-31 2016-09-06
42 Bank account or service Other bank product/service Deposits and withdrawals None Fax Closed with explanation Yes No CR2083797 1600.0 2016-08-26 2016-08-30
43 Bank account or service Savings account Deposits and withdrawals None Fax Closed with explanation Yes Yes CR2081319 572.0 2016-08-25 2016-08-30
44 Credit card None Billing disputes None Fax Closed with explanation Yes No CR2075840 119.0 2016-08-22 2016-08-24
45 Bank account or service Other bank product/service Account opening, closing, or management None Fax Closed with monetary relief Yes Yes CR2053856 3819.0 2016-08-09 2016-08-29
46 Bank account or service Other bank product/service Making/receiving payments, sending money None Fax Closed with explanation Yes No CR2047406 3069.0 2016-08-04 2016-08-08
47 Bank account or service (CD) Certificate of deposit Account opening, closing, or management Older American Fax Closed with explanation Yes No CR2036377 524.0 2016-07-28 2016-08-02
48 Bank account or service Checking account Deposits and withdrawals Older American Fax Closed with monetary relief Yes No CR2019528 697.0 2016-07-19 2016-07-20
49 Bank account or service Other bank product/service Account opening, closing, or management Older American Fax Closed with explanation Yes No CR2017443 4643.0 2016-07-18 2016-07-19
50 Bank account or service Checking account Account opening, closing, or management None Fax Closed with explanation Yes No CR2015196 137.0 2016-07-15 2016-07-16
51 Credit card None Billing disputes None Fax Closed with explanation Yes No CR1994567 7011.0 2016-07-01 2016-07-11
52 Bank account or service Checking account Deposits and withdrawals None Fax Closed with explanation Yes No CR1952426 3837.0 2016-06-02 2016-06-06
53 Bank account or service Other bank product/service Account opening, closing, or management None Fax Closed with explanation Yes No CR1943347 2799.0 2016-05-26 2016-05-27
54 Credit card None Identity theft / Fraud / Embezzlement None Fax Closed with explanation Yes No CR1942158 3834.0 2016-05-25 2016-05-31
55 Bank account or service Other bank product/service Account opening, closing, or management None Fax Closed with explanation Yes No CR1941865 5180.0 2016-05-25 2016-05-31
56 Credit card None Identity theft / Fraud / Embezzlement None Fax Closed with explanation Yes Yes CR1938865 1699.0 2016-05-24 2016-05-31
57 Bank account or service Checking account Problems caused by my funds being low None Fax Closed with explanation Yes Yes CR1936930 3632.0 2016-05-23 2016-05-24
58 Bank account or service Checking account Account opening, closing, or management None Fax Closed with explanation Yes No CR1932270 2463.0 2016-05-19 2016-05-31
59 Bank account or service Other bank product/service Account opening, closing, or management None Fax Closed with explanation Yes No CR1924106 4493.0 2016-05-13 2016-05-13
60 Credit card None Customer service issues None Fax Closed with monetary relief Yes No CR1913916 3116.0 2016-05-06 2016-05-11
61 Bank account or service Checking account Account opening, closing, or management None Fax Closed with non-monetary relief Yes No CR1912930 2324.0 2016-05-06 2016-05-16
62 Bank account or service Checking account Account opening, closing, or management None Fax Closed with explanation Yes No CR1905472 1579.0 2016-05-02 2016-05-02
63 Credit card None Identity theft / Fraud / Embezzlement None Fax Closed with explanation Yes No CR1894861 3039.0 2016-04-25 2016-04-28
64 Bank account or service Other bank product/service Deposits and withdrawals None Fax Closed with monetary relief Yes Yes CR1885950 4294.0 2016-04-19 2016-04-21
65 Bank account or service Other bank product/service Deposits and withdrawals None Fax Closed with explanation Yes Yes CR1884968 12358.0 2016-04-18 2016-04-18
66 Bank account or service Other bank product/service Problems caused by my funds being low None Fax Closed with monetary relief Yes No CR1881766 462.0 2016-04-15 2016-04-15
67 Bank account or service Checking account Deposits and withdrawals None Fax Closed with monetary relief Yes No CR1882476 13417.0 2016-04-15 2016-04-15
68 Bank account or service Other bank product/service Account opening, closing, or management None Fax Closed with explanation Yes No CR1869568 1445.0 2016-04-07 2016-04-11
69 Credit card None Identity theft / Fraud / Embezzlement Older American, Servicemember Fax Closed with explanation Yes No CR1863969 2209.0 2016-04-04 2016-04-06
70 Bank account or service Checking account Deposits and withdrawals Servicemember Fax Closed with explanation Yes No CR1845683 6256.0 2016-03-23 2016-03-23
71 Bank account or service Other bank product/service Account opening, closing, or management None Fax Closed with explanation Yes Yes CR1826636 472.0 2016-03-10 2016-03-10
72 Bank account or service Checking account Account opening, closing, or management None Fax Closed with explanation Yes No CR1822084 3977.0 2016-03-08 2016-03-08
73 Bank account or service Checking account Deposits and withdrawals None Fax Closed with explanation Yes No CR1809285 3372.0 2016-02-29 2016-03-01
74 Bank account or service Other bank product/service Deposits and withdrawals None Fax Closed with explanation Yes Yes CR1791074 11906.0 2016-02-17 2016-02-18
75 Bank account or service Other bank product/service Account opening, closing, or management None Fax Closed with explanation Yes Yes CR1789593 9236.0 2016-02-16 2016-03-21
76 Credit card None Miscellaneous issues None Fax Closed with explanation Yes No CR1784697 9458.0 2016-02-11 2016-02-17
77 Bank account or service Checking account Account opening, closing, or management Servicemember Fax Closed with non-monetary relief Yes No CR1775172 4445.0 2016-02-05 2016-02-05
78 Bank account or service Other bank product/service Account opening, closing, or management None Fax Closed with explanation Yes No CR1773179 3283.0 2016-02-04 2016-02-17
79 Bank account or service Checking account Deposits and withdrawals None Fax Closed with explanation Yes No CR1773807 2129.0 2016-02-04 2016-02-17
80 Credit card None Billing disputes None Fax Closed with explanation Yes No CR1764286 2084.0 2016-01-29 2016-02-01
81 Credit card None Miscellaneous issues None Fax Closed with explanation Yes Yes CR1762648 4449.0 2016-01-28 2016-01-29
82 Credit card None Billing disputes None Fax Closed with explanation Yes None CR1756498 2296.0 2016-01-25 2016-01-26
83 Credit card None Identity theft / Fraud / Embezzlement None Fax Closed with explanation Yes Yes CR1756563 2642.0 2016-01-25 2016-02-01
84 Bank account or service Other bank product/service Account opening, closing, or management None Fax Closed with monetary relief Yes No CR1744554 3532.0 2016-01-15 2016-01-20
85 Bank account or service Other bank product/service Deposits and withdrawals Older American Fax Closed with monetary relief Yes No CR1734737 4387.0 2016-01-08 2016-01-12
86 Bank account or service Other bank product/service Account opening, closing, or management Older American Fax Closed with explanation Yes No CR1729929 2727.0 2016-01-06 2016-01-07
87 Bank account or service Other bank product/service Account opening, closing, or management Older American Fax Closed with explanation Yes Yes CR1725606 3241.0 2016-01-04 2016-01-04
88 Bank account or service Other bank product/service Making/receiving payments, sending money None Fax Closed with explanation Yes No CR1713275 1316.0 2015-12-22 2015-12-23
89 Bank account or service Other bank product/service Problems caused by my funds being low None Fax Closed with monetary relief Yes No CR1708290 11064.0 2015-12-18 2015-12-18
90 Bank account or service Other bank product/service Account opening, closing, or management Older American Fax Closed with explanation Yes Yes CR1676436 520.0 2015-11-30 2015-12-04
91 Credit card None Miscellaneous issues None Fax Closed with explanation Yes No CR1660760 3092.0 2015-11-18 2015-12-14
92 Bank account or service Checking account Account opening, closing, or management None Fax Closed with monetary relief Yes No CR1645849 1323.0 2015-11-09 2015-11-09
93 Bank account or service Other bank product/service Problems caused by my funds being low None Fax Closed with explanation Yes No CR1645852 482.0 2015-11-09 2015-11-10
94 Bank account or service Other bank product/service Deposits and withdrawals None Fax Closed with explanation Yes No CR1631076 2709.0 2015-10-29 2015-10-30
95 Credit card None Miscellaneous issues None Fax Closed with explanation Yes Yes CR1621364 6924.0 2015-10-23 2015-10-26
96 Credit card None Identity theft / Fraud / Embezzlement Older American Fax Closed Yes Yes CR1621318 1129.0 2015-10-23 2015-10-27
97 Credit card None Billing disputes None Fax Closed with monetary relief Yes Yes CR1592064 3450.0 2015-10-05 2015-10-07
98 Bank account or service Checking account Problems caused by my funds being low None Fax Closed with explanation Yes No CR1590438 2755.0 2015-10-02 2015-10-06
99 Bank account or service Other bank product/service Making/receiving payments, sending money None Fax Closed with non-monetary relief Yes No CR1573466 2409.0 2015-09-21 2015-09-24

stg_CRM_Events.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
WITH 
"CRM_Events_renamed" AS (
    -- Rename: Renaming columns
    -- product -> financial_product
    -- sub_product -> specific_product
    -- issue -> complaint_category
    -- sub_issue -> complaint_subcategory
    -- consumer_complaint_narrative -> complaint_details
    -- consumer_consent_provided -> public_consent
    -- submitted_via -> submission_method
    -- company_response_to_consumer -> resolution_type
    SELECT 
        "date_received",
        "product" AS "financial_product",
        "sub_product" AS "specific_product",
        "issue" AS "complaint_category",
        "sub_issue" AS "complaint_subcategory",
        "consumer_complaint_narrative" AS "complaint_details",
        "tags",
        "consumer_consent_provided" AS "public_consent",
        "submitted_via" AS "submission_method",
        "date_sent_to_company",
        "company_response_to_consumer" AS "resolution_type",
        "timely_response",
        "consumer_disputed",
        "complaint_id",
        "client_id"
    FROM "CRM_Events"
),

"CRM_Events_renamed_cleaned" AS (
    -- Clean unusual string values: 
    -- complaint_category: The complaint_category column has several issues: 1. 'Closing/Cancelling account' overlaps with 'Account opening, closing, or management'. 2. 'Other' and 'Other fee' are vague categories that don't provide specific information. 3. Some categories are very specific (e.g., 'Balance transfer fee') while others are broad (e.g., 'Billing disputes'). 4. There's inconsistency in naming conventions (e.g., 'APR or interest rate' vs 'Balance transfer fee'). To address these issues, we'll map overlapping categories together, replace vague categories with more specific ones where possible, and standardize naming conventions. 
    SELECT
        "date_received",
        "financial_product",
        "specific_product",
        CASE
            WHEN "complaint_category" = 'Closing/Cancelling account' THEN 'Account opening, closing, or management'
            WHEN "complaint_category" = 'Other' THEN 'Miscellaneous issues'
            WHEN "complaint_category" = 'Other fee' THEN 'Miscellaneous fee issues'
            WHEN "complaint_category" = 'APR or interest rate' THEN 'Interest rate issues'
            WHEN "complaint_category" = 'Customer service / Customer relations' THEN 'Customer service issues'
            WHEN "complaint_category" = 'Credit card protection / Debt protection' THEN 'Credit protection issues'
            WHEN "complaint_category" = 'Forbearance / Workout plans' THEN 'Repayment plans'
            WHEN "complaint_category" = 'Collection debt dispute' THEN 'Debt collection issues'
            ELSE "complaint_category"
        END AS "complaint_category",
        "complaint_subcategory",
        "complaint_details",
        "tags",
        "public_consent",
        "submission_method",
        "date_sent_to_company",
        "resolution_type",
        "timely_response",
        "consumer_disputed",
        "complaint_id",
        "client_id"
    FROM "CRM_Events_renamed"
),

"CRM_Events_renamed_cleaned_casted" AS (
    -- Column Type Casting: 
    -- complaint_details: from FLOAT to VARCHAR
    -- complaint_subcategory: from FLOAT to VARCHAR
    -- date_received: from VARCHAR to DATE
    -- date_sent_to_company: from VARCHAR to DATE
    -- public_consent: from FLOAT to VARCHAR
    SELECT
        "financial_product",
        "specific_product",
        "complaint_category",
        "tags",
        "submission_method",
        "resolution_type",
        "timely_response",
        "consumer_disputed",
        "complaint_id",
        "client_id",
        CAST("complaint_details" AS VARCHAR) AS "complaint_details",
        CAST("complaint_subcategory" AS VARCHAR) AS "complaint_subcategory",
        CAST("date_received" AS DATE) AS "date_received",
        CAST("date_sent_to_company" AS DATE) AS "date_sent_to_company",
        CAST("public_consent" AS VARCHAR) AS "public_consent"
    FROM "CRM_Events_renamed_cleaned"
),

"CRM_Events_renamed_cleaned_casted_missing_handled" AS (
    -- Handling missing values: There are 5 columns with unacceptable missing values
    -- complaint_details has 100.0 percent missing. Strategy: 🗑️ Drop Column
    -- complaint_subcategory has 100.0 percent missing. Strategy: 🗑️ Drop Column
    -- consumer_disputed has 5.3 percent missing. Strategy: 🔄 Unchanged
    -- public_consent has 100.0 percent missing. Strategy: 🗑️ Drop Column
    -- tags has 83.0 percent missing. Strategy: 🔄 Unchanged
    SELECT
        "financial_product",
        "specific_product",
        "complaint_category",
        "tags",
        "submission_method",
        "resolution_type",
        "timely_response",
        "consumer_disputed",
        "complaint_id",
        "client_id",
        "date_received",
        "date_sent_to_company"
    FROM "CRM_Events_renamed_cleaned_casted"
)

-- COCOON BLOCK END
SELECT * FROM "CRM_Events_renamed_cleaned_casted_missing_handled"

stg_CRM_Events.yml (Document the table)

version: 2
models:
- name: stg_CRM_Events
  description: The table is about customer complaints to financial institutions. It
    includes details like the date received, product type, issue, how it was submitted,
    the company's response, and whether it was resolved. Each row represents a unique
    complaint with an ID. The table tracks the timeline and outcome of each complaint,
    including whether the consumer disputed the resolution.
  columns:
  - name: financial_product
    description: Financial product or service involved
    tests:
    - not_null
    - accepted_values:
        values:
        - Bank account or service
        - Credit card
        - Mortgage
        - Personal loan
        - Auto loan
        - Student loan
        - Home equity loan or line of credit
        - Investment account
        - Savings account
        - Checking account
        - Certificate of deposit (CD)
        - Money market account
        - Retirement account (e.g., 401(k), IRA)
        - Insurance product
        - Foreign exchange service
  - name: specific_product
    description: Specific type of financial product
    tests:
    - accepted_values:
        values:
        - Checking account
        - Savings account
        - (CD) Certificate of deposit
        - Money market account
        - Individual Retirement Account (IRA)
        - Personal loan
        - Mortgage loan
        - Home equity line of credit (HELOC)
        - Credit card
        - Debit card
        - Online banking service
        - Mobile banking app
        - Wire transfer service
        - Foreign currency exchange
        - Safe deposit box
        - Cashing a check without an account
        - Notary services
        - Investment/brokerage services
        - Other bank product/service
    cocoon_meta:
      missing_acceptable: Not applicable for general financial products like credit
        cards.
  - name: complaint_category
    description: Main category of the complaint
    tests:
    - not_null
  - name: tags
    description: Additional labels or categories for the complaint
    tests:
    - not_null
    - accepted_values:
        values:
        - Older American
        - Servicemember
        - Older American, Servicemember
        - Student
        - Veteran
        - Active Duty
        - Reservist
        - Dependent
        - Guard
        - Retired
        - Disabled
        - Low Income
        - Immigrant
        - Rural
        - Minor
  - name: submission_method
    description: Method used to submit the complaint
    tests:
    - not_null
    - accepted_values:
        values:
        - Postal mail
        - Fax
        - Email
        - Phone
        - Web form
        - In person
        - Mobile app
  - name: resolution_type
    description: How the company resolved the complaint
    tests:
    - not_null
    - accepted_values:
        values:
        - Closed with explanation
        - Closed with monetary relief
        - Closed with non-monetary relief
        - In progress
        - Closed with relief
        - Closed
        - Closed without relief
        - Withdrawn by consumer
        - Resolved
        - Administratively closed
        - Pending
        - Referred to other agency
  - name: timely_response
    description: Whether company responded within expected timeframe
    tests:
    - not_null
    - accepted_values:
        values:
        - 'Yes'
        - 'No'
  - name: consumer_disputed
    description: Whether consumer disagreed with resolution
    tests:
    - not_null
    - accepted_values:
        values:
        - 'No'
        - 'Yes'
  - name: complaint_id
    description: Unique identifier for the complaint
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: This column represents a unique identifier for each complaint. For
        this table, each row is for a specific complaint, and complaint_id is unique
        across rows.
      patterns:
      - regex: CR\d{7}
        summary: Complaint ID values starting with 'CR' followed by 7 digits
  - name: client_id
    description: Unique identifier for the client
    tests:
    - not_null
  - name: date_received
    description: Date when the complaint was received
    tests:
    - not_null
  - name: date_sent_to_company
    description: Date when complaint was forwarded to company
    tests:
    - not_null

stg_LuxuryLoanPortfolio (first 100 rows)

loan_id loan_amount loan_duration_years loan_duration_months treasury_index_rate interest_rate_percent interest_rate_decimal monthly_payment total_payments_made current_loan_balance property_value loan_purpose first_name middle_name last_name ssn phone_number employment_length_years building_class_category current_tax_class current_building_class address_1 address_2 city state items_financed land_square_feet gross_square_feet job_title funding_date sale_tax_class zip_code
0 LL0000076 790000.0 20 240 1.9600 3.359 0.03359 4524.65 92 373732.18 930250.0 boat Devin Knox Walters 972-69-4236 542-843-5089 6 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 171 SOUTH 9TH STREET 9 New York City NY 1 0.0 0.0 Vice President Global Field Services 2012-04-27 2 10001
1 LL0000151 1720000.0 15 180 2.2100 3.508 0.03508 12302.74 62 957230.24 1995250.0 boat Rhett Felix Calderon 577-13-5838 625-614-0118 10 04 TAX CLASS 1 CONDOS 1 R3 1242 E 80TH ST 19 New York City NY 1 0.0 0.0 Senior program manager 2014-10-14 1 10104
2 LL0000161 3720000.0 15 180 2.6000 3.896 0.03896 27322.92 66 1916687.35 3881700.0 boat Jax Sean Richards 263-55-1721 255-592-5290 1 04 TAX CLASS 1 CONDOS 1 R3 1884 53RD STREET 2 New York City NY 1 0.0 0.0 None 2014-06-07 1 10029
3 LL0000175 1079000.0 20 240 1.9900 3.389 0.03389 6196.40 94 496538.75 1402450.0 boat Nicholas Jeremy Priest 512-60-5121 757-337-7073 17 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 79 EAGLE STREET 6 New York City NY 1 0.0 0.0 Vice presiden 2012-02-23 2 10010
4 LL0000178 2028000.0 20 240 1.7900 3.188 0.03188 11439.05 45 1513242.57 2216500.0 boat Riley Matteo Hoffman 271-64-4634 478-573-2416 5 49 CONDO WAREHOUSES/FACTORY/INDUS 4 RW 34 NORTH 7TH STREET 5 New York City NY 1 0.0 0.0 Bank examiner 2016-04-01 4 10172
5 LL0000195 612000.0 20 240 2.4609 3.860 0.03860 3663.61 26 516746.19 711850.0 boat Arabella Marley Castro 474-50-8126 892-292-9784 3 07 RENTALS - WALKUP APARTMENTS 2 C3 1586 PROSPECT PLACE 4 New York City NY 4 3194.0 3296.0 Senior Director of Video Programming 2017-10-26 2 10026
6 LL0000206 630000.0 15 180 2.3700 3.669 0.03669 4556.23 24 520650.57 667750.0 boat Leonardo Jasper Burdick 626-46-8957 697-948-0097 1 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 221 KINGSLAND AVENUE 1 New York City NY 1 0.0 0.0 Field CTO 2017-12-07 2 10023
7 LL0000234 795000.0 20 240 2.3589 3.758 0.03758 4716.77 26 672363.91 895850.0 boat Henry Jackson Thao 981-33-3139 640-589-4719 11 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 221 KINGSLAND AVENUE 2 New York City NY 1 0.0 0.0 vp of Sourcing and Supply Chain 2017-10-06 2 10028
8 LL0000250 2004000.0 15 180 1.7600 3.058 0.03058 13895.23 2 1976209.55 2068050.0 boat Amelia Harper Dickerson 861-62-0214 331-988-6536 5 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 221 KINGSLAND AVENUE 3 New York City NY 1 0.0 0.0 Vice Presiden 2019-10-12 2 10013
9 LL0000311 4752000.0 20 240 1.7400 3.135 0.03135 26676.78 3 4671969.67 4937150.0 boat Sergio Gideon Benson 152-86-8191 817-743-2573 1 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 221 KINGSLAND AVENUE 4 New York City NY 1 0.0 0.0 Sales manager 2019-09-20 2 10199
10 LL0000319 1790000.0 20 240 2.8900 4.288 0.04288 11120.61 12 1656552.66 1869300.0 boat Martin Prince Willey 385-00-3598 964-655-0840 11 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 221 KINGSLAND AVENUE 5 New York City NY 1 0.0 0.0 Trading manager 2018-12-11 2 10121
11 LL0000327 1890000.0 20 240 1.6200 3.018 0.03018 10498.93 42 1449044.81 1954850.0 boat Raven Danna Robles 632-74-2673 367-790-6730 13 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 221 KINGSLAND AVENUE 6 New York City NY 1 0.0 0.0 SrUnderwriter 2016-06-13 2 10166
12 LL0000400 1310000.0 20 240 2.4193 3.818 0.03818 7813.28 35 1036535.37 1364400.0 boat Jesse Archer Fairchild 912-82-7956 585-743-3074 5 07 RENTALS - WALKUP APARTMENTS 2 C3 136 AMITY STREET 5 New York City NY 4 2500.0 5000.0 Practice Director 2017-01-08 2 10115
13 LL0000527 5577000.0 20 240 2.4100 3.804 0.03804 33222.32 53 3816216.90 5718600.0 boat Brody Omar Stoddard 565-55-8737 802-065-0912 12 07 RENTALS - WALKUP APARTMENTS 2 C2 37 FROST STREET 6 New York City NY 6 2500.0 4125.0 Sales Manager 2015-07-14 2 10010
14 LL0000544 1640000.0 15 180 2.8500 4.148 0.04148 12252.87 12 1492965.52 1719350.0 boat Emiliano Landen Oh 961-10-9612 665-662-7472 10 07 RENTALS - WALKUP APARTMENTS 2 C1 168 HICKS STREET 10 New York City NY 10 2550.0 5625.0 Owner 2018-12-10 2 10006
15 LL0000549 728000.0 20 240 2.4600 3.859 0.03859 4357.64 24 623416.73 825150.0 boat Charlotte Emily Becker 562-19-5485 398-608-2965 13 04 TAX CLASS 1 CONDOS 1 R3 1204 44TH STREET 3 New York City NY 1 0.0 0.0 Realtor 2017-12-19 1 10081
16 LL0000558 1368000.0 20 240 2.2700 3.669 0.03669 8053.16 48 981448.18 1561500.0 boat Brady Tucker Kramer 228-81-5265 405-437-1466 13 07 RENTALS - WALKUP APARTMENTS 2 C2 722 KNICKERBOCKER AVENUE 6 New York City NY 6 2600.0 5850.0 Registered nurse 2015-12-23 2 10012
17 LL0000568 1380000.0 20 240 2.9700 4.369 0.04369 8633.28 19 1215967.68 1589950.0 boat Zoey Helen Gonzalez 212-58-0465 799-297-7340 4 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 45 LORIMER STREET 2 New York City NY 1 0.0 0.0 Product Manager 2018-05-12 2 10110
18 LL0000569 1290000.0 20 240 1.8500 3.249 0.03249 7316.17 87 653493.12 1603100.0 boat Lylah Emily Parrish 682-05-8535 594-044-3081 4 04 TAX CLASS 1 CONDOS 1 R3 1420 OUTLOOK AVENUE 2 New York City NY 1 0.0 0.0 Owner/Partner+Landlord 2012-09-17 1 10022
19 LL0000578 638000.0 15 180 2.7300 4.029 0.04029 4728.49 68 316462.94 802100.0 boat Cody Jorge Patrick 207-54-2146 246-322-0352 13 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 235 LEE AVENUE 4 New York City NY 1 0.0 0.0 Vice President 2014-04-20 2 10031
20 LL0000603 1180000.0 15 180 2.8600 4.159 0.04159 8822.64 21 994724.64 1273450.0 boat Nina Alison Barnett 325-65-4707 556-914-0518 2 07 RENTALS - WALKUP APARTMENTS 2 C1 3020 AVE D 21 New York City NY 12 3683.0 9758.0 Principal Broker 2018-03-03 2 10109
21 LL0000612 1100000.0 20 240 2.5400 3.939 0.03939 6630.48 67 655757.87 1382650.0 boat Joel Cristian Satterfield 410-18-9502 335-993-9247 12 07 RENTALS - WALKUP APARTMENTS 2 C3 151 EAST 52ND STREET 4 New York City NY 4 2700.0 3564.0 Director 2014-05-19 2 10027
22 LL0000617 1020500.0 15 180 2.5000 3.799 0.03799 7446.14 63 551393.34 1177500.0 boat Alejandro Marcus Strickland 993-22-8242 684-389-7424 10 07 RENTALS - WALKUP APARTMENTS 2 C2 6804 OWLS HEAD COURT 6 New York City NY 6 2033.0 4920.0 Sole Proprietor 2014-09-09 2 10155
23 LL0000619 1730000.0 20 240 2.7500 4.148 0.04148 10618.87 73 954822.78 1962000.0 boat Fabian Grady Marquez 308-88-7665 656-759-1207 14 07 RENTALS - WALKUP APARTMENTS 2 C2 6804 OWLS HEAD COURT 6 New York City NY 6 2033.0 4920.0 Sr. Director Global Talent 2013-11-13 2 10013
24 LL0000625 688000.0 20 240 2.3401 3.739 0.03739 4075.13 36 541295.17 864000.0 boat Renata Amelia Kane 534-24-2156 529-390-5291 10 04 TAX CLASS 1 CONDOS 1 R6 1270 56TH STREET 1 New York City NY 1 0.0 0.0 HOSPITALIST 2016-12-07 1 10087
25 LL0000638 496000.0 20 240 2.0000 3.400 0.03400 2851.18 58 330631.67 645250.0 boat Trenton Cohen Graves 816-85-4406 820-226-4790 8 08 RENTALS - ELEVATOR APARTMENTS 2 D5 5302 6 AVENUE 25 New York City NY 25 9550.0 27648.0 Advisory Systems Engineer 2015-02-11 2 10002
26 LL0000642 1670000.0 20 240 2.4000 3.798 0.03798 9943.00 53 1143020.89 1812050.0 boat Jaelyn Demi Nash 860-24-9387 817-209-1881 12 08 RENTALS - ELEVATOR APARTMENTS 2 D5 5302 6 AVENUE 25 New York City NY 25 9550.0 27648.0 Administrator 2015-07-05 2 10016
27 LL0000651 1850000.0 15 180 1.6400 2.938 0.02938 12720.67 88 730581.20 2164100.0 boat Hadassah Harper Farrell 901-05-8699 445-355-8603 1 07 RENTALS - WALKUP APARTMENTS 2 C1 323 43RD STREET 24 New York City NY 24 6261.0 21000.0 CEO and Manager 2012-08-28 2 10173
28 LL0000703 808500.0 15 180 2.3900 3.689 0.03689 5855.16 64 433770.00 966250.0 boat Evangeline Shelby Schultz 177-63-1486 420-956-9711 13 07 RENTALS - WALKUP APARTMENTS 2 C1 517 49TH STREET 8 New York City NY 8 3005.0 6960.0 Business Intelligence Architect 2014-08-25 2 10175
29 LL0000706 1460000.0 15 180 2.0700 3.369 0.03369 10343.61 47 973850.11 1592000.0 boat Arthur Archer Bates 283-55-0140 969-945-7728 9 07 RENTALS - WALKUP APARTMENTS 2 C1 517 49TH STREET 8 New York City NY 8 3005.0 6960.0 crna 2016-01-22 2 10044
30 LL0000749 676500.0 20 240 1.7100 3.109 0.03109 3788.87 91 331712.54 815650.0 boat Emmett Chance Maier 886-36-2032 551-719-7673 14 07 RENTALS - WALKUP APARTMENTS 2 C1 448 51ST STREET 8 New York City NY 8 3000.0 6928.0 Sole Equity Partner 2012-05-19 2 10169
31 LL0000842 1524000.0 15 180 3.0800 4.379 0.04378 11563.70 13 1373671.91 1604550.0 boat Sadie Mia Collins 258-18-9319 329-493-6700 13 07 RENTALS - WALKUP APARTMENTS 2 C1 448 51ST STREET 8 New York City NY 8 3000.0 6928.0 Branch Manager 2018-11-16 2 10161
32 LL0000888 1932000.0 15 180 1.5500 2.848 0.02848 13201.26 4 1879194.98 1938900.0 boat Francisco Judah Ochoa 253-85-9789 944-811-7728 3 07 RENTALS - WALKUP APARTMENTS 2 C1 523 51ST STREET 8 New York City NY 8 2980.0 8268.0 Manager 2019-08-16 2 10162
33 LL0000898 1560000.0 20 240 1.7900 3.188 0.03188 8799.27 86 803262.59 1871500.0 boat Alessandra Lilah Holland 660-74-3688 375-695-8959 14 07 RENTALS - WALKUP APARTMENTS 2 C1 523 51ST STREET 8 New York City NY 8 2980.0 8268.0 CEO 2012-10-19 2 10002
34 LL0000913 1180000.0 20 240 2.9600 4.359 0.04359 7375.75 20 1032484.97 1330650.0 boat Killian Jaylen Mann 700-66-4358 474-117-4947 14 07 RENTALS - WALKUP APARTMENTS 2 C1 549 49TH STREET 8 New York City NY 8 2504.0 6348.0 Director 2018-04-28 2 10103
35 LL0000966 1540000.0 20 240 1.7600 3.159 0.03158 8663.12 2 1522673.76 1723700.0 boat Milo Drake Augustine 104-25-9863 579-098-9389 12 07 RENTALS - WALKUP APARTMENTS 2 C1 549 49TH STREET 8 New York City NY 8 2504.0 6348.0 President 2019-10-19 2 10113
36 LL0001011 1450000.0 15 180 2.3100 3.609 0.03609 10443.59 54 886046.39 1533600.0 boat Xavier Ayden Powell 961-86-0050 200-802-5289 6 07 RENTALS - WALKUP APARTMENTS 2 C1 4702 4 AVENUE 8 New York City NY 8 2500.0 8264.0 Administrator 2015-06-04 2 10037
37 LL0001097 1670000.0 20 240 1.5300 2.928 0.02928 9201.70 89 851048.36 1806550.0 boat Fabian Nash Parrish 378-53-5029 280-292-5980 5 07 RENTALS - WALKUP APARTMENTS 2 C1 4702 4 AVENUE 8 New York City NY 8 2500.0 8264.0 Vice President 2012-07-10 2 10016
38 LL0001110 1190000.0 10 120 2.2800 3.479 0.03479 11755.72 55 543435.65 1454750.0 boat Maxwell Jorge Wakefield 326-88-9901 456-304-8819 4 38 ASYLUMS AND HOMES 4 N9 115 RALPH AVENUE 3 New York City NY 1 1440.0 4400.0 Sales 2015-05-12 4 10153
39 LL0001113 799500.0 20 240 2.0800 3.479 0.03479 4628.16 50 568092.24 936850.0 boat Regina Michaela Cervantes 705-49-2057 669-377-2700 15 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 1826 51ST STREET 2 New York City NY 1 0.0 0.0 VP, Client Sales 2015-10-07 2 10040
40 LL0001115 3840000.0 20 240 2.3661 3.762 0.03762 22790.90 32 3110691.22 3949800.0 boat Beckett Reed Loyd 594-52-7770 558-745-1032 4 44 CONDO PARKING 4 RG 444 12TH STREET 13 New York City NY 1 0.0 0.0 Systems Manager 2017-04-10 4 10129
41 LL0001131 1200000.0 20 240 3.2200 4.619 0.04619 7669.09 14 1092632.72 1402400.0 boat Isabella Ariella Jones 247-64-0158 688-039-4206 18 07 RENTALS - WALKUP APARTMENTS 2 C2 810 MACON STREET 6 New York City NY 6 2500.0 4275.0 Chief Information Officer 2018-10-10 2 10027
42 LL0001165 1650000.0 15 180 3.0600 4.358 0.04358 12502.97 15 1462455.39 1733050.0 boat Gabriel Benjamin Nagy 852-95-4541 550-921-4404 18 13 CONDOS - ELEVATOR APARTMENTS 2 R4 110 LIVINGSTON STREET 10 New York City NY 1 0.0 0.0 Sales Engineer 2018-09-27 2 10177
43 LL0001203 1344000.0 20 240 2.8700 4.269 0.04269 8336.14 17 1202285.65 1431400.0 boat Kailey Alanna Hoover 148-48-5654 612-840-4306 14 07 RENTALS - WALKUP APARTMENTS 2 C1 305 JEFFERSON STREET 8 New York City NY 8 2500.0 6500.0 None 2018-07-02 2 10119
44 LL0001248 1330000.0 15 180 2.1300 3.429 0.03429 9461.63 47 885303.25 1522700.0 boat Isaac Oliver Grubbs 330-01-2664 367-246-5176 15 04 TAX CLASS 1 CONDOS 1 R6 1216 47TH STREET 3 New York City NY 1 0.0 0.0 Principal Project Manager 2016-01-08 1 10168
45 LL0001319 1120000.0 20 240 2.7600 4.159 0.04159 6881.18 70 638317.24 1347050.0 boat Jaxon Hunter Roberts 252-89-5024 968-978-4135 8 44 CONDO PARKING 4 RP 120 OCEANA DRIVE WEST 2 New York City NY 1 0.0 0.0 Physician/Medical Director 2014-02-20 4 10153
46 LL0001335 3672000.0 15 180 2.1500 3.446 0.03446 26153.22 6 3515080.68 3862250.0 boat Francisco River Oliver 711-10-2793 515-133-7291 12 02 TWO FAMILY DWELLINGS 1 B1 298 SACKETT STREET 2 New York City NY 2 1735.0 3415.0 Anesthetist 2019-06-10 1 10249
47 LL0001346 1452000.0 15 180 1.8200 3.119 0.03119 10110.56 87 572381.62 1645050.0 boat Jameson Ashton Simpson 143-13-0617 868-752-8567 11 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 105 LORIMER STREET 2 New York City NY 1 0.0 0.0 Pilot 2012-09-18 2 10165
48 LL0001352 877500.0 15 180 1.7100 3.009 0.03009 6063.65 46 598571.97 948550.0 boat Kylee Evangeline Lynch 174-24-5168 506-956-0578 13 11A CONDO-RENTALS 2 RR 150 CLERMONT AVENUE 1 New York City NY 52 19659.0 52513.0 Associate Director 2016-02-10 2 10175
49 LL0001355 1860000.0 20 240 1.6000 2.998 0.02998 10313.65 42 1426826.57 2104750.0 boat Josephine Delilah Wells 965-22-0215 615-884-2762 3 04 TAX CLASS 1 CONDOS 1 R3 1262 51ST STREET 3 New York City NY 1 0.0 0.0 Senior Director, IT 2016-06-15 1 10038
50 LL0001399 3192000.0 20 240 1.8800 3.277 0.03277 18148.64 82 1703811.82 3497000.0 boat Damian Maxwell Hayes 437-60-0541 673-465-2275 10 43 CONDO OFFICE BUILDINGS 4 RB 150 CLERMONT AVENUE 3 New York City NY 1 0.0 0.0 Founder/CEO 2013-02-26 4 10171
51 LL0001434 640000.0 15 180 1.6200 2.919 0.02919 4394.83 42 455417.01 884850.0 boat Montserrat Elizabeth Liu 883-30-9337 840-908-6591 1 46 CONDO STORE BUILDINGS 4 RK 150 CLERMONT AVENUE 2 New York City NY 1 0.0 0.0 RN 2016-06-13 4 10106
52 LL0001449 1180000.0 20 240 2.4800 3.879 0.03879 7075.56 24 1010186.63 1216950.0 boat Charlie Omar Shaffer 271-21-6671 455-025-7864 11 46 CONDO STORE BUILDINGS 4 RK 150 CLERMONT AVENUE 4 New York City NY 1 0.0 0.0 Supervisor 2017-12-23 4 10033
53 LL0001457 5148000.0 15 180 1.8900 3.185 0.03185 36010.98 45 3527506.07 5336700.0 boat Elijah Felix Doyle 755-73-3171 487-492-4340 17 04 TAX CLASS 1 CONDOS 1 R3 1719 OCEAN AVENUE 1 New York City NY 1 0.0 0.0 Owner 2016-03-28 1 10150
54 LL0001458 1692000.0 15 180 3.0800 4.378 0.04378 12838.44 15 1499423.43 1715200.0 boat Harlow Brittany Sherman 792-56-7549 214-528-5656 16 07 RENTALS - WALKUP APARTMENTS 2 C2 536 MC DONALD AVENUE 6 New York City NY 6 2400.0 4896.0 Agency administrator 2018-09-24 2 10018
55 LL0001538 803000.0 20 240 2.8200 4.219 0.04219 4959.19 20 703816.30 954400.0 boat Adelina Kaelyn Serrano 154-91-4163 612-496-5548 15 14 RENTALS - 4-10 UNIT 2 S3 236 MALCOLM X BOULEVARD 3 New York City NY 4 1700.0 4320.0 Pharmacist 2018-04-13 2 10033
56 LL0001556 1200000.0 15 180 2.2765 3.575 0.03575 8622.86 27 967182.90 1301600.0 boat Travis Orion Yancey 315-40-3352 241-780-6884 18 07 RENTALS - WALKUP APARTMENTS 2 C1 401 MACON STREET 16 New York City NY 16 4000.0 14240.0 Sales Mgr 2017-09-21 2 10112
57 LL0001599 2232000.0 15 180 2.1637 3.462 0.03461 15913.47 30 1754596.04 2338500.0 boat Elliot Mark Bauer 973-71-4066 466-690-5166 1 07 RENTALS - WALKUP APARTMENTS 2 C3 1049 BERGEN STREET 4 New York City NY 4 1950.0 5684.0 CEO 2017-06-15 2 10095
58 LL0001605 1956000.0 15 180 1.7700 3.068 0.03068 13571.84 87 775250.05 2148800.0 boat Bristol Melany Barton 728-85-5629 755-303-2416 6 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 307 DIVISION AVENUE 4 New York City NY 1 0.0 0.0 Manager 2012-09-23 2 10018
59 LL0001634 3927000.0 15 180 2.2279 3.524 0.03524 28119.74 30 3083407.70 4092850.0 boat Aileen Adelina Shepherd 996-29-7577 551-153-6006 11 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 543 BROOKLYN AVE 6 New York City NY 1 0.0 0.0 Owner 2017-06-28 2 10119
60 LL0001656 1750000.0 20 240 2.3229 3.721 0.03721 10349.15 26 1480922.01 1851000.0 boat Lacey Karla Conner 747-97-1117 683-062-9815 3 07 RENTALS - WALKUP APARTMENTS 2 C7 2282 EAST 7TH STREET 9 New York City NY 9 3041.0 8352.0 Partner 2017-10-03 2 10013
61 LL0001718 1632000.0 20 240 1.9600 3.358 0.03358 9346.29 56 1108607.60 1837700.0 boat Diego Josue Newton 817-83-7011 440-604-6440 3 07 RENTALS - WALKUP APARTMENTS 2 C3 1718 WEST 13TH STREET 4 New York City NY 4 3000.0 3900.0 General Sales Manager 2015-04-23 2 10043
62 LL0000724 6270000.0 15 180 1.7600 3.054 0.03054 43462.49 80 2793000.53 6572950.0 investment property Edwin Walter Gregory 300-11-8536 496-244-8464 8 46 CONDO STORE BUILDINGS 4 RK 756 MYRTLE AVENUE 1 New York City NY 1 0.0 0.0 Financial Planner 2013-04-08 4 10176
63 LL0000064 6138000.0 30 360 2.6300 4.224 0.04224 30101.92 75 3880356.26 6432450.0 investment property Damian Andres Worthington 452-66-1934 776-744-6579 12 07 RENTALS - WALKUP APARTMENTS 2 C1 323 43RD STREET 24 New York City NY 24 6261.0 21000.0 executive vice prsident 2013-09-25 2 10156
64 LL0000818 6237000.0 15 180 2.0900 3.384 0.03384 44232.78 6 5971603.31 6426950.0 commercial property Mariana Amber Ortega 724-02-8534 511-363-4736 16 07 RENTALS - WALKUP APARTMENTS 2 C1 329 LINCOLN PLACE 8 New York City NY 10 3600.0 11743.0 VP Manufacturing Operations 2019-06-16 2 10279
65 LL0000938 6237000.0 30 360 2.6800 4.274 0.04274 30769.99 69 4113870.97 6402750.0 investment property Kaylie Liana Gallegos 165-56-8997 855-831-2238 8 16 CONDOS - 2-10 UNIT WITH COMMERCIAL UNIT 2 R8 90 GREENE STREET 1 New York City NY 1 NaN NaN CPA/Shareholder 2014-03-18 2 10022
66 LL0000753 6270000.0 30 360 2.3948 3.989 0.03989 29894.19 34 5253597.52 6382800.0 home Joseph Michael Smith 852-31-3277 289-479-3701 9 46 CONDO STORE BUILDINGS 4 RK 808 BROADWAY 1 New York City NY 1 NaN NaN Managing Director 2017-02-09 4 10166
67 LL0000911 6171000.0 30 360 1.5200 3.114 0.03114 26398.13 41 5088676.69 6353650.0 home Mia Madison Contreras 689-31-5161 748-412-3850 3 13 CONDOS - ELEVATOR APARTMENTS 2 R4 325 W. BROADWAY 9 New York City NY 1 NaN NaN nurse 2016-07-27 2 10104
68 LL0000786 6072000.0 30 360 2.5000 4.094 0.04094 29318.67 77 3814462.04 6309700.0 home Aaron Jack Jefferson 344-46-2408 829-171-9108 12 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 3 EAST 95TH STREET 3 New York City NY 1 NaN NaN AVP Consulting Sales North America 2013-07-22 2 10095
69 LL0001678 6171000.0 30 360 2.1900 3.784 0.03784 28698.05 55 4592607.25 6255300.0 commercial property Aliyah Presley Meyer 407-75-3282 851-266-8749 10 13 CONDOS - ELEVATOR APARTMENTS 2 R4 25 MERCER STREET 5 New York City NY 1 NaN NaN FINANCIAL ADVISOR 2015-05-21 2 10106
70 LL0000467 6171000.0 30 360 2.2400 3.834 0.03834 28873.80 49 4756183.90 6246200.0 home Titus Fernando Wall 962-50-7580 249-580-6538 7 13 CONDOS - ELEVATOR APARTMENTS 2 R4 145 WEST 11TH 5 New York City NY 1 NaN NaN Managing Director 2015-11-19 2 10151
71 LL0001260 6105000.0 30 360 3.0700 4.664 0.04664 31530.87 15 5632036.89 6188350.0 commercial property Kaelyn Madilynn Olsen 287-80-4827 706-608-2739 8 13 CONDOS - ELEVATOR APARTMENTS 2 R4 27 MERCER STREET 6 New York City NY 1 NaN NaN GM / VP - Sales 2018-09-21 2 10162
72 LL0001210 6039000.0 30 360 2.0100 3.604 0.03604 27469.61 94 3456856.83 6182600.0 commercial property Brayden Isaiah Bond 128-81-8008 341-646-0332 1 13 CONDOS - ELEVATOR APARTMENTS 2 R4 145 WEST 11 2 New York City NY 1 NaN NaN Airline Pilot 2012-02-20 2 10150
73 LL0000080 5940000.0 30 360 1.8800 3.474 0.03474 26587.12 87 3626920.62 6133250.0 commercial property Christian Isaac Lombardo 277-63-5491 476-925-9180 7 07 RENTALS - WALKUP APARTMENTS 2 C1 427 DEAN STREET 16 New York City NY 17 4808.0 16200.0 Claims Consultant 2012-09-14 2 10119
74 LL0000922 6039000.0 15 180 1.7100 3.004 0.03004 41715.84 43 4245218.71 6105300.0 commercial property Max Cole Gibson 296-72-7133 555-917-3940 14 13 CONDOS - ELEVATOR APARTMENTS 2 R4 18 GRAMERCY PARK SOUTH 16 New York City NY 1 NaN NaN Pilot 2016-05-15 2 10113
75 LL0000826 5808000.0 15 180 2.0200 3.314 0.03314 40991.90 82 2446663.95 5993300.0 investment property Makayla Brielle Vasquez 895-85-1281 303-662-8628 18 13 CONDOS - ELEVATOR APARTMENTS 2 R4 1 MAIN STREET 16 New York City NY 1 0.0 0.0 Crew Forman 2013-02-20 2 10103
76 LL0000265 5907000.0 30 360 3.1000 4.694 0.04694 30614.64 14 5478395.09 5988700.0 home Abby Amari Miranda 451-42-2885 579-721-6442 8 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 17 EAST 12TH STREET 10 New York City NY 1 NaN NaN DIRECTOR OF FINANCE 2018-10-24 2 10175
77 LL0000200 5775000.0 30 360 1.7600 3.354 0.03354 25463.97 44 4654585.18 5963250.0 investment property Kai Bryson Avila 326-68-6887 326-855-9232 4 13 CONDOS - ELEVATOR APARTMENTS 2 R4 145 WEST 11 3 New York City NY 1 NaN NaN GM 2016-04-06 2 10101
78 LL0001206 5643000.0 30 360 1.8000 3.394 0.03394 25006.88 88 3442394.89 5897450.0 commercial property Brielle Kinsley Harrison 409-62-4064 750-661-4664 13 04 TAX CLASS 1 CONDOS 1 R6 22 GRAMERCY PARK SOUTH 2 New York City NY 1 NaN NaN Managing Director 2012-08-21 1 10170
79 LL0000664 5808000.0 30 360 3.1500 4.744 0.04744 30276.28 14 5384132.14 5890200.0 investment property Rachel Julianna Fox 309-53-2805 972-682-8589 15 13 CONDOS - ELEVATOR APARTMENTS 2 R4 18 GRAMERCY PARK SOUTH 3 New York City NY 1 NaN NaN Doctor 2018-10-14 2 10090
80 LL0001280 5841000.0 30 360 2.8500 4.444 0.04444 29401.45 12 5488182.55 5860400.0 commercial property Walker Erik Miles 888-64-1773 920-114-3793 8 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 155 EAST 79TH STREET 5 New York City NY 1 NaN NaN physician 2018-12-09 2 10260
81 LL0001471 5709000.0 30 360 1.6500 3.244 0.03244 24827.13 88 3524212.31 5844000.0 commercial property Dallas Messiah Weiss 284-80-4254 779-277-3780 10 43 CONDO OFFICE BUILDINGS 4 RB 305 EAST 47TH STREET 2 New York City NY 1 NaN NaN Regional Vice President 2012-08-10 4 10060
82 LL0001408 5709000.0 30 360 1.7600 3.354 0.03354 25172.96 46 4551044.00 5839150.0 commercial property Liberty Helena Whitaker 743-84-2222 686-216-7591 13 16 CONDOS - 2-10 UNIT WITH COMMERCIAL UNIT 2 R8 339 GREENWICH STREET 1 New York City NY 1 NaN NaN Sr. Vice President - Retirement Plans 2016-02-28 2 10128
83 LL0000668 5544000.0 30 360 2.1500 3.745 0.03744 25656.26 52 4209874.65 5804200.0 investment property Zariah Imani Drake 978-49-9635 903-987-8861 5 43 CONDO OFFICE BUILDINGS 4 RB 55 EAST 59TH STREET 12 New York City NY 1 NaN NaN Physician 2015-08-11 4 10175
84 LL0001333 5610000.0 30 360 2.3822 3.977 0.03977 26708.66 32 4755322.75 5779950.0 investment property Leon Maximiliano Allison 553-66-8361 806-298-1964 2 13 CONDOS - ELEVATOR APARTMENTS 2 R4 944 PARK AVENUE 14 New York City NY 1 NaN NaN Provider 2017-04-07 2 10021
85 LL0001687 5544000.0 30 360 2.7900 4.385 0.04384 27709.81 11 5239192.06 5741300.0 commercial property Easton Lincoln Whitmore 565-55-5455 889-027-5571 12 31 COMMERCIAL VACANT LAND 4 V1 189 MONTAGUE STREET 5 New York City NY 1 10000.0 0.0 Physician 2019-01-20 4 10163
86 LL0001460 5478000.0 30 360 1.6600 3.255 0.03255 23855.64 90 3330992.64 5735250.0 investment property Miguel Edward Stone 704-86-4705 930-165-1091 16 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 155 EAST 79TH STREET 2 New York City NY 1 NaN NaN VP, Business and Legal Affairs 2012-06-26 2 10025
87 LL0000509 5511000.0 30 360 2.1000 3.695 0.03694 25347.50 57 4066192.69 5718600.0 commercial property Anthony Aiden Corey 639-59-2036 985-961-7606 4 14 RENTALS - 4-10 UNIT 2 S9 292 ATLANTIC AVENUE 3 New York City NY 8 3200.0 7500.0 Portfolio Manager 2015-03-16 2 10003
88 LL0000249 5511000.0 30 360 3.0800 4.675 0.04674 28496.07 15 5083558.94 5714450.0 investment property Dalton Cruz Vazquez 873-91-6374 418-049-9547 9 08 RENTALS - ELEVATOR APARTMENTS 2 D9 35 PINEAPPLE STREET 14 New York City NY 15 2545.0 11842.0 Owner 2018-09-19 2 10034
89 LL0001500 5544000.0 30 360 2.0100 3.605 0.03604 25218.00 79 3551777.92 5664500.0 commercial property Ryleigh Kate Cunningham 724-62-0952 248-747-2217 11 13 CONDOS - ELEVATOR APARTMENTS 2 R4 147 WAVERLY PLACE 9 New York City NY 1 NaN NaN President 2013-05-27 2 10039
90 LL0001445 5412000.0 30 360 1.8800 3.475 0.03475 24226.84 45 4321792.39 5661100.0 investment property Donovan Pablo Edmondson 416-30-6450 284-653-6416 14 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 17 EAST 12TH STREET 8 New York City NY 1 NaN NaN Vice President 2016-03-20 2 10176
91 LL0001157 5412000.0 30 360 2.1600 3.755 0.03755 25079.17 55 4032645.48 5616950.0 investment property Abigail Isabella Christian 166-87-2742 893-509-9313 11 13 CONDOS - ELEVATOR APARTMENTS 2 R4 65 WEST 13TH STREET 10 New York City NY 1 NaN NaN Managing Director 2015-05-08 2 10101
92 LL0000971 5478000.0 30 360 1.5300 3.125 0.03125 23466.41 89 3389489.75 5614600.0 home Erick Romeo Marlow 902-77-6815 454-237-3754 2 43 CONDO OFFICE BUILDINGS 4 RB 29 EAST 10TH STREET 7 New York City NY 1 NaN NaN Branch Owner 2012-07-09 4 10176
93 LL0000472 5478000.0 30 360 2.4699 4.064 0.04064 26355.33 35 4555563.32 5591200.0 home Leonardo Elias Patterson 100-48-3476 780-416-6544 8 13 CONDOS - ELEVATOR APARTMENTS 2 R4 21 EAST 66TH STREET 11 New York City NY 1 NaN NaN President 2017-02-01 2 10055
94 LL0000532 5445000.0 30 360 1.6900 3.285 0.03285 23801.70 86 3398053.42 5576750.0 investment property Gabrielle Sienna Berry 382-40-8949 295-670-6155 7 13 CONDOS - ELEVATOR APARTMENTS 2 R4 515 PARK AVENUE 18 New York City NY 1 NaN NaN General Manager 2012-10-14 2 10159
95 LL0001108 5412000.0 30 360 1.8700 3.465 0.03465 24196.69 43 4371542.51 5537800.0 commercial property Mabel Lillie Cameron 927-32-5555 633-243-5889 18 13 CONDOS - ELEVATOR APARTMENTS 2 R4 170 EAST END AVENUE 10 New York City NY 1 NaN NaN President 2016-05-25 2 10038
96 LL0000459 5346000.0 15 180 1.7500 3.045 0.03045 37034.31 85 2198084.02 5536750.0 investment property Weston Micah Wetzel 419-18-2105 543-379-8399 2 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 12 EAST 13TH STREET 5 New York City NY 1 NaN NaN Wholesale Loan Ops Manager/SVP 2012-11-03 2 10158
97 LL0000284 5445000.0 30 360 2.9700 4.565 0.04565 27799.71 15 5028004.39 5528750.0 investment property Matteo Kaden Mueller 843-89-8451 419-367-5651 3 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 17 EAST 12TH STREET 7 New York City NY 1 NaN NaN Vice President 2018-09-13 2 10022
98 LL0001642 5214000.0 30 360 2.6100 4.205 0.04205 25512.57 77 3249531.82 5511550.0 commercial property Elliana Raelyn Santiago 954-33-5929 851-503-2301 6 15 CONDOS - 2-10 UNIT RESIDENTIAL 2 R1 17 EAST 12TH STREET 6 New York City NY 1 NaN NaN CEO 2013-07-25 2 10261
99 LL0001191 5478000.0 30 360 1.7500 3.345 0.03345 24127.15 3 5405618.54 5483600.0 commercial property Skyla Carter Wall 312-15-1961 966-193-9111 10 13 CONDOS - ELEVATOR APARTMENTS 2 R4 235 WEST 71ST STREET 7 New York City NY 1 NaN NaN Vice president 2019-09-11 2 10178

stg_LuxuryLoanPortfolio.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
WITH 
"LuxuryLoanPortfolio_renamed" AS (
    -- Rename: Renaming columns
    -- funded_amount -> loan_amount
    -- funded_date -> funding_date
    -- duration_years -> loan_duration_years
    -- duration_months -> loan_duration_months
    -- _10_yr_treasury_index_date_funded -> treasury_index_rate
    -- interest_rate -> interest_rate_decimal
    -- payments -> monthly_payment
    -- total_past_payments -> total_payments_made
    -- loan_balance -> current_loan_balance
    -- purpose -> loan_purpose
    -- firstname -> first_name
    -- middlename -> middle_name
    -- lastname -> last_name
    -- social -> ssn
    -- phone -> phone_number
    -- title -> job_title
    -- employment_length -> employment_length_years
    -- tax_class_at_present -> current_tax_class
    -- building_class_at_present -> current_building_class
    -- total_units -> items_financed
    -- tax_class_at_time_of_sale -> sale_tax_class
    SELECT 
        "loan_id",
        "funded_amount" AS "loan_amount",
        "funded_date" AS "funding_date",
        "duration_years" AS "loan_duration_years",
        "duration_months" AS "loan_duration_months",
        "_10_yr_treasury_index_date_funded" AS "treasury_index_rate",
        "interest_rate_percent",
        "interest_rate" AS "interest_rate_decimal",
        "payments" AS "monthly_payment",
        "total_past_payments" AS "total_payments_made",
        "loan_balance" AS "current_loan_balance",
        "property_value",
        "purpose" AS "loan_purpose",
        "firstname" AS "first_name",
        "middlename" AS "middle_name",
        "lastname" AS "last_name",
        "social" AS "ssn",
        "phone" AS "phone_number",
        "title" AS "job_title",
        "employment_length" AS "employment_length_years",
        "building_class_category",
        "tax_class_at_present" AS "current_tax_class",
        "building_class_at_present" AS "current_building_class",
        "address_1",
        "address_2",
        "zip_code",
        "city",
        "state",
        "total_units" AS "items_financed",
        "land_square_feet",
        "gross_square_feet",
        "tax_class_at_time_of_sale" AS "sale_tax_class"
    FROM "LuxuryLoanPortfolio"
),

"LuxuryLoanPortfolio_renamed_trimmed" AS (
    -- Trim Leading and Trailing Spaces
    SELECT
        "loan_id",
        "loan_amount",
        "funding_date",
        "loan_duration_years",
        "loan_duration_months",
        "treasury_index_rate",
        "interest_rate_percent",
        "interest_rate_decimal",
        "monthly_payment",
        "total_payments_made",
        "current_loan_balance",
        "property_value",
        "loan_purpose",
        "first_name",
        "middle_name",
        "last_name",
        "ssn",
        "phone_number",
        "employment_length_years",
        "building_class_category",
        "current_tax_class",
        "current_building_class",
        "address_1",
        "address_2",
        "zip_code",
        "city",
        "state",
        "items_financed",
        "land_square_feet",
        "gross_square_feet",
        "sale_tax_class",
        TRIM("job_title") AS "job_title"
    FROM "LuxuryLoanPortfolio_renamed"
),

"LuxuryLoanPortfolio_renamed_trimmed_cleaned" AS (
    -- Clean unusual string values: 
    -- loan_purpose: The problem is that 'commerical property' is misspelled. It should be 'commercial property'. The other values appear to be correct. The correct values should be 'home', 'investment property', 'commercial property', and 'boat'. 
    -- current_tax_class: The problem is that the tax class representations are inconsistent. The values '2', '2A', '2B', and '2C' seem to represent variations of the same tax class 2. Similarly, '1C' and '1A' are likely variations of tax class 1. The correct values should be simplified to the main tax class numbers without letter suffixes for consistency. 
    -- address_1: Some addresses have extra spaces, e.g., '17 EAST 12TH   STREET' vs '17 EAST 12TH STREET'.
    -- address_2: The problem is that some values in the address_2 column mix letters with numbers inconsistently. The correct values should be purely numeric, as the majority of the entries are. The unusual entries appear to be apartment or unit numbers, where the letter likely represents a building or section. To standardize, we'll keep only the numeric part for consistency. 
    -- job_title: 'Owner' and 'owner' are redundant. 'VP' is an abbreviation of 'Vice President', which is already present.
    SELECT
        "loan_id",
        "loan_amount",
        "funding_date",
        "loan_duration_years",
        "loan_duration_months",
        "treasury_index_rate",
        "interest_rate_percent",
        "interest_rate_decimal",
        "monthly_payment",
        "total_payments_made",
        "current_loan_balance",
        "property_value",
        CASE
            WHEN "loan_purpose" = 'commerical property' THEN 'commercial property'
            ELSE "loan_purpose"
        END AS "loan_purpose",
        "first_name",
        "middle_name",
        "last_name",
        "ssn",
        "phone_number",
        "employment_length_years",
        "building_class_category",
        CASE
            WHEN "current_tax_class" = '2C' THEN '2'
            WHEN "current_tax_class" = '2A' THEN '2'
            WHEN "current_tax_class" = '2B' THEN '2'
            WHEN "current_tax_class" = '1C' THEN '1'
            WHEN "current_tax_class" = '1A' THEN '1'
            ELSE "current_tax_class"
        END AS "current_tax_class",
        "current_building_class",
        "address_1",
        CASE
            WHEN "address_2" = '10C' THEN '10'
            WHEN "address_2" = '11E' THEN '11'
            WHEN "address_2" = '11F' THEN '11'
            WHEN "address_2" = '10K' THEN '10'
            WHEN "address_2" = '10I' THEN '10'
            WHEN "address_2" = '33D' THEN '33'
            WHEN "address_2" = '33B' THEN '33'
            WHEN "address_2" = '33C' THEN '33'
            WHEN "address_2" = '104N' THEN '104'
            WHEN "address_2" = '10B/C' THEN '10'
            WHEN "address_2" = '10C/D' THEN '10'
            WHEN "address_2" = '10DS' THEN '10'
            WHEN "address_2" = '10HN' THEN '10'
            WHEN "address_2" = '116A' THEN '116'
            WHEN "address_2" = '11G-1' THEN '11'
            WHEN "address_2" = '12Y' THEN '12'
            WHEN "address_2" = 'B2E' THEN '2'
            WHEN "address_2" = 'B302' THEN '302'
            ELSE "address_2"
        END AS "address_2",
        "zip_code",
        "city",
        "state",
        "items_financed",
        "land_square_feet",
        "gross_square_feet",
        "sale_tax_class",
        "job_title"
    FROM "LuxuryLoanPortfolio_renamed_trimmed"
),

"LuxuryLoanPortfolio_renamed_trimmed_cleaned_casted" AS (
    -- Column Type Casting: 
    -- funding_date: from VARCHAR to DATE
    -- sale_tax_class: from INT to VARCHAR
    -- zip_code: from INT to VARCHAR
    SELECT
        "loan_id",
        "loan_amount",
        "loan_duration_years",
        "loan_duration_months",
        "treasury_index_rate",
        "interest_rate_percent",
        "interest_rate_decimal",
        "monthly_payment",
        "total_payments_made",
        "current_loan_balance",
        "property_value",
        "loan_purpose",
        "first_name",
        "middle_name",
        "last_name",
        "ssn",
        "phone_number",
        "employment_length_years",
        "building_class_category",
        "current_tax_class",
        "current_building_class",
        "address_1",
        "address_2",
        "city",
        "state",
        "items_financed",
        "land_square_feet",
        "gross_square_feet",
        "job_title",
        CAST("funding_date" AS DATE) AS "funding_date",
        CAST("sale_tax_class" AS VARCHAR) AS "sale_tax_class",
        CAST("zip_code" AS VARCHAR) AS "zip_code"
    FROM "LuxuryLoanPortfolio_renamed_trimmed_cleaned"
)

-- COCOON BLOCK END
SELECT * FROM "LuxuryLoanPortfolio_renamed_trimmed_cleaned_casted"

stg_LuxuryLoanPortfolio.yml (Document the table)

version: 2
models:
- name: stg_LuxuryLoanPortfolio
  description: The table is about luxury loans. It contains details of each loan including
    amount, interest rate, duration, and payments. It also has borrower information
    like name and social security number. Property details such as address, value,
    and purpose are included. The table covers financial aspects of loans and personal
    information of borrowers for luxury items like boats.
  columns:
  - name: loan_id
    description: Unique identifier for the loan
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: This column represents a unique identifier for each loan. For this
        table, each row is for a specific luxury loan. loan_id is unique across rows
        as it's designed to be a primary identifier.
      patterns:
      - regex: LL\d{7}
        summary: Loan IDs starting with 'LL' followed by 7 digits
  - name: loan_amount
    description: Amount of loan funded
    tests:
    - not_null
  - name: loan_duration_years
    description: Loan duration in years
    tests:
    - not_null
  - name: loan_duration_months
    description: Loan duration in months
    tests:
    - not_null
  - name: treasury_index_rate
    description: 10-year Treasury index rate at funding date
    tests:
    - not_null
  - name: interest_rate_percent
    description: Interest rate of the loan as percentage
    tests:
    - not_null
  - name: interest_rate_decimal
    description: Interest rate of the loan as decimal
    tests:
    - not_null
  - name: monthly_payment
    description: Monthly payment amount for the loan
    tests:
    - not_null
  - name: total_payments_made
    description: Total number of past payments made
    tests:
    - not_null
  - name: current_loan_balance
    description: Current balance of the loan
    tests:
    - not_null
  - name: property_value
    description: Estimated value of the property
    tests:
    - not_null
  - name: loan_purpose
    description: Purpose of the loan
    tests:
    - not_null
    - accepted_values:
        values:
        - home
        - investment property
        - commercial property
        - boat
        - car
        - personal
        - education
        - debt consolidation
        - home improvement
        - business
        - medical
        - vacation
        - wedding
        - other
  - name: first_name
    description: Borrower's first name
    tests:
    - not_null
    cocoon_meta:
      patterns:
      - regex: '[A-Z][a-z]+'
        summary: Capitalized words representing first names
  - name: middle_name
    description: Borrower's middle name
    tests:
    - not_null
  - name: last_name
    description: Borrower's last name
    tests:
    - not_null
    cocoon_meta:
      patterns:
      - regex: '[A-Z][a-z]+'
        summary: Last names starting with a capital letter followed by lowercase letters
  - name: ssn
    description: Borrower's social security number
    tests:
    - not_null
    cocoon_meta:
      patterns:
      - regex: \d{3}-\d{2}-\d{4}
        summary: Social Security Numbers in the format XXX-XX-XXXX, where X represents
          a digit
  - name: phone_number
    description: Borrower's phone number
    tests:
    - not_null
    cocoon_meta:
      patterns:
      - regex: \d{3}-\d{3,4}-\d{4}
        summary: Phone numbers in the format of XXX-XXX-XXXX or XXX-XXXX-XXXX
  - name: employment_length_years
    description: Borrower's employment length in years
    tests:
    - not_null
  - name: building_class_category
    description: Description of the building class category
    tests:
    - not_null
  - name: current_tax_class
    description: Current tax classification of the property
    tests:
    - not_null
    - accepted_values:
        values:
        - '1'
        - '2'
        - '3'
        - '4'
        - '5'
        - '6'
        - '7'
        - '8'
        - '9'
  - name: current_building_class
    description: Current building classification code
    tests:
    - not_null
  - name: address_1
    description: Primary street address of the property
    tests:
    - not_null
    cocoon_meta:
      patterns:
      - regex: \d+\s+[A-Z\s]+
        summary: Street addresses with number and name, without type
      - regex: \d+\s+(EAST|WEST|NORTH|SOUTH)\s+.+
        summary: Addresses with cardinal directions
      - regex: \d+-\d+\s+.+
        summary: Addresses with hyphenated house numbers
      - regex: '[\d-]+\s+[A-Z0-9\s]+(\s+STREET|AVENUE|PLACE|ROAD)?'
        summary: Loose pattern to catch most variations
      - regex: ^.+\s(STREET|AVENUE|PLACE)$
        summary: Street addresses ending with 'STREET', 'AVENUE', or 'PLACE
      - regex: ^\d+-\d+A\s.+$
        summary: Addresses with hyphenated numbers and 'A' suffix (e.g., '143-25A
          ROOSEVELT AVENUE')
      - regex: ^[\w\s\.-]+$
        summary: General pattern for all street addresses (loose match)
  - name: address_2
    description: Secondary address information or unit number
    tests:
    - not_null
  - name: city
    description: City where the property is located
    tests:
    - not_null
  - name: state
    description: State where the property is located
    tests:
    - not_null
  - name: items_financed
    description: Number of luxury items financed in the loan
    tests:
    - not_null
  - name: land_square_feet
    description: Square footage of the land
    tests:
    - not_null
  - name: gross_square_feet
    description: Gross square footage of the property
    tests:
    - not_null
  - name: job_title
    description: Job title of the borrower
    cocoon_meta:
      missing_acceptable: Unemployed or retired individuals may not have a job title.
      patterns:
      - regex: (Senior\s+)?(Executive\s+)?(Regional\s+)?(VP|Vice\s+President)(\s+of\s+\w+)?
        summary: Titles with "VP" or "Vice President" variations
      - regex: C[A-Z]O
        summary: C-suite titles
      - regex: (\w+\s+)+Manager
        summary: Titles ending with "Manager"
      - regex: ((\w+\s+)+Director(\s+of\s+\w+)?|Director(\s+of\s+\w+)?)
        summary: Titles containing "Director"
      - regex: ((\w+\s+)*(Sales|Account)\s+(\w+\s*)*)
        summary: Titles related to sales
      - regex: (Physician|Doctor|MD|RN|Nurse|Dentist|Anesthesiologist|Radiologist)
        summary: Medical professions
      - regex: Chief\s[A-Z][a-z]+(\s[A-Z][a-z]+)*\sOfficer
        summary: Titles with "Chief" prefix
      - regex: VP\s[A-Z][a-z]+
        summary: Titles with "VP" prefix
      - regex: (Owner|President)(/[A-Z][a-z]+)?
        summary: Titles with "Owner" or "President"
      - regex: '[A-Z][a-z]+(\s[A-Z][a-z]+)*'
        summary: Generic job title pattern (captures most entries)
      - regex: Director(\s+of|\,)\s+[A-Za-z\s&]+
        summary: Titles with "Director" followed by a specific area
      - regex: Head\s+of\s+[A-Za-z\s]+
        summary: Titles with "Head of" followed by a department or area
      - regex: Chief\s+[A-Za-z\s]+(\s+Officer)?
        summary: Titles with "Chief" followed by a specific role
      - regex: '[SAEV]VP(\s+&|\,)?(\s+[A-Za-z]+)?'
        summary: Titles with hierarchical levels (e.g., SVP, EVP, AVP)
      - regex: '[A-Z]+\s+[A-Za-z\s/]+'
        summary: Titles with professional designations followed by role (e.g., CPA
          Owner)
      - regex: '[A-Za-z\s\-\,/&]+'
        summary: General free text pattern for job titles
      - regex: ^(Sr\.|VP|V\. P\.|Director|Executive).*
        summary: Titles starting with seniority levels
      - regex: .*(Sales|Analytics|Planning|Business Dev(''t)?|Talent|Mortgage|Retirement).*
        summary: Titles containing specific job areas
      - regex: .*(Captain|Pilot|Physician|Lawyer|Partner|Owner).*
        summary: Titles with industry-specific terms
      - regex: ^[A-Z][a-zA-Z\.\s\-\(\)/''+]+$
        summary: Loose pattern to capture most titles
  - name: funding_date
    description: Date when the loan was funded
    tests:
    - not_null
  - name: sale_tax_class
    description: Tax classification at time of property sale
    tests:
    - not_null
    - accepted_values:
        values:
        - '1'
        - '2'
        - '3'
        - '4'
        - '5'
        - '6'
        - '7'
        - '8'
  - name: zip_code
    description: Postal code of the borrower's address
    tests:
    - not_null

stg_completedtrans (first 100 rows)

transaction_category balance year_ transaction_amount transaction_description account_id transaction_id bank_name day_of_month month_ row_number transaction_type account_holder full_date transaction_date transaction_datetime transaction_time
0 None 700.0 2013 700.0 Credit in Cash A00002378 T00695247 None 1 1 1 Credit None 2013-01-01 2013-01-01 2013-01-01 11:02:40 11:02:40
1 None 900.0 2013 900.0 Credit in Cash A00000576 T00171812 None 1 1 2 Credit None 2013-01-01 2013-01-01 2013-01-01 08:23:33 08:23:33
2 None 1000.0 2013 1000.0 Credit in Cash A00000704 T00207264 None 1 1 3 Credit None 2013-01-01 2013-01-01 2013-01-01 15:19:21 15:19:21
3 None 600.0 2013 600.0 Credit in Cash A00003818 T01117247 None 1 1 4 Credit None 2013-01-01 2013-01-01 2013-01-01 10:42:35 10:42:35
4 None 400.0 2013 400.0 Credit in Cash A00001972 T00579373 None 2 1 5 Credit None 2013-01-02 2013-01-02 2013-01-02 11:39:25 11:39:25
5 None 1100.0 2013 1100.0 Credit in Cash A00002632 T00771035 None 2 1 6 Credit None 2013-01-02 2013-01-02 2013-01-02 15:15:12 15:15:12
6 None 600.0 2013 600.0 Credit in Cash A00001539 T00452728 None 3 1 7 Credit None 2013-01-03 2013-01-03 2013-01-03 09:34:29 09:34:29
7 None 1100.0 2013 1100.0 Credit in Cash A00002484 T00725751 None 3 1 8 Credit None 2013-01-03 2013-01-03 2013-01-03 09:36:35 09:36:35
8 None 200.0 2013 200.0 Credit in Cash A00001695 T00497211 None 3 1 9 Credit None 2013-01-03 2013-01-03 2013-01-03 15:22:23 15:22:23
9 None 800.0 2013 800.0 Credit in Cash A00000793 T00232960 None 3 1 10 Credit None 2013-01-03 2013-01-03 2013-01-03 15:08:16 15:08:16
10 None 1000.0 2013 1000.0 Credit in Cash A00001726 T00505240 None 3 1 11 Credit None 2013-01-03 2013-01-03 2013-01-03 13:54:49 13:54:49
11 None 300.0 2013 300.0 Credit in Cash A00000485 T00144541 None 4 1 12 Credit None 2013-01-04 2013-01-04 2013-01-04 16:40:53 16:40:53
12 None 800.0 2013 800.0 Credit in Cash A00002177 T00637741 None 4 1 13 Credit None 2013-01-04 2013-01-04 2013-01-04 10:30:59 10:30:59
13 None 800.0 2013 800.0 Credit in Cash A00002357 T00689827 None 4 1 14 Credit None 2013-01-04 2013-01-04 2013-01-04 16:29:16 16:29:16
14 None 700.0 2013 700.0 Credit in Cash A00002881 T00846006 None 4 1 15 Credit None 2013-01-04 2013-01-04 2013-01-04 09:29:01 09:29:01
15 Old Age Pension 5923.0 2013 5123.0 Collection from Another Bank A00002177 T00637742 State Street Corp. 5 1 16 Credit 62457513 2013-01-05 2013-01-05 2013-01-05 16:44:42 16:44:42
16 None 400.0 2013 400.0 Credit in Cash A00009635 T02908688 None 5 1 17 Credit None 2013-01-05 2013-01-05 2013-01-05 13:32:11 13:32:11
17 None 4201.0 2013 3401.0 Collection from Another Bank A00000793 T00232961 Goldman Sachs 5 1 18 Credit 6149286 2013-01-05 2013-01-05 2013-01-05 11:56:11 11:56:11
18 None 700.0 2013 700.0 Credit in Cash A00000652 T00192096 None 5 1 19 Credit None 2013-01-05 2013-01-05 2013-01-05 09:28:49 09:28:49
19 None 500.0 2013 500.0 Credit in Cash A00001844 T00542215 None 6 1 20 Credit None 2013-01-06 2013-01-06 2013-01-06 14:38:54 14:38:54
20 None 700.0 2013 700.0 Credit in Cash A00001926 T00565654 None 6 1 21 Credit None 2013-01-06 2013-01-06 2013-01-06 11:41:28 11:41:28
21 None 3742.0 2013 3242.0 Collection from Another Bank A00001844 T00542216 Capital One 7 1 22 Credit 42988401 2013-01-07 2013-01-07 2013-01-07 10:11:45 10:11:45
22 None 500.0 2013 500.0 Credit in Cash A00003510 T01027725 None 7 1 23 Credit None 2013-01-07 2013-01-07 2013-01-07 08:59:48 08:59:48
23 None 400.0 2013 400.0 Credit in Cash A00001276 T00374589 None 7 1 24 Credit None 2013-01-07 2013-01-07 2013-01-07 13:53:48 13:53:48
24 Old Age Pension 5698.0 2013 5298.0 Collection from Another Bank A00001972 T00579374 Bank of New York Mellon Corp. 7 1 25 Credit 14132887 2013-01-07 2013-01-07 2013-01-07 08:09:01 08:09:01
25 None 900.0 2013 900.0 Credit in Cash A00002393 T00699220 None 7 1 26 Credit None 2013-01-07 2013-01-07 2013-01-07 09:44:19 09:44:19
26 None 400.0 2013 400.0 Credit in Cash A00000435 T00129502 None 8 1 27 Credit None 2013-01-08 2013-01-08 2013-01-08 11:33:46 11:33:46
27 None 7174.0 2013 6774.0 Credit in Cash A00001276 T00374590 None 8 1 28 Credit None 2013-01-08 2013-01-08 2013-01-08 10:41:24 10:41:24
28 None 300.0 2013 300.0 Credit in Cash A00000192 T00057433 None 8 1 29 Credit None 2013-01-08 2013-01-08 2013-01-08 11:27:40 11:27:40
29 None 12032.0 2013 11832.0 Credit in Cash A00001695 T00497212 None 8 1 30 Credit None 2013-01-08 2013-01-08 2013-01-08 11:42:14 11:42:14
30 None 300.0 2013 300.0 Credit in Cash A00002122 T00621760 None 8 1 31 Credit None 2013-01-08 2013-01-08 2013-01-08 13:23:47 13:23:47
31 None 500.0 2013 500.0 Credit in Cash A00001637 T00480214 None 8 1 32 Credit None 2013-01-08 2013-01-08 2013-01-08 14:01:07 14:01:07
32 None 600.0 2013 600.0 Credit in Cash A00002087 T00612392 None 8 1 33 Credit None 2013-01-08 2013-01-08 2013-01-08 13:21:14 13:21:14
33 None 1100.0 2013 1100.0 Credit in Cash A00000764 T00224342 None 8 1 34 Credit None 2013-01-08 2013-01-08 2013-01-08 10:25:46 10:25:46
34 None 600.0 2013 600.0 Credit in Cash A00003592 T01049881 None 8 1 35 Credit None 2013-01-08 2013-01-08 2013-01-08 13:49:31 13:49:31
35 None 300.0 2013 300.0 Credit in Cash A00003871 T01132662 None 8 1 36 Credit None 2013-01-08 2013-01-08 2013-01-08 14:07:56 14:07:56
36 None 800.0 2013 800.0 Credit in Cash A00003487 T01021120 None 8 1 37 Credit None 2013-01-08 2013-01-08 2013-01-08 08:08:38 08:08:38
37 None 200.0 2013 200.0 Credit in Cash A00001493 T00439035 None 9 1 38 Credit None 2013-01-09 2013-01-09 2013-01-09 09:39:13 09:39:13
38 None 400.0 2013 400.0 Credit in Cash A00000374 T00110534 None 9 1 39 Credit None 2013-01-09 2013-01-09 2013-01-09 09:09:09 09:09:09
39 None 15364.0 2013 14264.0 Credit in Cash A00002632 T00771036 None 9 1 40 Credit None 2013-01-09 2013-01-09 2013-01-09 09:27:45 09:27:45
40 None 900.0 2013 900.0 Credit in Cash A00001730 T00506450 None 9 1 41 Credit None 2013-01-09 2013-01-09 2013-01-09 11:42:16 11:42:16
41 None 14551.0 2013 13851.0 Credit in Cash A00000652 T00192097 None 9 1 42 Credit None 2013-01-09 2013-01-09 2013-01-09 16:46:01 16:46:01
42 None 17966.0 2013 17366.0 Credit in Cash A00003818 T01117248 None 9 1 43 Credit None 2013-01-09 2013-01-09 2013-01-09 08:09:03 08:09:03
43 None 800.0 2013 800.0 Credit in Cash A00002379 T00695720 None 10 1 44 Credit None 2013-01-10 2013-01-10 2013-01-10 15:55:39 15:55:39
44 None 1000.0 2013 1000.0 Credit in Cash A00002925 T00857973 None 10 1 45 Credit None 2013-01-10 2013-01-10 2013-01-10 12:19:11 12:19:11
45 None 700.0 2013 700.0 Credit in Cash A00001628 T00477638 None 10 1 46 Credit None 2013-01-10 2013-01-10 2013-01-10 08:10:26 08:10:26
46 Old Age Pension 6607.0 2013 6007.0 Collection from Another Bank A00003592 T01049882 U.S. Bancorp 10 1 47 Credit 73166322 2013-01-10 2013-01-10 2013-01-10 09:02:13 09:02:13
47 None 500.0 2013 500.0 Credit in Cash A00000866 T00252644 None 10 1 48 Credit None 2013-01-10 2013-01-10 2013-01-10 10:45:25 10:45:25
48 None 400.0 2013 400.0 Credit in Cash A00001338 T00393505 None 11 1 49 Credit None 2013-01-11 2013-01-11 2013-01-11 08:34:56 08:34:56
49 Old Age Pension 7107.0 2013 6207.0 Collection from Another Bank A00000576 T00171813 State Street Corp. 11 1 50 Credit 30300313 2013-01-11 2013-01-11 2013-01-11 16:36:38 16:36:38
50 None 900.0 2013 900.0 Credit in Cash A00001979 T00581699 None 11 1 51 Credit None 2013-01-11 2013-01-11 2013-01-11 12:20:47 12:20:47
51 None 13144.0 2013 12644.0 Credit in Cash A00000866 T00252645 None 11 1 52 Credit None 2013-01-11 2013-01-11 2013-01-11 15:04:16 15:04:16
52 None 800.0 2013 800.0 Credit in Cash A00000346 T00101386 None 11 1 53 Credit None 2013-01-11 2013-01-11 2013-01-11 11:25:35 11:25:35
53 Old Age Pension 7234.0 2013 6434.0 Collection from Another Bank A00002357 T00689828 PNC Financial Services 12 1 54 Credit 34144538 2013-01-12 2013-01-12 2013-01-12 10:30:16 10:30:16
54 None 15879.0 2013 14779.0 Credit in Cash A00002484 T00725752 None 12 1 55 Credit None 2013-01-12 2013-01-12 2013-01-12 16:47:37 16:47:37
55 None 5207.0 2013 4507.0 Credit in Cash A00001926 T00565655 None 12 1 56 Credit None 2013-01-12 2013-01-12 2013-01-12 13:52:16 13:52:16
56 None 7446.0 2013 6446.0 Credit in Cash A00002925 T00857974 None 12 1 57 Credit None 2013-01-12 2013-01-12 2013-01-12 12:34:59 12:34:59
57 None 800.0 2013 800.0 Credit in Cash A00001909 T00560898 None 12 1 58 Credit None 2013-01-12 2013-01-12 2013-01-12 14:13:45 14:13:45
58 None 18477.0 2013 17477.0 Credit in Cash A00000704 T00207265 None 12 1 59 Credit None 2013-01-12 2013-01-12 2013-01-12 11:04:49 11:04:49
59 Old Age Pension 4976.0 2013 4276.0 Collection from Another Bank A00001628 T00477639 Bank of New York Mellon Corp. 12 1 60 Credit 15916598 2013-01-12 2013-01-12 2013-01-12 11:14:10 11:14:10
60 None 1100.0 2013 1100.0 Credit in Cash A00002099 T00615542 None 12 1 61 Credit None 2013-01-12 2013-01-12 2013-01-12 13:13:38 13:13:38
61 Old Age Pension 5209.0 2013 5009.0 Collection from Another Bank A00001493 T00439036 JPMorgan Chase 13 1 62 Credit 54522466 2013-01-13 2013-01-13 2013-01-13 14:38:37 14:38:37
62 None 1000.0 2013 1000.0 Credit in Cash A00003760 T01100759 None 13 1 63 Credit None 2013-01-13 2013-01-13 2013-01-13 15:18:01 15:18:01
63 Old Age Pension 6218.0 2013 5718.0 Collection from Another Bank A00001637 T00480215 Bank of New York Mellon Corp. 13 1 64 Credit 45134812 2013-01-13 2013-01-13 2013-01-13 14:23:02 14:23:02
64 None 800.0 2013 800.0 Credit in Cash A00005270 T01548749 None 13 1 65 Credit None 2013-01-13 2013-01-13 2013-01-13 13:11:54 13:11:54
65 None 14967.0 2013 13967.0 Credit in Cash A00001726 T00505241 None 13 1 66 Credit None 2013-01-13 2013-01-13 2013-01-13 12:29:39 12:29:39
66 None 7659.0 2013 6959.0 Credit in Cash A00002881 T00846007 None 13 1 67 Credit None 2013-01-13 2013-01-13 2013-01-13 14:39:11 14:39:11
67 None 16714.0 2013 15914.0 Credit in Cash A00003487 T01021121 None 13 1 68 Credit None 2013-01-13 2013-01-13 2013-01-13 13:39:09 13:39:09
68 Old Age Pension 4870.0 2013 4470.0 Collection from Another Bank A00009635 T02908689 Bank of America 14 1 69 Credit 37906074 2013-01-14 2013-01-14 2013-01-14 14:50:59 14:50:59
69 None 600.0 2013 600.0 Credit in Cash A00002926 T00858384 None 14 1 70 Credit None 2013-01-14 2013-01-14 2013-01-14 10:12:59 10:12:59
70 None 800.0 2013 800.0 Credit in Cash A00001699 T00498389 None 14 1 71 Credit None 2013-01-14 2013-01-14 2013-01-14 14:55:00 14:55:00
71 None 11637.0 2013 10737.0 Credit in Cash A00002393 T00699221 None 14 1 72 Credit None 2013-01-14 2013-01-14 2013-01-14 14:59:01 14:59:01
72 None 700.0 2013 700.0 Credit in Cash A00003909 T01142758 None 14 1 73 Credit None 2013-01-14 2013-01-14 2013-01-14 14:49:02 14:49:02
73 None 45549.0 2013 44749.0 Collection from Another Bank A00005270 T01548750 Goldman Sachs 14 1 74 Credit 80269753 2013-01-14 2013-01-14 2013-01-14 09:52:52 09:52:52
74 None 200.0 2013 200.0 Credit in Cash A00001731 T00506836 None 14 1 75 Credit None 2013-01-14 2013-01-14 2013-01-14 16:20:17 16:20:17
75 None 1000.0 2013 1000.0 Credit in Cash A00011265 T03393738 None 14 1 76 Credit None 2013-01-14 2013-01-14 2013-01-14 11:58:13 11:58:13
76 None 46852.0 2013 46552.0 Credit in Cash A00002122 T00621775 None 15 1 77 Credit None 2013-01-15 2013-01-15 2013-01-15 10:12:11 10:12:11
77 None 500.0 2013 500.0 Credit in Cash A00002519 T00737258 None 15 1 78 Credit None 2013-01-15 2013-01-15 2013-01-15 15:25:00 15:25:00
78 None 13456.0 2013 13156.0 Credit in Cash A00000485 T00144549 None 16 1 79 Credit None 2013-01-16 2013-01-16 2013-01-16 14:32:23 14:32:23
79 None 1000.0 2013 1000.0 Credit in Cash A00001481 T00435762 None 17 1 80 Credit None 2013-01-17 2013-01-17 2013-01-17 14:42:51 14:42:51
80 None 23823.0 2013 23323.0 Credit in Cash A00003510 T01027726 None 17 1 81 Credit None 2013-01-17 2013-01-17 2013-01-17 08:48:50 08:48:50
81 None 1100.0 2013 1100.0 Credit in Cash A00010364 T03122924 None 17 1 82 Credit None 2013-01-17 2013-01-17 2013-01-17 12:57:05 12:57:05
82 None 200.0 2013 200.0 Credit in Cash A00004034 T01176385 None 18 1 83 Credit None 2013-01-18 2013-01-18 2013-01-18 15:59:05 15:59:05
83 None 300.0 2013 300.0 Credit in Cash A00000401 T00119435 None 18 1 84 Credit None 2013-01-18 2013-01-18 2013-01-18 11:37:05 11:37:05
84 None 11792.0 2013 10792.0 Credit in Cash A00003760 T01100767 None 18 1 85 Credit None 2013-01-18 2013-01-18 2013-01-18 10:17:03 10:17:03
85 None 200.0 2013 200.0 Credit in Cash A00002330 T00682546 None 19 1 86 Credit None 2013-01-19 2013-01-19 2013-01-19 09:28:59 09:28:59
86 None 400.0 2013 400.0 Credit in Cash A00001806 T00529772 None 19 1 87 Credit None 2013-01-19 2013-01-19 2013-01-19 15:16:58 15:16:58
87 None 700.0 2013 700.0 Credit in Cash A00003834 T01121963 None 19 1 88 Credit None 2013-01-19 2013-01-19 2013-01-19 09:34:56 09:34:56
88 None 700.0 2013 700.0 Credit in Cash A00001222 T00359511 None 20 1 89 Credit None 2013-01-20 2013-01-20 2013-01-20 11:07:02 11:07:02
89 None 200.0 2013 200.0 Credit in Cash A00000212 T00063712 None 20 1 90 Credit None 2013-01-20 2013-01-20 2013-01-20 12:29:33 12:29:33
90 None 1100.0 2013 1100.0 Credit in Cash A00001019 T00298978 None 21 1 91 Credit None 2013-01-21 2013-01-21 NaT 15:59:16
91 None 1000.0 2013 1000.0 Credit in Cash A00000459 T00136957 None 21 1 92 Credit None 2013-01-21 2013-01-21 2013-01-21 11:07:56 11:07:56
92 None 700.0 2013 700.0 Credit in Cash A00000456 T00135814 None 21 1 93 Credit None 2013-01-21 2013-01-21 2013-01-21 08:28:34 08:28:34
93 None 500.0 2013 500.0 Credit in Cash A00000772 T00226654 None 21 1 94 Credit None 2013-01-21 2013-01-21 2013-01-21 08:31:17 08:31:17
94 None 1100.0 2013 1100.0 Credit in Cash A00011295 T03402664 None 21 1 95 Credit None 2013-01-21 2013-01-21 2013-01-21 13:38:31 13:38:31
95 None 7968.0 2013 7268.0 Credit in Cash A00002378 T00695250 None 22 1 96 Credit None 2013-01-22 2013-01-22 2013-01-22 14:43:54 14:43:54
96 None 300.0 2013 300.0 Credit in Cash A00001536 T00451890 None 22 1 97 Credit None 2013-01-22 2013-01-22 2013-01-22 11:17:36 11:17:36
97 None 200.0 2013 200.0 Credit in Cash A00002676 T00785190 None 22 1 98 Credit None 2013-01-22 2013-01-22 2013-01-22 08:36:26 08:36:26
98 None 17225.0 2013 16125.0 Credit in Cash A00002099 T00615548 None 22 1 99 Credit None 2013-01-22 2013-01-22 2013-01-22 15:37:35 15:37:35
99 None 400.0 2013 400.0 Credit in Cash A00002970 T00871631 None 22 1 100 Credit None 2013-01-22 2013-01-22 2013-01-22 11:08:59 11:08:59

stg_completedtrans.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
WITH 
"completedtrans_renamed" AS (
    -- Rename: Renaming columns
    -- column_a -> row_number
    -- trans_id -> transaction_id
    -- type -> transaction_type
    -- operation -> transaction_description
    -- amount -> transaction_amount
    -- k_symbol -> transaction_category
    -- bank -> bank_name
    -- account -> account_holder
    -- day_ -> day_of_month
    -- date_ -> transaction_date
    -- fulldate -> full_date
    -- fulltime -> transaction_time
    -- fulldatewithtime -> transaction_datetime
    SELECT 
        "column_a" AS "row_number",
        "trans_id" AS "transaction_id",
        "account_id",
        "type" AS "transaction_type",
        "operation" AS "transaction_description",
        "amount" AS "transaction_amount",
        "balance",
        "k_symbol" AS "transaction_category",
        "bank" AS "bank_name",
        "account" AS "account_holder",
        "year_",
        "month_",
        "day_" AS "day_of_month",
        "date_" AS "transaction_date",
        "fulldate" AS "full_date",
        "fulltime" AS "transaction_time",
        "fulldatewithtime" AS "transaction_datetime"
    FROM "completedtrans"
),

"completedtrans_renamed_trimmed" AS (
    -- Trim Leading and Trailing Spaces
    SELECT
        "row_number",
        "transaction_id",
        "account_id",
        "transaction_type",
        "transaction_description",
        "transaction_amount",
        "balance",
        "bank_name",
        "account_holder",
        "year_",
        "month_",
        "day_of_month",
        "transaction_date",
        "full_date",
        "transaction_time",
        "transaction_datetime",
        TRIM("transaction_category") AS "transaction_category"
    FROM "completedtrans_renamed"
),

"completedtrans_renamed_trimmed_null" AS (
    -- NULL Imputation: Impute Null to Disguised Missing Values
    -- transaction_category: ['']
    SELECT 
        CASE
            WHEN "transaction_category" = '' THEN NULL
            ELSE "transaction_category"
        END AS "transaction_category",
        "account_holder",
        "balance",
        "transaction_time",
        "year_",
        "transaction_amount",
        "transaction_date",
        "transaction_description",
        "account_id",
        "transaction_id",
        "bank_name",
        "day_of_month",
        "month_",
        "row_number",
        "full_date",
        "transaction_type",
        "transaction_datetime"
    FROM "completedtrans_renamed_trimmed"
),

"completedtrans_renamed_trimmed_null_casted" AS (
    -- Column Type Casting: 
    -- account_holder: from FLOAT to VARCHAR
    -- full_date: from VARCHAR to DATE
    -- transaction_date: from VARCHAR to DATE
    -- transaction_datetime: from VARCHAR to TIMESTAMP
    -- transaction_time: from VARCHAR to TIME
    SELECT
        "transaction_category",
        "balance",
        "year_",
        "transaction_amount",
        "transaction_description",
        "account_id",
        "transaction_id",
        "bank_name",
        "day_of_month",
        "month_",
        "row_number",
        "transaction_type",
        CAST("account_holder" AS VARCHAR) AS "account_holder",
        CAST("full_date" AS DATE) AS "full_date",
        CAST("transaction_date" AS DATE) AS "transaction_date",
        TRY_TO_TIMESTAMP("transaction_datetime", 'YYYY-MM-DDTHH24:MI:SS') AS "transaction_datetime",
        CASE
            WHEN REGEXP_LIKE("transaction_time", '([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d') THEN CAST("transaction_time" AS TIME)
            WHEN REGEXP_LIKE("transaction_time", '\\d{2}:\\d{2}:\\d{2}') THEN TO_TIME(
            CASE
                WHEN SPLIT_PART("transaction_time", ':', 1)::INT > 23 THEN '23'
                ELSE LPAD(SPLIT_PART("transaction_time", ':', 1), 2, '0')
            END || ':' ||
            CASE
                WHEN SPLIT_PART("transaction_time", ':', 2)::INT > 59 THEN '59'
                ELSE LPAD(SPLIT_PART("transaction_time", ':', 2), 2, '0')
            END || ':' ||
            CASE
                WHEN SPLIT_PART("transaction_time", ':', 3)::INT > 59 THEN '59'
                ELSE LPAD(SPLIT_PART("transaction_time", ':', 3), 2, '0')
            END
        )
            ELSE "transaction_time"
        END AS "transaction_time"
    FROM "completedtrans_renamed_trimmed_null"
)

-- COCOON BLOCK END
SELECT * FROM "completedtrans_renamed_trimmed_null_casted"

stg_completedtrans.yml (Document the table)

version: 2
models:
- name: stg_completedtrans
  description: The table is about completed financial transactions. It includes details
    such as transaction ID, account ID, type of transaction, operation, amount, balance,
    date, and time. Each row represents a single transaction with its associated information.
    The table covers various credit transactions, specifically cash deposits, made
    on different dates and times.
  columns:
  - name: transaction_category
    description: Purpose unknown, possibly transaction category
    tests:
    - not_null
  - name: balance
    description: Account balance after the transaction
    tests:
    - not_null
  - name: year_
    description: Year of the transaction
    tests:
    - not_null
  - name: transaction_amount
    description: Transaction amount in currency units
    tests:
    - not_null
  - name: transaction_description
    description: Description of the transaction type
    tests:
    - not_null
    - accepted_values:
        values:
        - Credit in Cash
        - Collection from Another Bank
        - Cash Withdrawal
        - Remittance to Another Bank
        - Check Deposit
        - Wire Transfer
        - ATM Withdrawal
        - Online Payment
        - Direct Deposit
        - Standing Order
        - Loan Payment
        - Interest Credit
        - Fee Deduction
        - Currency Exchange
        - Bank Transfer
  - name: account_id
    description: Unique identifier for the account
    tests:
    - not_null
    cocoon_meta:
      patterns:
      - regex: A\d{8}
        summary: Account IDs starting with 'A' followed by 8 digits
  - name: transaction_id
    description: Unique identifier for the transaction
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: This column is a unique identifier for each transaction. For this
        table, each row represents a single financial transaction, and transaction_id
        is unique across rows.
      patterns:
      - regex: T\d{8}
        summary: Transaction IDs starting with 'T' followed by 8 digits
  - name: bank_name
    description: Name or code of the bank
    cocoon_meta:
      missing_acceptable: Transactions might not always involve a specific bank.
  - name: day_of_month
    description: Day of the month for the transaction
    tests:
    - not_null
  - name: month_
    description: Month of the transaction
    tests:
    - not_null
  - name: row_number
    description: Purpose unknown, appears to be a counter
    tests:
    - not_null
  - name: transaction_type
    description: Type of transaction (e.g., Credit, Debit)
    tests:
    - not_null
    - accepted_values:
        values:
        - Credit
        - Debit
  - name: account_holder
    description: Account holder's name or identifier
    tests:
    - not_null
  - name: full_date
    description: Full date of the transaction
    tests:
    - not_null
  - name: transaction_date
    description: Date of the transaction
    tests:
    - not_null
  - name: transaction_datetime
    description: Full date and time of the transaction
    tests:
    - not_null
  - name: transaction_time
    description: Time of the transaction
    tests:
    - not_null

stg_CRM_Reviews (first 100 rows)

star_rating product_name district_id review_text review_date
0 5 Eagle National Mortgage 65 Great job, Eagle National! Each person was professional and helped us move through our refinance process smoothly. Thank you! 2017-10-04
1 5 Eagle National Mortgage 66 Matthew Richardson is professional and helpful. He helped us find the correct product for our mortgage. Thank you very much for the excellent service, Matthew! 2017-10-02
2 5 Eagle National Mortgage 23 We had a past experience with Eagle National Mortgage and would without question use again and again if needed!! Eagle went beyond the extra mile to not only right a wrong encountered from the servicer we were dealing on our previous loan, but they pulled together and found a viable option for us that ultimately saved us money. We would highly recommend Brad Thomka and the Eagle National Mortgage team for your mortgage needs. Sincerest thanks Eagle!! Ed & Lind 2017-08-21
3 5 Eagle National Mortgage 55 We have been dealing with Brad Thomka from the beginning of what started out to be a very stressful time for us, but with the help from Brad and the entire Eagle Mortgage team it was turned into a happy ending!! Brad and Eagle went beyond the extra mile to not only right a wrong encountered from the servicer we were dealing on our previous loan, but they pulled together and found a viable option for us that ultimately saved us money. We are indebted and would highly recommend Brad Thomka and the Eagle National Mortgage team for your mortgage needs. Sincerest thanks Eagle!! Ed & LindRead Less 2017-12-17
4 5 Eagle National Mortgage 24 I can't express how grateful I am for the support that Zach provided to me and my family during this home purchase! His customer service, responsiveness and professional demeanor is second to none. He was very thorough and took the time to educate me about the process along the way. I highly recommend working with Zach and Eagle National! 2016-05-27
5 5 Eagle National Mortgage 15 I had the pleasure of working with Eagle National in September 2018 as my family and I were making a home purchase in Columbus, OH. From the original conversation with the loan officer to underwriting and all the way through closing, the entire team from Eagle was very responsive and professional. I was VERY impressed with how smooth their process was and how timely the communication was given how stressful of a process home buying (and selling) can be 2016-12-20
6 5 Eagle National Mortgage 12 My experience with Mattison was beyond greatly professionally done!! She really cares about her clients needs! She stays on top of everything and if there was a misunderstanding, she would be on top of it for you. Overall she truly bends her back professionally for her clients. She is a wonderful person! 2017-12-17
7 5 Eagle National Mortgage 55 Patrick answered all my questions by email immediately and he spent a lot of time making sure I got the right loan for my situation. The portal they use is extremely easy and we closed on the refinance with 2 weeks. Very pleased with the customer service and intend on using Patrick again when we refinance later!!!! 2016-08-16
8 5 Eagle National Mortgage 25 I loved working with this group of people! They laughed with me over the phone! Always answered my questions and moved the loan along as quickly as possible! Knowledgeable staff! While we were shopping around for a lender, one lender badmouthed Eagle, they lost my business because of it. When I told Eagle about it, they had the class not to say anything negative about another company, just to get the "sell" 2017-04-09
9 5 Eagle National Mortgage 18 Great web interface for both the loan application and document upload and download features. Quick responses to any questions or concerns. Willingness to communicate almost exclusively via email...as phone calls weren't always an option for us. 2016-03-22
10 5 Eagle National Mortgage 37 Working with Michelle and Eagle went really well for me. As a first time homeowner and this being my first refinance, I feel that this process was smooth and successful. I will definitely recommend Michelle to friends and family. 2017-02-04
11 5 Eagle National Mortgage 8 usten Butler brought the humanity and connection to what can be a very stiff, lifeless, and scary transaction. Not only that, it is quite possibly the largest purchase my wife and I will ever make. We didn't simply want to transact with a faceless institution. A lot was riding on picking the right house and making sure everything would work out. Austen was there for us, every step of the way. It's true. Austen got us the best deal. Yes, that's also true. But it's more than that. From when we first starting looking to over a year later when we found the home we wanted, his presence, positivity, and guidance gave us the confidence to take the step and move into our dream home. It's made a HUGE difference for our family, we're right where we want to be, have 13 kids on our block, and couldn't be happier - and it's all thanks to Austen Butler's help. 2016-06-02
12 5 Eagle National Mortgage 32 Jay was easy to get a hold of if I had any questions so that was huge to me because there's a lot to do during this whole loan process and you want to know if everything's right. He provided as great a service as I could've wanted 2016-11-06
13 5 Eagle National Mortgage 1 Austen has been awsome in every step of the way with my refi and new home purchase. He explains your best options thoroughly with out any of the B.S other companies use to get your business . Being a repeat customer says it all. 2016-03-07
14 5 Eagle National Mortgage 55 The salesperson kept pushing a cash out refi on me even when i told him I'm looking for a heloc specifically. Then he hangs up on me because I said I was quoted a better rate at TD bank. Ridiculous.... 2016-07-10
15 5 Eagle National Bank 34 I worked with Kory and Carla at NASB. They were a superb team and provided excellent, responsive and knowledgeable service throughout the entire process. Ours was a complicated process with a refinance and a loan and they hung in there with us the entire time. It was a great experience working with both of them. I highly recommend them and will use them in the future for all of my mortgage needs 2016-01-15
16 5 Eagle National Bank 40 The NASB team went above and beyond for me and my family and closed an important VA home loan on time despite many changes, my military retirement, and a very challenging Antebellum home that required the entire NASB team to pull out all the stops, know the rules and regulations, and guide us through a tough VA process. I truly believe we would not have closed on time with a different team. I will only recommend NASB for home loans...especially complicate VA loans 2016-08-01
17 5 Eagle National Bank 14 Dallas Goodlet and his entire team are deserving a special thank you. He was as professional as they come and closed our loan in 12 days. We were with another competitor originally and he called, saving us thousands over our current lender. It was a real pleasure getting to work with this institution and a class act like Dallas. Great job! 2016-10-22
18 5 Eagle National Bank 54 Working with Jon was such an amazing experience! From the start he offered answers to any questions I had since after all this was our first home purchase! Jon was always a phone call away ready to help where needed. He made the stringent home buying process as easy as possible! I would definitely recommend any potential buyers to work with Jon, I know for myself I will be calling him if we ever decide to buy another house! Thanks Jon 2017-05-24
19 5 Eagle Capital 59 \nTeddy represents his company very well. He is communicative, patient, hard-working and gets the job done. \n 2017-10-02
20 5 Eagle Capital 28 None 2016-01-23
21 5 Eagle Capital 58 None 2017-09-05
22 5 Eagle Capital 64 None 2016-02-29
23 5 Eagle Capital 73 None 2019-08-05
24 5 Eagle Capital 19 None 2016-08-08
25 5 Eagle Capital 68 None 2013-02-04
26 1 Eagle Capital 52 None 2019-08-05
27 1 Eagle Capital 59 None 2016-08-08
28 1 Eagle Capital 5 None 2016-03-05
29 1 Eagle Capital 63 None 2013-05-06
30 1 Eagle Capital 49 None 2016-07-18
31 1 Eagle Capital 53 None 2016-01-23
32 5 Eagle National Mortgage 51 None 2016-05-20
33 5 Eagle National Mortgage 17 None 2013-05-06
34 5 Eagle National Mortgage 39 None 2013-05-06
35 5 Eagle National Mortgage 42 None 2014-07-01
36 5 Eagle National Bank 53 Adam was great to work with during our refi! His attention to detail made this a smooth and easy transaction. It has been several years since we've gone thru the home loan process and we were unsure where to start. After talking with Adam, we were confident he was the one to help us with our refi. He was professional, helpful, very knowledgeable about the loan process and answered all of our questions in a timely manner. I would highly recommend Adam and would not hesitate to work with him agai 2016-07-18
37 1 Eagle National Bank 3 The closing process for a VA loan went smoothly. But the loan servicing by this so-called bank is a complete disaster. I set up our loan for automatic payments using their clunky website. Unlike other banks with which I do business, the NASB website is not intuitive and does not provide confirmation for your entries. For the first 10 months, payments were automatically debited from my external account as scheduled. However, when the escrow amount changed, NASB debited the old amount from my account and sent a deficiency letter for the balance -- unlike every other bank I have used in which the amount of the debit was automatically debited. NASB sent me a "credit counseling letter" telling me that they did not apply any of the loan payment and would charge me a late payment over double the deficiency of $40 and change .... and suggested credit counseling services. When I called their servicing department, the representative told me the letter was sent in error and that everything had been adjusted so my account was showing that it was current. Two weeks later, I received a total of two voice mail messages and an e-mail in a span of 20 minutes from NASB's default department. The woman with whom I first spoke was rude, said she showed no record of my earlier call, it was my problem, and then hung up on me. The second agent, a man in their default department, said that he did not show that I had made any automatic payments and that NASB's system was not set up to adjust anything. After having over 25 years of mortgage payments with various banks, I have never experienced such incompetence and rude service. I specifically instructed the last agent to request that they sell servicing of our loan to another bank that is capable of actually performing customer service for a veteran 2017-09-05
38 1 Eagle National Bank 52 Started refinance with Nick things were going OK then there was a problem with a credit card fro 5 years earlier, which must of made the loan not possible. This I would of understood, But I never heard from them again? called Nick several times no response? I even called his supervisor no response? E-Mailed them no response? IS THIS THE COMPANY YOU WANT TO DUE BUSNESS... 2017-10-02
39 5 Eagle National Mortgage 60 If I had a million Friends I would recommend all of them to Eagle National especially to Mark Taylor he’s great he really help with even of the clock thanks a million mark I mean that from heart I appreciate everything you did for me. 2017-04-03
40 1 Eagle National Mortgage 20 This was the worst experience ever. It was like they had never gone through the process before. I could not get a complete list of the documents required. Every other day it was a new request. The appraiser that they hired made so many mistakes I had to send in corrections and then during the underwriting process they had to go back and make more corrections. Wyndum would continue to ask for copies of documents over and over again. There were many documents that I had to send 3 and 4 times because they "lost" them or was not filed correctly, we went through 4 different people through the process. I would NEVER use them. Awful experience! 2017-02-24
41 1 Eagle National Mortgage 63 Initially, the Mortgage Broker was very friendly and assertive. Once the paper work was filled out and closing on the loan was eminent, it became increasingly difficult to reach the broker. I had to initiate all phone calls. It seemed as if I had to call to make the process move forward. It took four weeks to get a copy of my closing documents and the payoff for my credit card 2016-06-26
42 5 Eagle National Bank 28 Kory was by far the best loan officer I have ever worked with. We were dealing with a complicated refinance and purchase of two different properties and he was cool, calm, professional and extremely knowledgeable throughout the entire process. I wouldn’t use anyone else moving forward. His level of integrity and responsiveness is second to none. Thanks for everything, Kory 2017-11-10
43 5 Eagle National Bank 34 NASB was amazing to work with! The pre-approval process was easy and informational. We chose our home and closed within 30 days of our agreement date! Thanks NASB for making our first home purchase an amazing experience! 2017-02-05
44 5 Eagle National Bank 5 Jon Barrett was a great asset to my husband and I. He made our mortgage loan process extremely simple and quick! Jon was knowledgeable, helpful, patient and accurate. We will be passing Jon's name along to anyone looking for a mortgage loan! 2016-07-18
45 5 Eagle Capital 76 \nWorking with our agent was quick and very simple. We had to do very little and things were completed well and we were very pleased with the service and result we received.\n 2016-07-18
46 5 Eagle Capital 15 \nThank you for all of your help Kelly! Your patience and kindness in assisting us with our loan is greatly appreciated! Look forward to working again together in the future! \n 2016-07-18
47 1 Eagle Capital 23 None 2017-10-02
48 1 Eagle Capital 35 None 2016-07-18
49 1 Eagle Capital 60 None 2017-10-04
50 1 Eagle Capital 24 None 2017-09-05
51 5 Eagle National Mortgage 60 None 2016-03-05
52 5 Eagle National Bank 21 Adam came highly recommended and from the first time we spoke with him, it was clear why. He was friendly, professional, knowledgeable, and worked hard to ensure we were taken care of in all aspects. Beyond the necessary effective communication skills, he brought a personal touch after we closed by sending us a hand written note of congratulations. I will recommend him to everyone I know buying a house. 2016-05-05
53 5 Eagle National Mortgage 7 None 2017-12-24
54 5 Eagle National Mortgage 40 None 2014-07-29
55 1 Eagle National Bank 62 This loan started off quite well. Our rep, Donna, was friendly and quick to respond to questions. She clearly explained how things would unfold, and it all sounded great. What I didn't count on was that the Bank never kept a single promise she made. I had the same problem with this Bank 15 or more times. I would ask for assurance about something, Donna would respond that things would be completed as I wished, and her promise was violated by the Bank EVERY SINGLE TIME. For example, in our first or second conversation, I explained to Donna that my wife would be traveling out of the country 11 weeks after beginning the loan process. Would it be a problem to get the loan closed before that? Not at all, she said. We should close several weeks before my wife's departure. 11 weeks later, the Bank was not ready to close. How did that happen? Donna would ask us to email documentation, which we would email back within 2-12 hours, depending on the occasion. Donna would then assure us that the documentation that we sent her was great, and the Bank had everything it needed. Then, weeks later, they would ask for additional documentation. This happened 5 or more times. Later in the process, they asked for repeats of earlier documentation because the earlier documentation that had I provided was now "too old." I cannot tell if this patterns recured because the Bank doesn't care about customers, or because it is just incompetent. Every time we complained about additional requests or some promise that wasn't kept, Donna told us that our complaints were justified and she was sorry. But she was unable or unwilling to rectify the broken promises. We finally closed 13 weeks or so after our initial application. I can only imagine how long the process would have taken if we had not responded to every request from the Bank on the day they made it, and if we hadn't pushed hard to get this deal done. This Bank treats customers with complete disrespect. As someone who has owned several properties in my life and has received more than 10 home mortgages from different banks, I can honestly say that this is the worst mortgage experience I've ever had. You owe it to yourself to work with another Bank that is more professional and more respectful of customers. If I could, I'd rate this Bank lower than one star 2016-05-20
56 1 Eagle National Bank 33 It all started when Bob G ran a credit check without my knowledge or consent. When I agreed to use NASB, Bob told me that they could close in less than 4 weeks...it took 9. The day before closing they were still asking for paperwork. The day of closing (while my household goods were being unpacked) I was told a Power of Attorney could not be used. I had to fly to ID (where my wife was) take the docs to a notary and Fedex them back. I also had to get a bank check to send with the docs because they wouldn't accept a personal check. Then five days later (while driving from ID to NC) I had to coordinate having closing docs (which I already sent to them) from the sale of my other home sent to me so I could send to them. Of the four houses I purchased in the past 9 years this was the most stressful Read Less 2016-01-15
57 1 Eagle National Bank 23 What a horrible experience. We have excellent credit, plenty of income, etc. NASB rep made tons of promises to get us to sign up, but then just a few weeks before the closing, she just disappeared, and failed to give us a lock or firm closing date! Thankfully, we sensed the problems and immediately contacted a local lender that got us the loan on better terms with low... 2016-05-12
58 5 Eagle National Mortgage 22 None 2018-09-03
59 5 Eagle National Mortgage 11 None 2013-12-05
60 5 Eagle National Bank 8 None 2017-09-04
61 5 Eagle National Bank 56 None 2017-07-07
62 5 Eagle National Mortgage 32 None 2017-10-12
63 5 Eagle National Mortgage 38 Chaz was fantastic throughout the entire lending processs. I had my share of challenges with the original underwriter through no fault of Chase yet he stepped in quickly to rectify any issues I had. He was the glue that kept this deal together. I did have some challenges with my first property falling through and the last minute yet Chaz kept my spirits up and assisted through quickly transitioning to the new and much better property in the end. Again, cannot say enough positive things about Chaz. Consummate professional and very responsive. I would highly recommend doing business with him and plan on staying in touch for future opportunities 2016-06-11
64 1 Eagle National Mortgage 65 A good rate but a very frustrating process, constant delays, decisions made then changed, overwhelmed underwriting team with 3 week back log, rookie mistake related to Texas law that caused an additional 2 week wait. Closing happened almost 6 weeks after it should have. Courteous and professional, but not very knowledgeable and no sense of urgency. Would not recommend 2016-03-14
65 1 Eagle National Mortgage 66 They were not upfront. Learn from my mistake... I trusted the loan officer that my zero point rate is an option before closing the loan because he convinced me to initially sign the Good Faith Estimate with higher rate plus lender's credit. After running my numbers, the lower interest is favorable for me and asking for it now, I'm being charge points. It looks like they are only good in their words at the beginning so please be careful dealing with this lender 2017-08-13
66 1 Eagle National Mortgage 67 Initially, the Mortgage Broker was very friendly and assertive. Once the paper work was filled out and closing on the loan was eminent, it became increasingly difficult to reach the broker. I had to initiate all phone calls. It seemed as if I had to call to make the process move forward. It took four weeks to get a copy of my closing documents and the payoff for my credit card 2016-06-26
67 5 Eagle National Bank 48 Expert loan officer, well versed in VA and the financial impacts of loan component changes. The best I have worked with across 7 home buying/selling deals. Now advocated for by the #1 real estate broker in the state due to his ability to close complicated and high pressure deals. She places him at the top of the list after 32 years in the business! Professionally and patiently answers detailed questions and can rally the expanded NASB team (also stellar!) to support your needs. He handled my complicated VA loan that seemed to change every week while we tried to buy an Antebellum home (tough comps) during my retirement from the military (tough income verification) with five families all swapping homes (tons of contingencies). Everything along the way mattered and Aaron and the NASB team got it done (even on weekends) and closed on time with the best interest rate in the market and no added origination fees. Look, do NOT pass up an opportunity to work with him. 2016-10-14
68 5 Eagle National Bank 63 Comments: To begin my wife and I were at the point of signing completion with the leader of online home mortgage service. We were not satisfied with the origination cost so we applied to lending tree for competitive bids. Several lender matched or slightly beat NASB but none were convincing at closing on time. We chose NASB because of Dallas Goodlet believability on the closing. The sales, loan service and application process was competitive, assuring, professional, timely, supportive, and truthful. Dallas Goodlet/ Brent Custer and the whole NASB team delivered the mortgage on time and at the price promised. We are completely satisfied and appreciative of the staff, product and service of your company. Kudos to all 2017-12-09
69 5 Eagle Capital 1 \nTeddy Ferrell and Binh Lai were excellent team members. Teddy explained everything from beginning to end and was very honest and up front with all that was required for my transactions to take place. He answered all of my calls and emails in a very timely manner. Very professional with excellent communication\n 2016-05-05
70 5 Eagle Capital 50 \nKelly & Rasool were extremely helpful! It was a stressful time for me and my family and they made us feel taken care of and really cared about helping us! Thank you Again! I will be referring them to family and friends in the future!\n 2017-10-04
71 5 Eagle Capital 50 \nFrom the very first conversation that I had with Steve, I knew that he understood our situation perfectly and he was able to help us achieve our dream of home ownership. We were given very realistic expectations from the beginning and Steve kept in touch with us throughout the process. It was a relief to work with someone who gave us accurate information and didn't string us along.... Read More\n 2017-09-05
72 5 Eagle Capital 77 \nThe staff was very friendly and great to work with. They kept me well informed throughout the process\n 2016-01-30
73 5 Eagle Capital 8 None 2016-05-05
74 5 Eagle Capital 37 None 2017-08-13
75 5 Eagle Capital 71 None 2017-12-24
76 5 Eagle Capital 40 None 2019-08-05
77 5 Eagle Capital 12 None 2016-08-08
78 5 Eagle Capital 34 None 2013-04-04
79 5 Eagle Capital 62 None 2013-02-04
80 1 Eagle Capital 21 None 2013-04-04
81 1 Eagle Capital 26 None 2013-02-04
82 1 Eagle Capital 70 None 2019-08-05
83 1 Eagle Capital 60 None 2016-05-05
84 1 Eagle Capital 67 None 2016-05-05
85 1 Eagle Capital 57 None 2017-08-13
86 5 Eagle National Mortgage 11 None 2017-10-02
87 5 Eagle National Mortgage 42 None 2013-02-04
88 5 Eagle National Mortgage 76 None 2013-12-07
89 5 Eagle National Mortgage 73 None 2014-04-18
90 5 Eagle National Mortgage 32 None 2014-06-17
91 5 Eagle National Bank 65 We received offers from multiple banks after our lending tree request for a mortgage. Alex Madewell from NASB was by far the best offer. He made the entire process easy and was very knowledgeable. The closing on this home was seamless, no surprises. I would definitely recommend Alex Madewell and NASB to anyone looking for a mortgage. 2017-09-05
92 5 Eagle National Bank 5 Rob was very helpful in getting this loan closed. Few issues on our end we didn't know about but he was still able to get it done on time. 2016-01-30
93 1 Eagle National Bank 71 Miserable experience. They screwed up everything imaginable and never accepted responsibility for any of their errors. I wouldnt recommend them for the purchase of a doghouse much less purchasing a new home. 2017-08-13
94 1 Eagle National Bank 73 I never write reviews but had to this time to prevent anyone from making the same mistake as I. That mistake was using Eagle National Bank over other lenders. I started my refinance with this company with the assurance that it would be a standard refinance without any problems and would be completed in a minimal amount of time. Communication with the company w... 2016-11-13
95 1 Eagle National Bank 35 Rep was extremely professional, friendly, and helpful when we first spoke. In fact, from my initial round of calls, I thought I was going to select him out of the five Lending Tree lenders (plus two banks I talked to directly). But then when I sent an email to all the lenders saying "OK, the contract is signed. I want to select a lender and lock my rate TOMORROW, so please send me your best current rate and fees etc. with these EXACT loan parameters. It took the rep from NASB over a week to respond. So I replied to him "thanks but you are too late, I have selected someone else and already locked my rate." Over the following few weeks I continued to receive emails from him saying "when you are ready to proceed with your loan, let me know". We CLOSED on January 8th, and on February 5th I got another such email. I guess he didn't really ever read my emails. I also told him on the phone that he had missed the boat, but that seemed to fall on deaf ears too. At the end of round one, his rates and fees were VERY competitive though - pretty near the best of the bunch 2017-12-09
96 1 Eagle National Bank 45 I was working with a loan consultant from NASB and she told me that she would give me a rate of 4.875% for a 30 year fixed loan with a total closing cost of $2300. I asked her to send me the good faith estimate. The good faith estimate came with a total closing cost of $2929 which is about $600 more than she mentioned during our conversation. When I called her for exp... 2017-02-11
97 5 Eagle Capital 5 \nShe, in every way, is a wonderful person, business woman and 100% considerate of your goals and helping you achieve them. She went about and beyond in helping me make good decisions as well as educate me on options. I could not have been more happy to connect with her during this process and will definitely use her again in the future if needed. \n 2017-10-26
98 5 Eagle Capital 11 \nThanks to Reliance Capital for helping us get through what we thought would be a difficult if not impossible refinance. We've had some credit issues in the past but lately we've been working hard on improving our scores. We are happy that Reliance Capital was able to work with us and help guide us throughout the process despite our less than stellar financial situation. Thanks especially to Patrick G for his excellent customer service and reassurance each step of the way... Read More\n 2016-12-20
99 5 Eagle Capital 49 \nGenna Englert provided excellent service. The process was very smooth and fast! My husband and I would recommend Eagle Capital to everyone!\n 2017-02-11

stg_CRM_Reviews.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
WITH 
"CRM_Reviews_renamed" AS (
    -- Rename: Renaming columns
    -- date_ -> review_date
    -- stars -> star_rating
    -- reviews -> review_text
    -- product -> product_name
    SELECT 
        "date_" AS "review_date",
        "stars" AS "star_rating",
        "reviews" AS "review_text",
        "product" AS "product_name",
        "district_id"
    FROM "CRM_Reviews"
),

"CRM_Reviews_renamed_dedup" AS (
    -- Deduplication: Removed 1 duplicated rows
    SELECT DISTINCT * FROM "CRM_Reviews_renamed"
),

"CRM_Reviews_renamed_dedup_trimmed" AS (
    -- Trim Leading and Trailing Spaces
    SELECT
        "review_date",
        "star_rating",
        "product_name",
        "district_id",
        TRIM("review_text") AS "review_text"
    FROM "CRM_Reviews_renamed_dedup"
),

"CRM_Reviews_renamed_dedup_trimmed_casted" AS (
    -- Column Type Casting: 
    -- review_date: from VARCHAR to DATE
    SELECT
        "star_rating",
        "product_name",
        "district_id",
        "review_text",
        CAST("review_date" AS DATE) AS "review_date"
    FROM "CRM_Reviews_renamed_dedup_trimmed"
)

-- COCOON BLOCK END
SELECT * FROM "CRM_Reviews_renamed_dedup_trimmed_casted"

stg_CRM_Reviews.yml (Document the table)

version: 2
models:
- name: stg_CRM_Reviews
  description: The table is about customer reviews for Eagle National Mortgage. It
    contains details like review date, star rating, review text, product name, and
    district ID. Reviews are mostly positive, praising the company's service and staff.
    Customers mention specific employees and highlight the company's professionalism
    and helpfulness in mortgage processes.
  columns:
  - name: star_rating
    description: Rating given by the customer (out of 5)
    tests:
    - not_null
  - name: product_name
    description: Name of the product or service reviewed
    tests:
    - not_null
  - name: district_id
    description: Identifier for the district
    tests:
    - not_null
  - name: review_text
    description: Full text of the customer review
    tests:
    - not_null
    - unique
    cocoon_meta:
      uniqueness: This column contains the full text of the customer review. For this
        table, each row represents a unique customer review. The review_text is likely
        to be unique across rows as customers typically write personalized reviews
        in their own words.
  - name: review_date
    description: Date of the review
    tests:
    - not_null
Some tables log change events, which may be redundant to query. Instead, we take a snapshot of the latest.

We identify the primary key (PK) and foreign key (FK) from tables. We build a join graph that connects FK to PK.

Join Graph (FK to PK)

%3 stg_CRM_Events stg_CRM_Events stg_completedclient stg_completedclient stg_CRM_Events->stg_completedclient stg_completeddistrict stg_completeddistrict stg_completedclient->stg_completeddistrict stg_completeddisposition stg_completeddisposition stg_completeddisposition->stg_completedclient stg_completedacct stg_completedacct stg_completeddisposition->stg_completedacct stg_completedorder stg_completedorder stg_completedorder->stg_completedacct stg_completedtrans stg_completedtrans stg_completedorder->stg_completedtrans stg_CRM_Call_Center_Logs stg_CRM_Call_Center_Logs stg_CRM_Call_Center_Logs->stg_CRM_Events stg_CRM_Call_Center_Logs->stg_completedclient stg_completedloan stg_completedloan stg_LuxuryLoanPortfolio stg_LuxuryLoanPortfolio stg_completedloan->stg_LuxuryLoanPortfolio stg_completedloan->stg_completedacct stg_CRM_Reviews stg_CRM_Reviews stg_CRM_Reviews->stg_completeddistrict stg_completedacct->stg_completeddistrict stg_completedtrans->stg_completedacct

cocoon_join.yml (Document the joins)

join_graph:
- table_name: stg_CRM_Events
  primary_key: complaint_id
  foreign_keys:
  - column: client_id
    reference:
      table_name: stg_completedclient
      column: client_id
- table_name: stg_CRM_Call_Center_Logs
  foreign_keys:
  - column: complaint_id
    reference:
      table_name: stg_CRM_Events
      column: complaint_id
  - column: client_id
    reference:
      table_name: stg_completedclient
      column: client_id
- table_name: stg_LuxuryLoanPortfolio
  primary_key: loan_id
  foreign_keys: []
- table_name: stg_completedloan
  foreign_keys:
  - column: loan_id
    reference:
      table_name: stg_LuxuryLoanPortfolio
      column: loan_id
  - column: account_id
    reference:
      table_name: stg_completedacct
      column: account_id
- table_name: stg_completedacct
  primary_key: account_id
  foreign_keys:
  - column: district_id
    reference:
      table_name: stg_completeddistrict
      column: district_id
- table_name: stg_completeddisposition
  foreign_keys:
  - column: account_id
    reference:
      table_name: stg_completedacct
      column: account_id
  - column: client_id
    reference:
      table_name: stg_completedclient
      column: client_id
- table_name: stg_completedorder
  foreign_keys:
  - column: customer_account_id
    reference:
      table_name: stg_completedacct
      column: account_id
  - column: transaction_id
    reference:
      table_name: stg_completedtrans
      column: transaction_id
- table_name: stg_completedtrans
  foreign_keys:
  - column: account_id
    reference:
      table_name: stg_completedacct
      column: account_id
  primary_key: transaction_id
- table_name: stg_completedclient
  primary_key: client_id
  foreign_keys:
  - column: district_id
    reference:
      table_name: stg_completeddistrict
      column: district_id
- table_name: stg_completeddistrict
  primary_key: district_id
  foreign_keys: []
- table_name: stg_CRM_Reviews
  foreign_keys:
  - column: district_id
    reference:
      table_name: stg_completeddistrict
      column: district_id
We identify the entities and relationships behind the tables, and tell the story among these relationships.

cocoon_er.yml (Document the ER model)

entities:
- entity_name: Complaints
  entity_description: Represents customer complaints to financial institutions, including
    details about the complaint, its resolution, and timeline.
  table_name: stg_CRM_Events
  primary_key: complaint_id
- entity_name: LuxuryLoans
  entity_description: Represents luxury loans, including loan details, borrower information,
    and property specifics for high-value items like boats.
  table_name: stg_LuxuryLoanPortfolio
  primary_key: loan_id
- entity_name: BankAccounts
  entity_description: Represents bank accounts with transaction frequency and date
    information, focusing on recurring transactions or statements.
  table_name: stg_completedacct
  primary_key: account_id
- entity_name: Clients
  entity_description: Represents client information, including personal details, contact
    information, and associated district data for customer management.
  table_name: stg_completedclient
  primary_key: client_id
- entity_name: Districts
  entity_description: Represents geographical and administrative information about
    districts in the United States, including city, state, region, and division details.
  table_name: stg_completeddistrict
  primary_key: district_id
- entity_name: Transactions
  entity_description: Represents completed financial transactions, specifically credit
    transactions like cash deposits, with detailed information about each transaction.
  table_name: stg_completedtrans
  primary_key: transaction_id
relations:
- relation_name: ClientComplaintRecords
  relation_description: This tracks Complaints submitted by Clients to financial institutions,
    detailing the issues and their resolutions.
  table_name: stg_CRM_Events
  entities:
  - Complaints
  - Clients
- relation_name: AccountDistrictTransactions
  relation_description: BankAccounts are associated with specific Districts and have
    monthly transaction records tracked over time.
  table_name: stg_completedacct
  entities:
  - BankAccounts
  - Districts
- relation_name: ClientDistrictAssignment
  relation_description: Clients belong to specific Districts, with each client assigned
    a district_id that corresponds to their geographical location.
  table_name: stg_completedclient
  entities:
  - Clients
  - Districts
- relation_name: AccountTransactions
  relation_description: Transactions are financial operations performed on BankAccounts,
    recording details such as amount, type, and timestamp for each account.
  table_name: stg_completedtrans
  entities:
  - Transactions
  - BankAccounts
- relation_name: ClientComplaintLogs
  relation_description: This tracks Complaints lodged by Clients during call center
    interactions, capturing details of each customer service call.
  table_name: stg_CRM_Call_Center_Logs
  entities:
  - Complaints
  - Clients
- relation_name: AccountHolderCarLoan
  relation_description: LuxuryLoans provides car loans to customers who hold BankAccounts,
    tracking loan details and repayment status.
  table_name: stg_completedloan
  entities:
  - LuxuryLoans
  - BankAccounts
- relation_name: ClientAccountDispositions
  relation_description: This tracks the ownership and usage rights of BankAccounts
    by Clients through completed dispositions.
  table_name: stg_completeddisposition
  entities:
  - BankAccounts
  - Clients
- relation_name: AccountTransactionDetails
  relation_description: BankAccounts initiate Transactions, which record financial
    transfers between customer accounts and recipient accounts.
  table_name: stg_completedorder
  entities:
  - BankAccounts
  - Transactions
- relation_description: This table contains customer reviews for Eagle National Mortgage,
    associated with different districts where the company operates.
  table_name: stg_CRM_Reviews
  entities:
  - Districts
story:
- relation_name: ClientDistrictAssignment
  story_line: Clients register with banks in their geographical districts.
- relation_name: ClientAccountDispositions
  story_line: Clients open bank accounts and receive ownership rights.
- relation_name: AccountDistrictTransactions
  story_line: Bank accounts record monthly transactions within specific districts.
- relation_name: AccountTransactions
  story_line: Clients perform various financial operations on their accounts.
- relation_name: AccountTransactionDetails
  story_line: Transactions transfer money between customer and recipient accounts.
- relation_name: AccountHolderCarLoan
  story_line: Eligible account holders apply for luxury car loans.
- relation_name: ClientComplaintLogs
  story_line: Clients lodge complaints during call center interactions.
- relation_name: ClientComplaintRecords
  story_line: Banks track and resolve client complaints systematically.