Skip to content

Commit

Permalink
feat: creating new SMC ami charts (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
YazeedLoonat authored Aug 31, 2023
1 parent f6271e2 commit a54bead
Show file tree
Hide file tree
Showing 6 changed files with 752 additions and 14 deletions.
248 changes: 248 additions & 0 deletions backend/core/scripts/ami-chart-import-files/SMC-HUD-2023.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,248 @@
import { AmiChartCreateDto } from "../../src/ami-charts/dto/ami-chart.dto"
import { BaseEntity } from "typeorm"
// THIS FILE WAS AUTOMATICALLY GENERATED FROM SMC-HUD-2023.txt.
export const ami: Omit<AmiChartCreateDto, keyof BaseEntity | "jurisdiction"> = {
name: "San Mateo County HUD 2023",
items: [
{
percentOfAmi: 15,
householdSize: 1,
income: 18400,
},
{
percentOfAmi: 15,
householdSize: 2,
income: 21000,
},
{
percentOfAmi: 15,
householdSize: 3,
income: 23650,
},
{
percentOfAmi: 15,
householdSize: 4,
income: 26250,
},
{
percentOfAmi: 15,
householdSize: 5,
income: 28350,
},
{
percentOfAmi: 15,
householdSize: 6,
income: 30450,
},
{
percentOfAmi: 15,
householdSize: 7,
income: 32550,
},
{
percentOfAmi: 15,
householdSize: 8,
income: 34650,
},
{
percentOfAmi: 30,
householdSize: 1,
income: 39150,
},
{
percentOfAmi: 30,
householdSize: 2,
income: 44750,
},
{
percentOfAmi: 30,
householdSize: 3,
income: 50350,
},
{
percentOfAmi: 30,
householdSize: 4,
income: 55900,
},
{
percentOfAmi: 30,
householdSize: 5,
income: 60400,
},
{
percentOfAmi: 30,
householdSize: 6,
income: 64850,
},
{
percentOfAmi: 30,
householdSize: 7,
income: 69350,
},
{
percentOfAmi: 30,
householdSize: 8,
income: 73800,
},
{
percentOfAmi: 50,
householdSize: 1,
income: 65250,
},
{
percentOfAmi: 50,
householdSize: 2,
income: 74600,
},
{
percentOfAmi: 50,
householdSize: 3,
income: 83900,
},
{
percentOfAmi: 50,
householdSize: 4,
income: 93200,
},
{
percentOfAmi: 50,
householdSize: 5,
income: 100700,
},
{
percentOfAmi: 50,
householdSize: 6,
income: 108150,
},
{
percentOfAmi: 50,
householdSize: 7,
income: 115600,
},
{
percentOfAmi: 50,
householdSize: 8,
income: 123050,
},
{
percentOfAmi: 80,
householdSize: 1,
income: 104400,
},
{
percentOfAmi: 80,
householdSize: 2,
income: 119300,
},
{
percentOfAmi: 80,
householdSize: 3,
income: 134200,
},
{
percentOfAmi: 80,
householdSize: 4,
income: 149100,
},
{
percentOfAmi: 80,
householdSize: 5,
income: 161050,
},
{
percentOfAmi: 80,
householdSize: 6,
income: 173000,
},
{
percentOfAmi: 80,
householdSize: 7,
income: 184900,
},
{
percentOfAmi: 80,
householdSize: 8,
income: 196850,
},
{
percentOfAmi: 100,
householdSize: 1,
income: 122500,
},
{
percentOfAmi: 100,
householdSize: 2,
income: 140000,
},
{
percentOfAmi: 100,
householdSize: 3,
income: 157500,
},
{
percentOfAmi: 100,
householdSize: 4,
income: 175000,
},
{
percentOfAmi: 100,
householdSize: 5,
income: 189000,
},
{
percentOfAmi: 100,
householdSize: 6,
income: 203000,
},
{
percentOfAmi: 100,
householdSize: 7,
income: 217000,
},
{
percentOfAmi: 100,
householdSize: 8,
income: 231000,
},
{
percentOfAmi: 120,
householdSize: 1,
income: 147000,
},
{
percentOfAmi: 120,
householdSize: 2,
income: 168000,
},
{
percentOfAmi: 120,
householdSize: 3,
income: 189000,
},
{
percentOfAmi: 120,
householdSize: 4,
income: 210000,
},
{
percentOfAmi: 120,
householdSize: 5,
income: 226800,
},
{
percentOfAmi: 120,
householdSize: 6,
income: 243600,
},
{
percentOfAmi: 120,
householdSize: 7,
income: 260400,
},
{
percentOfAmi: 120,
householdSize: 8,
income: 277200,
},
],
}
6 changes: 6 additions & 0 deletions backend/core/scripts/ami-chart-import-files/SMC-HUD-2023.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
15 18400 21000 23650 26250 28350 30450 32550 34650
30 39150 44750 50350 55900 60400 64850 69350 73800
50 65250 74600 83900 93200 100700 108150 115600 123050
80 104400 119300 134200 149100 161050 173000 184900 196850
100 122500 140000 157500 175000 189000 203000 217000 231000
120 147000 168000 189000 210000 226800 243600 260400 277200
Loading

0 comments on commit a54bead

Please sign in to comment.