Closed AmandaDoyle closed 4 years ago
@AmandaDoyle following the schemas for 2017 and 2018 would be:
CREATE TABLE sca_enrollment_projections_by_boro."2019" (
year varchar,
borough text,
hs integer
);
@bfreeds @AmandaDoyle We've refactored the ETL for 2018 and 2019 tables based on the above schema using SCA's source data.
@baolingz copy, thank you! Apologies for my delayed response, Github's new notifications management (which is waaay more usable) helped me see that I was pinged on this issue.
Aggregate HS data to boro level
sca_e_projections_by_boro
under theceqr_app_date/ceqr/recipes
directorysca_e_projections.2019
as the input datamelt
projected
= [9,10,11,12], don't useprojected
= '9-12 Total' fromsca_e_projections.2019
which has incorrect valuesdistrict
to its matchingborocode
EDM_DATA