NYCPlanning / db-developments

🏠 🏘️ 🏗️ Developments Database
https://nycplanning.github.io/db-developments
8 stars 2 forks source link

21Q4 UPDATE #482

Closed AmandaDoyle closed 1 year ago

AmandaDoyle commented 2 years ago

Update code

Update source data

DCP Admin Boundaries from Bytes

DOB data

mbh329 commented 2 years ago

dcp_mappluto - updated 20 days ago (latest and 21v4) dof_shoreline - updated 8 days ago (latest and 20220110 council_members - updated 9 months ago in DO (most recent folder doesn't align with dates), updated 20210630 in OpenData. This dataset should be updated on opendata to reflect most recent council member changes doitt_buildingfootprints - updated 3 days ago (latest and 20220116) doitt_buildingfootprints_historical - updated one year ago in DO (latest and 20210216), open data says this was last updated on today on 20220118 doitt_zipcodeboundaries - last updated 9 months ago (latest and 20210405) doe_school_subdistricts - latest folder last updated 8 months ago, version folder is out of date - uses a 2017 folder to save the most recent data (should update this to reflect the actual updated date or version) doe_eszones - last updated 9 months ago that reflect the 2019-2020 data from. https://data.cityofnewyork.us/Education/2019-2020-School-Zones-Elementary-/kuk3-ypca doe_mszones - last updated 9 months ago in DO that reflect the 2019-2020 data from https://data.cityofnewyork.us/Education/2019-2020-School-Zones-Middle-School-/ie4z-reuy

SashaWeinstein commented 2 years ago

Updating the version.env and the admin boundaries was mostly smooth with the one issue that dcp_policeprecincts was misspelled in the quarterly updates workflow in data library. This was fixed and now all admin boundaries are automatically refreshed in that workflow

AmandaDoyle commented 2 years ago

Regarding the add most recent full/half year to aggregate tables step. Update yearly.sql and aggregate.sql to include comp2021 field

SashaWeinstein commented 2 years ago

Te is taking a look at this, in the meantime I want to flag that there is no aggregate.sql in the main branch of devDB

td928 commented 2 years ago

Hey @AmandaDoyle I want to follow up on your comment about the aggregate tables step. I think @SashaWeinstein is right that the yearly.sql and aggregate.sql have been refactored to multiple new aggregate queries and they should handle the 2021 just fine as they are. Although it currently is producing only for 2010 census geometries, I am taking a look on adding the 2020 census geometries.