Skip to content

Commit

Permalink
add 2024 data
Browse files Browse the repository at this point in the history
  • Loading branch information
tlmn committed May 30, 2024
1 parent 32923c2 commit 9aeed62
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file modified db/rentIndex.sqlite
Binary file not shown.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ try {
2017: fetchDistinctStreets(db, "2017"),
2019: fetchDistinctStreets(db, "2019"),
2023: fetchDistinctStreets(db, "2023"),
2024: fetchDistinctStreets(db, "2024"),
};
} catch (err) {
console.error("Error opening database", err);
Expand Down
2 changes: 1 addition & 1 deletion src/utils/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const objZipCodeSchema = z
});

export const rentIndexYearSchema = z.object({
rentIndexYear: z.enum(["2017", "2019", "2021", "2023"]),
rentIndexYear: z.enum(["2017", "2019", "2021", "2023", "2024"]),
});

export const residentialStatusSchema = z.object({
Expand Down

0 comments on commit 9aeed62

Please sign in to comment.