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

Populate DB tables with data from SFData #73

Open
agennadi opened this issue Nov 4, 2024 · 2 comments
Open

Populate DB tables with data from SFData #73

agennadi opened this issue Nov 4, 2024 · 2 comments

Comments

@agennadi
Copy link
Collaborator

agennadi commented Nov 4, 2024

Context

We need to create Postgres tables based on SQLAlchemy models and populate them with the subset (1000 rows) of the GeoJSON data from the SFData API endpoints.

Definition of Done

  • Table Address is populated and all required fields are mapped accurately to the model.
  • Table Soft Story is populated and all required fields are mapped accurately to the model.
  • Table Seismic Hazard is populated and all required fields are mapped accurately to the model.
  • Table Tsunami is populated and all required fields are mapped accurately to the model.
  • Table Landslide is populated and all required fields are mapped accurately to the model.
  • Table Liquefaction Hazard is populated and all required fields are mapped accurately to the model.
  • The code is modular, well-documented, and tested.

Engineering Details

@mackcooper1408
Copy link
Collaborator

I'm assuming this is really the meat of the ETL service, correct? If so, let's maybe just make sure we put some kind of limit on how much we're loading locally (people probably don't want to load all the datasets onto their computer haha).

@agennadi
Copy link
Collaborator Author

agennadi commented Nov 7, 2024

Thanks for the feedback, I updated the issue. We will put a limit of 100 rows for the time being.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

3 participants