Display score L on map (#849)

* updates to first docker run

* tile constants

* frontend changes

* updating pickles instructions

* pickles
This commit is contained in:
Jorge Escobar 2021-11-05 16:26:14 -04:00 committed by GitHub
commit 053dde0d40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 91 additions and 16 deletions

View file

@ -83,9 +83,6 @@ def score_generate() -> None:
score_gen.transform()
score_gen.load()
# Post Score Processing
score_post()
def score_post(data_source: str = "local") -> None:
"""Posts the score files to the local directory

View file

@ -69,6 +69,8 @@ TILES_SCORE_COLUMNS = [
"Score E (top 25th percentile)",
"Score G (communities)",
"Score G",
"Definition L (communities)",
"Definition L (percentile)",
"Poverty (Less than 200% of federal poverty line) (percentile)",
"Percent individuals age 25 or over with less than high school degree (percentile)",
"Linguistic isolation (percent) (percentile)",
@ -95,6 +97,7 @@ TILES_SCORE_FLOAT_COLUMNS = [
"Score D (top 25th percentile)",
"Score E (percentile)",
"Score E (top 25th percentile)",
"Definition L (percentile)",
"Poverty (Less than 200% of federal poverty line)",
"Percent individuals age 25 or over with less than high school degree",
"Linguistic isolation (percent)",

View file

@ -31,8 +31,8 @@ class GeoScoreETL(ExtractTransformLoad):
self.DATA_PATH / "census" / "geojson" / "us.json"
)
self.TARGET_SCORE_NAME = "Score G"
self.TARGET_SCORE_RENAME_TO = "G_SCORE"
self.TARGET_SCORE_NAME = "Definition L (percentile)"
self.TARGET_SCORE_RENAME_TO = "L_SCORE"
self.NUMBER_OF_BUCKETS = 10

File diff suppressed because one or more lines are too long

View file

@ -107,7 +107,7 @@ def check_census_data_source(
# check if census data is found locally
if not os.path.isfile(census_data_path / "geojson" / "us.json"):
logger.info(
"No local census data found. Please use '-d aws` to fetch from AWS"
"No local census data found. Please use '-s aws` to fetch from AWS"
)
sys.exit()