From 9ab75a156ff83ac9f08da3593b9f1bab0527ab08 Mon Sep 17 00:00:00 2001 From: Jorge Escobar Date: Tue, 11 Jan 2022 14:07:04 -0500 Subject: [PATCH] score passing --- .../data_pipeline/etl/sources/census_decennial/etl.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data/data-pipeline/data_pipeline/etl/sources/census_decennial/etl.py b/data/data-pipeline/data_pipeline/etl/sources/census_decennial/etl.py index cffb28d2..0f255e89 100644 --- a/data/data-pipeline/data_pipeline/etl/sources/census_decennial/etl.py +++ b/data/data-pipeline/data_pipeline/etl/sources/census_decennial/etl.py @@ -6,6 +6,7 @@ import pandas as pd from data_pipeline.etl.base import ExtractTransformLoad from data_pipeline.utils import get_module_logger +from data_pipeline.score import field_names pd.options.mode.chained_assignment = "raise" @@ -141,7 +142,9 @@ class CensusDecennialETL(ExtractTransformLoad): "PBG036014" # Total!!Female!!In labor force!!Civilian!!Unemployed ) - self.UNEMPLOYMENT_FIELD_NAME = "Unemployed civilians (percent) in 2009" + self.UNEMPLOYMENT_FIELD_NAME = ( + field_names.CENSUS_DECENNIAL_UNEMPLOYMENT_FIELD_2009 + ) var_list = [ self.MEDIAN_INCOME_FIELD,