Skip to content

Commit 83fb713

Browse files
committed
Merge branch 'master' of https://github.com/cfpb/hmda-platform
2 parents 373f525 + a772f50 commit 83fb713

File tree

841 files changed

+440468
-180
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

841 files changed

+440468
-180
lines changed

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,25 @@ bower_components/
7070
.grunt/
7171
src/vendor/
7272
dist/
73+
74+
# Scala
75+
#########
76+
## sbt specific
77+
.cache/
78+
.history/
79+
.lib/
80+
dist/*
81+
target/
82+
lib_managed/
83+
src_managed/
84+
project/boot/
85+
project/plugins/project/
86+
87+
## Scala-IDE specific
88+
.scala_dependencies
89+
.worksheet
90+
scalastyle-config.xml
91+
.idea/
92+
projectFilesBackup/
93+
.ensime
94+
*.iml

.travis.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
sudo: false
2+
3+
cache:
4+
directories:
5+
- $HOME/.m2/repository
6+
- $HOME/.sbt
7+
- $HOME/.ivy2
8+
9+
language: scala
10+
11+
scala: 2.12.1
12+
13+
jdk:
14+
- oraclejdk8
15+
16+
before_install:
17+
- . $HOME/.nvm/nvm.sh
18+
- nvm install 0.10.36
19+
- nvm use 0.10.36
20+
21+
script:
22+
- sbt ++$TRAVIS_SCALA_VERSION clean coverage test assembly
23+
- sbt ++$TRAVIS_SCALA_VERSION coverageReport
24+
- sbt ++$TRAVIS_SCALA_VERSION coverageAggregate
25+
26+
# Trick to avoid unnecessary cache updates
27+
- find $HOME/.sbt -name "*.lock" | xargs rm
28+
29+
after_success:
30+
- bash <(curl -s https://codecov.io/bash)

CHANGELOG.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# HMDA Platform Dockerfile
2+
# Version: 1.0.0
3+
4+
# Image builds from the official Docker Java Image
5+
6+
FROM java:8
7+
8+
MAINTAINER Juan Marin Otero <[email protected]>
9+
10+
WORKDIR /opt
11+
12+
RUN mkdir -p target && chmod -R a+w target
13+
14+
USER daemon
15+
16+
ENTRYPOINT ["java", "-jar", "hmda.jar"]
17+
18+
EXPOSE 8080 8081 8082
19+
20+
COPY target/scala-2.12/hmda.jar .

Documents/2017_File_Spec.csv renamed to Documents/2017_File_Spec_LAR.csv

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,3 @@
1-
RID for 2017 HMDA Filers, , , , ,
2-
Agency, Depository Institution, Nondepository Institution, Agency Code, ,
3-
CFPB, RSSD number, Federal Tax ID number, 9, ,
4-
FDIC, FDIC certificate number, Federal Tax ID number, 3, ,
5-
FRS, RSSD number, RSSD number, 2, ,
6-
HUD, Has no depository institutions, Federal Tax ID number, 7, ,
7-
NCUA, Charter number, Federal Tax ID number, 5, ,
8-
OCC, Charter number, Federal Tax ID number, 1, ,
9-
Transmittal Sheet, , , , ,
10-
Data Field Number, Data Field Name, Data Field Type, Valid Values , Descriptions or Examples,
11-
1, Record Identifier - Value is 1, Numeric, 1, ,
12-
2, Respondent-ID, Alphanumeric, , Please see “RID for 2017 HMDA Filers” table above,
13-
3, Agency Code, Numeric, 1 2 3 5 7 9, Descriptions: 1.Office of the Comptroller of the Currency (OCC) 2. Federal Reserve System (FRS) 3.Federal Deposit Insurance Corporation (FDIC) 5.National Credit Union Administration (NCUA) 7.United States Department of Housing and Urban Development (HUD) 9. Consumer Financial Protection Bureau (CFPB),
14-
4, Timestamp, Numeric, , Format is century year month day hour minute. Example: Jan. 17 2017 at 1:30 pm is 201701171330,
15-
5, Activity Year, Numeric, , Four digit year. Example: 2017,
16-
6, Tax ID, Alphanumeric, , Example: 00-0000000,
17-
7, Total Line Entries, Numeric, , The number of line entries contained in the accompanying Loan/Application Register. Example: 5000,
18-
8, Respondent Name, Alphanumeric, , Example: FICUS BANK,
19-
9, Respondent Address, Alphanumeric, , Example: 4321 RANDOM BLVD STE 201,
20-
10, Respondent City, Alphanumeric, , Example: SOMECITY,
21-
11, Respondent State, Alphanumeric, , Postal Code abbreviation. Example: ST,
22-
12, Respondent ZIP Code, Alphanumeric, , Example: 12345-1010,
23-
13, Parent Name, Alphanumeric, , If applicable. Example: FERN BANK,
24-
14, Parent Address, Alphanumeric, ,If applicable. Example: 456 SOMEWHERE AVE,
25-
15, Parent City, Alphanumeric, ,If applicable. Example: ANYTOWN,
26-
16, Parent State, Alphanumeric, , If applicable. Example: ST,
27-
17, Parent Zip Code, Alphanumeric, , If applicable. Example: 12345-1010,
28-
18, Contact Person's Name, Alphanumeric, , For questionable data reports or other issues that may arise during an annual processing cycle. Example: Erika Otis,
29-
19, Contact Person's Phone Number, Alphanumeric, , Example: 999-999-9999,
30-
20, Contact Person's Facsimile Number, Alphanumeric, , Example: 555-555-5555,
31-
21, Contact Person's E-mail Address, Alphanumeric, , Enter only one e-mail address. E-mail address must contain only one @ symbol. Example: [email protected],
321
LAR, , , , ,
332
Data Field Number, Data Field Name, Data Field Type, Valid Values , Descriptions and Examples,
343
1, Record Identifier - Value is 2, Numeric, 2, ,
@@ -40,7 +9,7 @@ Data Field Number, Data Field Name, Data Field Type, Valid Values , Descriptions
409
7, Property Type, Numeric, 1 2 3, Descriptions: 1. One to four-family (other than manufactured housing) 2. Manufactured housing 3. Multifamily,
4110
8, Loan Purpose, Numeric, 1 2 3, Descriptions: 1. Home purchase 2. Home improvement 3. Refinancing,
4211
9, Owner Occupancy, Numeric, 1 2 3, Descriptions: 1. Owner-occupied as a principal dwelling 2. Not owner-occupied 3. Not applicable,
43-
10, Loan Amount, Numeric, , Report in thousands. Round to the nearest thousand with leading zeros and without commas. Example: 111,
12+
10, Loan Amount, Numeric, , Report in thousands. Round to the nearest thousand without leading zeros and without commas. Example: 111,
4413
11, Preapprovals, Numeric, 1 2 3, Descriptions: 1. Preapproval was requested 2. Preapproval was not requested 3. Not applicable,
4514
12, Type of Action Taken, Numeric, 1 2 3 4 5 6 7 8, Descriptions: 1. Loan originated 2. Application approved but not accepted 3. Application denied by financial institution 4. Application withdrawn by applicant 5. File closed for incompleteness 6. Loan purchased by your institution 7. Preapproval request denied by financial institution 8. Preapproval request approved but not accepted (optional reporting),
4615
13, Date of Action, Numeric, , Format is ccyymmdd. Example: 20170117,

Documents/2017_File_Spec_RID.csv

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
RID for 2017 HMDA Filers, , , , ,
2+
Agency, Depository Institution, Nondepository Institution, Agency Code, ,
3+
CFPB, RSSD number, Federal Tax ID number, 9, ,
4+
FDIC, FDIC certificate number, Federal Tax ID number, 3, ,
5+
FRS, RSSD number, RSSD number, 2, ,
6+
HUD, Has no depository institutions, Federal Tax ID number, 7, ,
7+
NCUA, Charter number, Federal Tax ID number, 5, ,
8+
OCC, Charter number, Federal Tax ID number, 1, ,

Documents/2017_File_Spec_TS.csv

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Transmittal Sheet, , , , ,
2+
Data Field Number, Data Field Name, Data Field Type, Valid Values , Descriptions or Examples,
3+
1, Record Identifier - Value is 1, Numeric, 1, ,
4+
2, Respondent-ID, Alphanumeric, , Please see “RID for 2017 HMDA Filers” table above,
5+
3, Agency Code, Numeric, 1 2 3 5 7 9, Descriptions: 1.Office of the Comptroller of the Currency (OCC) 2. Federal Reserve System (FRS) 3.Federal Deposit Insurance Corporation (FDIC) 5.National Credit Union Administration (NCUA) 7.United States Department of Housing and Urban Development (HUD) 9. Consumer Financial Protection Bureau (CFPB),
6+
4, Timestamp, Numeric, , Format is century year month day hour minute. Example: Jan. 17 2017 at 1:30 pm is 201701171330,
7+
5, Activity Year, Numeric, , Four digit year. Example: 2017,
8+
6, Tax ID, Alphanumeric, , Example: 99-9999999,
9+
7, Total Line Entries, Numeric, , The number of line entries contained in the accompanying Loan/Application Register. Example: 5000,
10+
8, Respondent Name, Alphanumeric, , Example: Ficus Bank,
11+
9, Respondent Address, Alphanumeric, , Example: 4321 W Random Blvd Ste 201,
12+
10, Respondent City, Alphanumeric, , Example: Somecity,
13+
11, Respondent State, Alphanumeric, , Postal Code abbreviation. Example: ST,
14+
12, Respondent ZIP Code, Alphanumeric, , Example: 12345-1010,
15+
13, Parent Name, Alphanumeric, , If applicable. Example: Fern Bank,
16+
14, Parent Address, Alphanumeric, ,If applicable. Example: 456 Somewhere Ave,
17+
15, Parent City, Alphanumeric, ,If applicable. Example: Anytown,
18+
16, Parent State, Alphanumeric, , If applicable. Example: ST,
19+
17, Parent Zip Code, Alphanumeric, , If applicable. Example: 12345-1010,
20+
18, Contact Person's Name, Alphanumeric, , For questionable data reports or other issues that may arise during an annual processing cycle. Example: Erika Otis,
21+
19, Contact Person's Phone Number, Alphanumeric, , Example: 999-999-9999,
22+
20, Contact Person's Facsimile Number, Alphanumeric, , Example: 555-555-5555,
23+
21, Contact Person's E-mail Address, Alphanumeric, , Enter only one e-mail address. E-mail address must contain only one @ symbol. Example: [email protected],

Documents/2018_File_Spec_Table1.csv

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
TABLE 1, FILING INSTITUTION AND CONTACT INFORMATION, OCCURS ONCE PER HMDA FILE SUBMISSION,,,,
2+
Data Field Number, Data Field Name, Data Field Type, Valid Values , Descriptions and Examples, ,
3+
1, Record Identifier – Value is 1, Numeric, 1, ,,
4+
2, Financial Institution Name, Alphanumeric, , Example: Ficus Bank,,
5+
3, Calendar Year, Numeric, , Example: 2018,,
6+
4, Calendar Quarter, Numeric, 4, Description: 4. Annual submissions for covered loans and applications with respect to which final action was taken during the period between January 1st (01/01) and December 31st (12/31),,
7+
5, Contact Person’s Name, Alphanumeric, , Example: Erika Otis,,
8+
6, Contact Person’s Telephone Number, Alphanumeric, , Example: 999-999-9999,,
9+
7, Contact Person’s E-mail Address, Alphanumeric, , Example: [email protected],,
10+
8, Contact Person’s Office Street Address, Alphanumeric, , Example: 4321 Random Blvd Ste 201,,
11+
9, Contact Person’s Office City, Alphanumeric, , Example: Somecity,,
12+
10, Contact Person’s Office State, Alphanumeric, , Example: ST,,
13+
11, Contact Person’s Office ZIP Code, Alphanumeric, , Example: 12345-1010,,
14+
12, Federal Agency, Numeric, 1 2 3 5 7 9 , Descriptions: 1. Office of the Comptroller of the Currency (OCC) 2. Federal Reserve System (FRS) 3. Federal Deposit Insurance Corporation (FDIC) 5. National Credit Union Administration (NCUA) 7. United States Department of Housing and Urban Development (HUD) 9. Consumer Financial Protection Bureau (CFPB),,
15+
13, Total Number of Entries Contained in Submission, Numeric, , Example: 5000,,
16+
14, Federal Taxpayer Identification Number, Alphanumeric, , Example: 99-9999999,,
17+
15, Legal Entity Identifier (LEI), Alphanumeric; Width is 20 characters, , Example: 12121212121212121212,,

0 commit comments

Comments
 (0)