mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
Change column name (#1851)
This commit is contained in:
parent
ee97b65dda
commit
68cd3fae64
3 changed files with 2 additions and 3 deletions
|
@ -658,7 +658,7 @@ class ScoreETL(ExtractTransformLoad):
|
||||||
].mean(axis=1, skipna=True)
|
].mean(axis=1, skipna=True)
|
||||||
|
|
||||||
# For AS, MP, GU, and VI, backfill data from the 2010 census where we have it
|
# For AS, MP, GU, and VI, backfill data from the 2010 census where we have it
|
||||||
df_copy = self._backfill_island_data(df_copy)
|
# df_copy = self._backfill_island_data(df_copy)
|
||||||
|
|
||||||
return df_copy
|
return df_copy
|
||||||
|
|
||||||
|
|
|
@ -481,7 +481,6 @@ class CensusDecennialETL(ExtractTransformLoad):
|
||||||
output_field_name = (
|
output_field_name = (
|
||||||
field_names.PERCENT_PREFIX
|
field_names.PERCENT_PREFIX
|
||||||
+ race_field_name
|
+ race_field_name
|
||||||
+ field_names.ISLAND_AREA_BACKFILL_SUFFIX
|
|
||||||
)
|
)
|
||||||
self.final_race_fields.append(output_field_name)
|
self.final_race_fields.append(output_field_name)
|
||||||
self.df_all[output_field_name] = (
|
self.df_all[output_field_name] = (
|
||||||
|
|
|
@ -3,7 +3,7 @@ PERCENTILE_FIELD_SUFFIX = " (percentile)"
|
||||||
ISLAND_AREAS_PERCENTILE_ADJUSTMENT_FIELD = " for island areas"
|
ISLAND_AREAS_PERCENTILE_ADJUSTMENT_FIELD = " for island areas"
|
||||||
ADJACENT_MEAN_SUFFIX = " (based on adjacency index and low income alone)"
|
ADJACENT_MEAN_SUFFIX = " (based on adjacency index and low income alone)"
|
||||||
ADJACENCY_INDEX_SUFFIX = " (average of neighbors)"
|
ADJACENCY_INDEX_SUFFIX = " (average of neighbors)"
|
||||||
ISLAND_AREA_BACKFILL_SUFFIX = " (2010 census data backfill)"
|
ISLAND_AREA_BACKFILL_SUFFIX = "in 2009"
|
||||||
|
|
||||||
# Geographic field names
|
# Geographic field names
|
||||||
GEOID_TRACT_FIELD = "GEOID10_TRACT"
|
GEOID_TRACT_FIELD = "GEOID10_TRACT"
|
||||||
|
|
Loading…
Add table
Reference in a new issue