add CPP housing growth outputs by NTA and community district - #2582
Draft
damonmcc wants to merge 12 commits into
Draft
add CPP housing growth outputs by NTA and community district#2582damonmcc wants to merge 12 commits into
damonmcc wants to merge 12 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
damonmcc
force-pushed
the
dm-cpp-kpdb
branch
5 times, most recently
from
August 24, 2026 02:09
cbe8e69 to
9cd34c9
Compare
to correct a ZAP project until we use the lates ZAP data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
related to #2578
builds on this branch
New outputs
Two CSVs for the Capital Projects Portal, by NTA and community district, one row per geography.
units_2020_censusunits_2020completed_units_2016_2025completed_units_2021_2025units_2020andunits_2025units_2025units_2020plus the line aboveprojected_completed_units_2026_2035projected_units_2035units_2025plus the line aboveYear-labeled counts are as of the end of that year, so a project completed in 2025 counts toward 2025. Both
completed_units_*columns are net of demolitions and lost units rather than gross completions.Data corrections
units_net, so about 1,300 projects per geography contributed nothing to any phasing total.P2012M0255at 2.1 km² with its centroid about 6 km from where it belongs. The corrected shape is 0.2 km² and lands inMN0201 SoHo-Little Italy-Hudson Square.Source data
20250303to20260817. DCP Applications used to stop at 2025-02-18 while DOB ran to 2026-01-20, so nothing filed in the previous 18 months was in KPDB at all.26Q2.assert_project_and_dob_data_alignwarns when the two drift apart again.Infrastructure
edm-publishingthrough the standard publishing connector, landing indb-kpdb/build/<build>like every other product. Replaces a KPDB-specificupload.pythat wrote datetime-stamped folders toedm-private.zap_project_many_bblsandsummary_record_phasingare dbt models now.Notes
The phasing buckets are relative, not calendar dates: DOB phasing follows job status, so it moves every build, and shares that come from a source were written whenever that file was made.
units_2020_censusis the only fixed number. Everything else moves with thedcp_housingversion.