mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-26 02:01:17 -07:00
Display score L on map (#849)
* updates to first docker run * tile constants * frontend changes * updating pickles instructions * pickles
This commit is contained in:
parent
03e59f2abd
commit
053dde0d40
12 changed files with 91 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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)",
|
||||
|
|
|
@ -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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue