db-pluto icon indicating copy to clipboard operation
db-pluto copied to clipboard

2020 Census changes

Open AmandaDoyle opened this issue 4 years ago • 7 comments

Changes that will need to happen to PLUTO as a result of the 2020 Census release

  • [ ] Add the following fields:
  • CT2020
  • CB2020
  • [ ] Remove the following fields:
  • Tract 2010
  • [ ] Update the format following fields to match the format of these values as reported in DevDB where it's text, 6 characters, with leading zeros and no decimals for tract (e.g., 010300, 010301) and 4 characters for block (e.g., 0001, 4010):
  • CT2020
  • CB2020
  • CT2010
  • CB2010

AmandaDoyle avatar Apr 27 '21 18:04 AmandaDoyle

Stale issue message

github-actions[bot] avatar Jun 28 '21 00:06 github-actions[bot]

I don't think we can delete Tract2010 or change the format for CT2010 and CB2010. Agencies may have processes in place that expect that data.

lseirup avatar Sep 09 '21 19:09 lseirup

Add 2 new 2020 fields with proposed formatting Keep 2010 fields as is and phase out 2010 fields eventually

AmandaDoyle avatar Sep 09 '21 20:09 AmandaDoyle

Edited to add BCT2010 and BCTCB2010 fields per BC's comment

@SPTKL more detail on census fields Leave the following fields unchanged:

  • CT2010
  • CB2010
  • Tract2010

Add the following fields after the CD field (between CD and CT2010). The formatting of these fields will be the same as the formatting of the fields in DevDB, and they'll be created the same way.

@lseirup Can you sign off on the above? ^ Final and confirmed by @lseirup. Only add in the two new 2020 CT and CB fields.

Given that we're not changing the 2010 fields and not formatting the 2020 fields to match the 2010 fields in PLUTO the addition of the 2020 fields does not have to follow the 2010 workflow. I think that we can do the following:

  • add call to get 2020 data to geocode.py
  • add 2020 fields in create_rpad_geo
  • add 2020 fields in geocodes.sql
  • add 2020 fields to geocode_nones.sql
  • Add 2020 fields and boundaries to spatialjoins.sql and spatialjoins_centroid.sql
  • Add 2020 fields to create and export scripts
  • Add 2020 fields to QAQC scripts

Yes, this is overly complicated.

AmandaDoyle avatar Sep 29 '21 13:09 AmandaDoyle

we should also add BCT2010 and BCTCB2010 so that agencies can have something to switch to if they no longer want CT2010, CB2010, Tract2010, and we should warn them about deprecation

SPTKL avatar Sep 29 '21 15:09 SPTKL

@AmandaDoyle what about NTA and CDTA

SPTKL avatar Oct 12 '21 18:10 SPTKL

@AmandaDoyle what about NTA and CDTA

Confirmed with Lynn that NTA and CDTA will not be part of pluto

SPTKL avatar Oct 18 '21 18:10 SPTKL