mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-28 13:41:17 -07:00
parent
dcda155c95
commit
481a2a05f7
15 changed files with 271 additions and 942 deletions
|
@ -294,10 +294,10 @@ TILES_SCORE_COLUMNS = {
|
|||
# These are the booleans for socioeconomic indicators
|
||||
## this measures low income boolean
|
||||
field_names.FPL_200_SERIES: "FPL200S",
|
||||
## Low high school and low higher ed for t&wd
|
||||
## Low high school for t&wd
|
||||
field_names.WORKFORCE_SOCIO_INDICATORS_EXCEEDED: "M_WKFC_EBSI",
|
||||
## FPL 200 and low higher ed for all others
|
||||
field_names.FPL_200_SERIES: "M_EBSI",
|
||||
## FPL 200 and low higher ed for all others should no longer be M_EBSI, but rather
|
||||
## FPL_200 (there is no higher ed in narwhal)
|
||||
}
|
||||
|
||||
# columns to round floats to 2 decimals
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import functools
|
||||
from collections import namedtuple
|
||||
from attr import field
|
||||
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
|
|
|
@ -289,7 +289,7 @@ class GeoScoreETL(ExtractTransformLoad):
|
|||
shapefile_column_field = "shapefile_column"
|
||||
internal_column_name_field = "column_name"
|
||||
column_description_field = "column_description"
|
||||
|
||||
|
||||
logger.info("Creating a codebook that uses the csv names")
|
||||
codebook = (
|
||||
pd.Series(codebook)
|
||||
|
@ -299,7 +299,6 @@ class GeoScoreETL(ExtractTransformLoad):
|
|||
0: internal_column_name_field,
|
||||
"index": shapefile_column_field,
|
||||
}
|
||||
|
||||
)
|
||||
)
|
||||
|
||||
|
|
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.
Loading…
Add table
Add a link
Reference in a new issue