Source data comes aggregated by community district. The only new thing is the three digit CD code. This code is the "borough code", a numeric representation of boroughs plus the typical CD number. For example manhattan CD 1 is 101, as Manhattan has borough code 1.
Refactor community_district_to_PUMA
Most of the existing code we use to map CD's to PUMA's is reusable here, we just change how the CD code is constructed.
Move function into CD_helpers
Some community district-specific code was moved to CD_helpers.
Outstanding Questions
I used the "eviction_filings" as the indicator name in the outputted data. This is easy to change if need be
One-off Housing Security Indicator
Source data comes aggregated by community district. The only new thing is the three digit CD code. This code is the "borough code", a numeric representation of boroughs plus the typical CD number. For example manhattan CD 1 is 101, as Manhattan has borough code 1.
Refactor
community_district_to_PUMA
Most of the existing code we use to map CD's to PUMA's is reusable here, we just change how the CD code is constructed.
Move function into
CD_helpers
Some community district-specific code was moved to
CD_helpers
.Outstanding Questions
I used the "eviction_filings" as the indicator name in the outputted data. This is easy to change if need be