Adding back census to list of potential datasets, but separating out from standard list (#484)

Error this addresses:
  File "/Users/lucas/Documents/usds/repos/justice40-tool/data/data-pipeline/data_pipeline/etl/runner.py", line 71, in etl_runner
    f"data_pipeline.etl.sources.{dataset['module_dir']}.etl"
TypeError: 'NoneType' object is not subscriptable
This commit is contained in:
Nat Hillard 2021-08-09 09:52:06 -04:00 committed by GitHub
commit ec19d86f6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 80 additions and 51 deletions

View file

@ -43,7 +43,7 @@ class CensusETL(ExtractTransformLoad):
Returns:
Path on disk to the file_type file corresponding to this FIPS
"""
file_path : Path
file_path: Path
if file_type == GeoFileType.SHP:
file_path = Path(
self.SHP_BASE_PATH / fips_code / f"tl_2010_{fips_code}_bg10.shp"