Skip to content

Commit

Permalink
views: Add age_range_coarse to augur metadata
Browse files Browse the repository at this point in the history
In seattleflu/augur-build#32, Trevor requested
that we include `age_range_coarse` as a column in the view.
  • Loading branch information
kairstenfay committed Jan 22, 2020
1 parent 9448be4 commit d4f6289
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions schema/deploy/shipping/views.sql
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ create or replace view shipping.metadata_for_augur_build_v2 as
-- XXX TODO: Change to PUMA and neighborhoods
residence_census_tract as location,
'Seattle Flu Study' as authors,
age_range_coarse,
case
when age_range_coarse <@ '[0 mon, 18 years)'::intervalrange then 'child'
else 'adult'
Expand Down

0 comments on commit d4f6289

Please sign in to comment.