-
Notifications
You must be signed in to change notification settings - Fork 2
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
add job for good cause eviction data #172
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me!
@@ -73,6 +73,9 @@ RUN ln -s /who-owns-what/ocaevictions /usr/local/lib/python3.10/site-packages/oc | |||
RUN ln -s /who-owns-what/signature /usr/local/lib/python3.10/site-packages/signature && \ | |||
pip install boto3==1.28.44 | |||
|
|||
# And again for good cause eviction... | |||
RUN ln -s /who-owns-what/goodcause /usr/local/lib/python3.10/site-packages/goodcause | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this need pip install boto3==1.28.44
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, that was only needed to get the csv files from S3 (shared from UNHP), but this GCE job doesn't actually take in any data - just runs SQL on existing tables. Thanks for checking!
Adds a new module like portfoliograph, ocaevictions, etc. which creates two new tables entirely from SQL queries. gce_screener - a bbl-level table with all of the fields we need for the gce screener website to inform helper text for user survey and other building data that is combined to determine eligibility and populate guides for next steps to determine portfolio size. gce_eligibility - a bbl-level table using all of the same dat as above, but designed to use only public data (no user responses) to give our best guess for GCE eligibility to use for data requests and also powers the map of likely-GCE-covered properties that the housing data coalition is working on. We use this new module for a new jobs on nycdb-k8s-loader: JustFixNYC/nycdb-k8s-loader#172 This also adds a new API endpoint for GET requests for a bbl that returns the entire row from the gce_screener table that is used on https://github.com/JustFixNYC/gce-screener
Sets up a new job for creating our two GCE tables. These are created just via SQL query - no CSV downloading or other complications.
We sohuld stick with daily updates since it's a relatively fast job and we'll want to keep as up-to-date as possible with wow portfolios, CofOs, etc.
Companion PR on who-owns-what: JustFixNYC/who-owns-what#971
[sc-15606]