Skip to content

Automated data update#416

Closed
laurenp-2 wants to merge 3 commits intomainfrom
data-update
Closed

Automated data update#416
laurenp-2 wants to merge 3 commits intomainfrom
data-update

Conversation

@laurenp-2
Copy link
Copy Markdown

@laurenp-2 laurenp-2 commented Mar 2, 2026

Summary

This pull request is the first step towards implementing bulk data updates. The PR introduces two new backend scripts, export_apartments and update_apartments_from_csv that exports current property information in the database into a CSV, and then updates the database with information from the csv after it is updated with new information.

  • implemented export_apartments and update_apartments_from_csv
  • Created unit tests for both scripts

Test Plan

Made unit tests in backend/scripts/scripts.tests.ts

- Added scripts to export apartment data to CSV and update apartment data from CSV
- Updated package.json with new script commands for data export and update
@dti-github-bot
Copy link
Copy Markdown
Member

dti-github-bot commented Mar 2, 2026

[diff-counting] Significant lines: 583.

@laurenp-2 laurenp-2 closed this Mar 23, 2026
@laurenp-2 laurenp-2 deleted the data-update branch March 23, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants