Fixes score-geo and adds flags
This commit is contained in:
Emma Nechamkin 2022-08-19 14:43:46 -04:00 committed by GitHub
commit ad1ce2bf7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,12 +46,13 @@ class GeoScoreETL(ExtractTransformLoad):
self.DATA_PATH / "census" / "geojson" / "us.json"
)
# Import the shortened name for Score N percentile ("SM_PFS") that's used on the
# tiles.
## TEMPORARY update
# Import the shortened name for Score N to be used on tiles.
# We should no longer be using PFS
## TODO: We really should not have this any longer changing
self.TARGET_SCORE_SHORT_FIELD = constants.TILES_SCORE_COLUMNS[
field_names.SCORE_N + field_names.PERCENTILE_FIELD_SUFFIX
]
field_names.SCORE_N
].astype(float)
self.TARGET_SCORE_RENAME_TO = "M_SCORE"
# Import the shortened name for tract ("GTF") that's used on the tiles.