Skip to content

Commit 5e19f0c

Browse files
committed
Fix copy-paste error in D53 report filters
1 parent 5c38036 commit 5e19f0c

File tree

1 file changed

+2
-3
lines changed
  • publication/src/main/scala/hmda/publication/reports/disclosure

1 file changed

+2
-3
lines changed

publication/src/main/scala/hmda/publication/reports/disclosure/D53.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ object D53 {
4141
.filter(lar => lar.msa != "NA")
4242
.filter(lar => lar.msa.toInt == fipsCode)
4343
.filter { lar =>
44-
(lar.loanType == 2 || lar.loanType == 3 || lar.loanType == 4) &&
45-
(lar.propertyType == 1 || lar.propertyType == 2) &&
46-
(lar.purpose == 1)
44+
(lar.propertyType == 1 || lar.propertyType == 2) &&
45+
(lar.purpose == 3)
4746
}
4847
val larsWithIncome = lars.filter(lar => lar.income != "NA")
4948

0 commit comments

Comments
 (0)