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 92d68ba8be
commit f8a6567cde
2 changed files with 3 additions and 3 deletions

View file

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

View file

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