Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collaborative updates from the HMDA Dev team to resolve CVEs and plat… #4946

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ object ModifiedLarCsvParser {
val countyLoanLimitFileName2023 =
config.getString("hmda.countyLoanLimit.2023.fields.filename")

val countyLoanLimitFileName2024 =
config.getString("hmda.countyLoanLimit.2024.fields.filename")

val countyLoanLimitFileName2025 =
config.getString("hmda.countyLoanLimit.2025.fields.filename")

val countyLoanLimits2018: Seq[CountyLoanLimit] =
parseCountyLoanLimitFile(countyLoanLimitFileName2018)
val countyLoanLimits2019: Seq[CountyLoanLimit] =
Expand All @@ -45,20 +51,29 @@ object ModifiedLarCsvParser {
val countyLoanLimits2023: Seq[CountyLoanLimit] =
parseCountyLoanLimitFile(countyLoanLimitFileName2023)

val countyLoanLimits2024: Seq[CountyLoanLimit] =
parseCountyLoanLimitFile(countyLoanLimitFileName2024)

val countyLoanLimits2025: Seq[CountyLoanLimit] =
parseCountyLoanLimitFile(countyLoanLimitFileName2025)

val overallLoanLimit2018 = overallLoanLimits(countyLoanLimits2018)
val overallLoanLimit2019 = overallLoanLimits(countyLoanLimits2019)
val overallLoanLimit2020 = overallLoanLimits(countyLoanLimits2020)
val overallLoanLimit2021 = overallLoanLimits(countyLoanLimits2021)
val overallLoanLimit2022 = overallLoanLimits(countyLoanLimits2022)
val overallLoanLimit2023 = overallLoanLimits(countyLoanLimits2023)

val overallLoanLimit2024 = overallLoanLimits(countyLoanLimits2024)
val overallLoanLimit2025 = overallLoanLimits(countyLoanLimits2025)

val countyLoanLimitsByCounty2018 = countyLoansLimitByCounty(countyLoanLimits2018)
val countyLoanLimitsByCounty2019 = countyLoansLimitByCounty(countyLoanLimits2019)
val countyLoanLimitsByCounty2020 = countyLoansLimitByCounty(countyLoanLimits2020)
val countyLoanLimitsByCounty2021 = countyLoansLimitByCounty(countyLoanLimits2021)
val countyLoanLimitsByCounty2022 = countyLoansLimitByCounty(countyLoanLimits2022)
val countyLoanLimitsByCounty2023 = countyLoansLimitByCounty(countyLoanLimits2023)
val countyLoanLimitsByCounty2024 = countyLoansLimitByCounty(countyLoanLimits2024)
val countyLoanLimitsByCounty2025 = countyLoansLimitByCounty(countyLoanLimits2025)



Expand All @@ -68,6 +83,8 @@ object ModifiedLarCsvParser {
val countyLoanLimitsByState2021 = countyLoansLimitByState(countyLoanLimits2021)
val countyLoanLimitsByState2022 = countyLoansLimitByState(countyLoanLimits2022)
val countyLoanLimitsByState2023 = countyLoansLimitByState(countyLoanLimits2023)
val countyLoanLimitsByState2024 = countyLoansLimitByState(countyLoanLimits2024)
val countyLoanLimitsByState2025 = countyLoansLimitByState(countyLoanLimits2025)


def apply(s: String, year: Int): ModifiedLoanApplicationRegister = {
Expand Down Expand Up @@ -257,6 +274,8 @@ object ModifiedLarCsvParser {
case 2021 => countyLoanLimitsByCounty2021
case 2022 => countyLoanLimitsByCounty2022
case 2023 => countyLoanLimitsByCounty2023
case 2024 => countyLoanLimitsByCounty2024
case 2025 => countyLoanLimitsByCounty2025



Expand All @@ -271,6 +290,8 @@ object ModifiedLarCsvParser {
case 2021 => countyLoanLimitsByState2021
case 2022 => countyLoanLimitsByState2022
case 2023 => countyLoanLimitsByState2023
case 2024 => countyLoanLimitsByState2024
case 2025 => countyLoanLimitsByState2025



Expand All @@ -284,8 +305,8 @@ private def getOverallLoanLimit(year: Int) = {
case 2020 => overallLoanLimit2020
case 2021 => overallLoanLimit2021
case 2022 => overallLoanLimit2022
case 2023 => overallLoanLimit2023

case 2024 => overallLoanLimit2024
case 2025 => overallLoanLimit2025


}
Expand Down
Loading