Do not drop Guam and USVI from ETL (#1681)

* Remove code that drops Guam and USVI from ETL

* Add back code for dropping rows by FIPS code

We may want this functionality, so let's keep it and just make the constant currently be an empty array.

Co-authored-by: Shelby Switzer <shelbyswitzer@gmail.com>
This commit is contained in:
Shelby Switzer 2022-07-07 11:10:27 -04:00 committed by Emma Nechamkin
parent b41a2870f3
commit 3071815158
2 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,7 @@ ISLAND_AREAS_EXPLANATION = (
CENSUS_COUNTIES_COLUMNS = ["USPS", "GEOID", "NAME"] CENSUS_COUNTIES_COLUMNS = ["USPS", "GEOID", "NAME"]
# Drop FIPS codes from map # Drop FIPS codes from map
DROP_FIPS_CODES = ["66", "78"] DROP_FIPS_CODES = []
# Drop FIPS codes from incrementing # Drop FIPS codes from incrementing
DROP_FIPS_FROM_NON_WTD_THRESHOLDS = "72" DROP_FIPS_FROM_NON_WTD_THRESHOLDS = "72"

View file

@ -254,8 +254,8 @@ class PostScoreETL(ExtractTransformLoad):
tiles_score_column_titles tiles_score_column_titles
].copy() ].copy()
# Currently, we do not want USVI or Guam on the map, so this will drop all # We may not want some states/territories on the map, so this will drop all
# rows with the FIPS codes (first two digits of the census tract) # rows with those FIPS codes (first two digits of the census tract)
logger.info( logger.info(
f"Dropping specified FIPS codes from tile data: {constants.DROP_FIPS_CODES}" f"Dropping specified FIPS codes from tile data: {constants.DROP_FIPS_CODES}"
) )