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

Update views to use neighborhood district & PUMA #46

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

joverlee521
Copy link
Contributor

I feel like switching from census tract to neighborhood and/or PUMA is a big enough change to warrant a bump in version number.

Adds shipping.incidence_model_observation_v4 and shipping.metadata_for_augur_build_v4 and creates v4 API endpoint for augur build metadata.

Also adds warehouse views warehouse.puma and warehouse.neighborhood_district.

@joverlee521
Copy link
Contributor Author

@joverlee521 joverlee521 force-pushed the update-views-with-puma-neighborhood branch from d158881 to 2c61a06 Compare February 24, 2020 19:54
@joverlee521
Copy link
Contributor Author

Reworked sqitch changes to fix merge conflicts with master

Exports neighborhood or PUMA for location and removes census tract.
Add `shipping.incidence_model_observation_v4`, `warehouse.puma`,
and `warehouse.neighborhood_district`.

Remove grants on `warehouse.tract`.
@joverlee521 joverlee521 force-pushed the update-views-with-puma-neighborhood branch from 2c61a06 to f5d9744 Compare February 24, 2020 20:00
@kairstenfay kairstenfay force-pushed the update-views-with-puma-neighborhood branch 5 times, most recently from 073efea to 22cf861 Compare February 25, 2020 18:29
@joverlee521 joverlee521 force-pushed the update-views-with-puma-neighborhood branch from 22cf861 to f5d9744 Compare February 25, 2020 18:30
to_char((encountered at time zone 'US/Pacific')::date, 'IYYY-"W"IW') as encountered_week,

site.details->>'type' as site_type,
site.details->>'category' as site_category,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did you add site_category?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This removed an extra join in metadata_for_augur_build with warehouse.site that was used to get the site_category. I thought we might as well include it in the modeling view

@kairstenfay
Copy link
Contributor

@joverlee521 @tsibley can we merge this?

@tsibley
Copy link
Member

tsibley commented Mar 11, 2020

@joverlee521 @tsibley can we merge this?

I think I'd prefer to hold off on merging it for now. There are some changes I'd like to see and getting this merged isn't urgent, AFAICT.

@joverlee521 joverlee521 requested a review from a team as a code owner August 22, 2020 19:11
@kschwabefry kschwabefry marked this pull request as draft August 10, 2022 20:56
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.

3 participants