Skip to content

Commit 719c7e3

Browse files
author
Nick Grippin
committed
filter out NA loans
1 parent 57166a4 commit 719c7e3

File tree

1 file changed

+1
-1
lines changed
  • publication/src/main/scala/hmda/publication/reports/national

1 file changed

+1
-1
lines changed

publication/src/main/scala/hmda/publication/reports/national/N52.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ object N52 {
6262
// Property Type 1,2
6363
// Purpose of Loan 1
6464
def generate[ec: EC, mat: MAT, as: AS](larSource: Source[LoanApplicationRegisterQuery, NotUsed]): Future[N52] = {
65-
val fipsList = MsaIncomeLookup.values.map(_.fips)
65+
val fipsList = MsaIncomeLookup.values.map(_.fips).filterNot(_ == 99999)
6666

6767
val a52List = fipsList.map(fipsCode => A52.generate(larSource, fipsCode))
6868
val n52f = Future.sequence(a52List).map(seq => {

0 commit comments

Comments
 (0)