mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 01:54:18 -08:00
updating data source url
This commit is contained in:
parent
f467d7811a
commit
f1387b7499
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
from data_pipeline.config import settings
|
||||||
from data_pipeline.etl.base import ExtractTransformLoad
|
from data_pipeline.etl.base import ExtractTransformLoad
|
||||||
from data_pipeline.etl.base import ValidGeoLevel
|
from data_pipeline.etl.base import ValidGeoLevel
|
||||||
from data_pipeline.score import field_names
|
from data_pipeline.score import field_names
|
||||||
|
@ -15,7 +16,10 @@ class EJSCREENETL(ExtractTransformLoad):
|
||||||
INPUT_GEOID_TRACT_FIELD_NAME: str = "ID"
|
INPUT_GEOID_TRACT_FIELD_NAME: str = "ID"
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.EJSCREEN_FTP_URL = "https://gaftp.epa.gov/EJSCREEN/2022/EJSCREEN_2022_Full_with_AS_CNMI_GU_VI_Tracts.csv.zip"
|
self.EJSCREEN_FTP_URL = (
|
||||||
|
settings.AWS_JUSTICE40_DATASOURCES_URL
|
||||||
|
+ "/ejscreen/EJSCREEN_2022_Full_with_AS_CNMI_GU_VI_Tracts.csv.zip"
|
||||||
|
)
|
||||||
self.EJSCREEN_CSV = (
|
self.EJSCREEN_CSV = (
|
||||||
self.get_tmp_path()
|
self.get_tmp_path()
|
||||||
/ "EJSCREEN_2022_Full_with_AS_CNMI_GU_VI_Tracts.csv"
|
/ "EJSCREEN_2022_Full_with_AS_CNMI_GU_VI_Tracts.csv"
|
||||||
|
|
Loading…
Add table
Reference in a new issue