-
Notifications
You must be signed in to change notification settings - Fork 0
Update views to use neighborhood district & PUMA #46
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
base: master
Are you sure you want to change the base?
Conversation
Exports residenct PUMA and neighborhood district instead of census tract
d158881 to
2c61a06
Compare
|
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`.
2c61a06 to
f5d9744
Compare
073efea to
22cf861
Compare
22cf861 to
f5d9744
Compare
| 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, |
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.
why did you add site_category?
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.
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
|
@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. |
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_v4andshipping.metadata_for_augur_build_v4and creates v4 API endpoint for augur build metadata.Also adds warehouse views
warehouse.pumaandwarehouse.neighborhood_district.