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

Raw Census models #2528

Closed
5 tasks done
Tracked by #2302
gsa-suk opened this issue Oct 17, 2023 · 2 comments
Closed
5 tasks done
Tracked by #2302

Raw Census models #2528

gsa-suk opened this issue Oct 17, 2023 · 2 comments
Assignees
Labels

Comments

@gsa-suk
Copy link
Contributor

gsa-suk commented Oct 17, 2023

Create models for historic raw census tables.

Tasks

Preview Give feedback
  1. JeanMarie-PM
  2. gsa-suk
  3. JeanMarie-PM eazapata23
    gsa-suk purvinptl
  4. gsa-suk
@gsa-suk
Copy link
Contributor Author

gsa-suk commented Oct 17, 2023

@gsa-suk gsa-suk changed the title Census models Raw Census models Oct 17, 2023
@JeanMarie-PM
Copy link
Contributor

@gsa-suk I think we need to make a fresh start.
Here's what I propose for the creating the raw census models:

  • Create a new S3 bucket to store CSV files from Census (could be Oracle dumpe later on)
  • Create a new Postgres instance to house the Census data in the RDBMS with minimal changes (i.e. tables named ELECAUDITHEADER, etc).
  • Create a Python package (non-djanago) at the same level as backend. Let's call it Census2FAC or something similar. This package should have all the code to movethe csv files to the new S3 bucket, the code to populate the new database from the csv files, the code to validate pdf checksums, etc. We should be able to drop this package from our codebase at a future point in time.
  • Once this is done, we can have django use the new Posgres database to populate SF-SAC and the dissemination tables - either directly or clones of these.

@danswick danswick added the eng label Oct 30, 2023
@github-project-automation github-project-automation bot moved this to Triage in FAC Oct 30, 2023
@gsa-suk gsa-suk closed this as completed Nov 27, 2023
@github-project-automation github-project-automation bot moved this from Triage to Done in FAC Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants