mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08: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
|
# These are the booleans for socioeconomic indicators
|
||||||
## this measures low income boolean
|
## this measures low income boolean
|
||||||
field_names.FPL_200_SERIES: "FPL200S",
|
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",
|
field_names.WORKFORCE_SOCIO_INDICATORS_EXCEEDED: "M_WKFC_EBSI",
|
||||||
## FPL 200 and low higher ed for all others
|
## FPL 200 and low higher ed for all others should no longer be M_EBSI, but rather
|
||||||
field_names.FPL_200_SERIES: "M_EBSI",
|
## FPL_200 (there is no higher ed in narwhal)
|
||||||
}
|
}
|
||||||
|
|
||||||
# columns to round floats to 2 decimals
|
# columns to round floats to 2 decimals
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import functools
|
import functools
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
from attr import field
|
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
|
|
@ -299,7 +299,6 @@ class GeoScoreETL(ExtractTransformLoad):
|
||||||
0: internal_column_name_field,
|
0: internal_column_name_field,
|
||||||
"index": shapefile_column_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.
|
@ -238,6 +238,7 @@ class CensusACSETL(ExtractTransformLoad):
|
||||||
|
|
||||||
self.df: pd.DataFrame
|
self.df: pd.DataFrame
|
||||||
|
|
||||||
|
# pylint: disable=too-many-arguments
|
||||||
def _merge_geojson(
|
def _merge_geojson(
|
||||||
self,
|
self,
|
||||||
df: pd.DataFrame,
|
df: pd.DataFrame,
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
from typing import List, NamedTuple
|
from typing import List, NamedTuple
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
import geopandas as gpd
|
import geopandas as gpd
|
||||||
import numpy as np
|
|
||||||
|
|
||||||
from data_pipeline.utils import get_module_logger
|
from data_pipeline.utils import get_module_logger
|
||||||
|
|
||||||
|
# pylint: disable=unsubscriptable-object
|
||||||
|
|
||||||
logger = get_module_logger(__name__)
|
logger = get_module_logger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
from typing import Tuple
|
from typing import Tuple
|
||||||
from attr import field
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@ import pandas as pd
|
||||||
from data_pipeline.score.score_a import ScoreA
|
from data_pipeline.score.score_a import ScoreA
|
||||||
from data_pipeline.score.score_b import ScoreB
|
from data_pipeline.score.score_b import ScoreB
|
||||||
from data_pipeline.score.score_c import ScoreC
|
from data_pipeline.score.score_c import ScoreC
|
||||||
from data_pipeline.score.score_d import ScoreD
|
|
||||||
from data_pipeline.score.score_f import ScoreF
|
from data_pipeline.score.score_f import ScoreF
|
||||||
from data_pipeline.score.score_g import ScoreG
|
from data_pipeline.score.score_g import ScoreG
|
||||||
from data_pipeline.score.score_h import ScoreH
|
from data_pipeline.score.score_h import ScoreH
|
||||||
|
@ -11,7 +10,6 @@ from data_pipeline.score.score_k import ScoreK
|
||||||
from data_pipeline.score.score_l import ScoreL
|
from data_pipeline.score.score_l import ScoreL
|
||||||
from data_pipeline.score.score_m import ScoreM
|
from data_pipeline.score.score_m import ScoreM
|
||||||
from data_pipeline.score.score_narwhal import ScoreNarwhal
|
from data_pipeline.score.score_narwhal import ScoreNarwhal
|
||||||
from data_pipeline.score import field_names
|
|
||||||
|
|
||||||
from data_pipeline.utils import get_module_logger
|
from data_pipeline.utils import get_module_logger
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# pylint: disable=protected-access,unsubscriptable-object
|
# pylint: disable=protected-access, unsubscriptable-object, unnecessary-dunder-call
|
||||||
import copy
|
import copy
|
||||||
import os
|
import os
|
||||||
import pathlib
|
import pathlib
|
||||||
|
|
1187
data/data-pipeline/poetry.lock
generated
1187
data/data-pipeline/poetry.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -68,7 +68,6 @@ requires = ["poetry-core>=1.0.0"]
|
||||||
[tool.pylint."MESSAGE CONTROL"]
|
[tool.pylint."MESSAGE CONTROL"]
|
||||||
disable = [
|
disable = [
|
||||||
"C0114", # Disables module docstrings
|
"C0114", # Disables module docstrings
|
||||||
"R0201", # Disables method could have been a function
|
|
||||||
"R0903", # Disables too few public methods
|
"R0903", # Disables too few public methods
|
||||||
"C0103", # Disables name case styling
|
"C0103", # Disables name case styling
|
||||||
"W0511", # Disables FIXME warning
|
"W0511", # Disables FIXME warning
|
||||||
|
|
Loading…
Add table
Reference in a new issue