Reducing Docker start up and adding ArcGIS URL (#1386)

* Reducing Docker start up and adding ArcGIS URL

* Updating ArcGIS URLs
This commit is contained in:
Jorge Escobar 2022-03-09 08:55:17 -05:00 committed by GitHub
commit 1730572aa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 20 deletions

View file

@ -81,6 +81,11 @@ The CSV with the combined data from all of these sources [can be accessed here](
Once we have all the data from the previous stages, we convert it to tiles to make it usable on a map. We render the map on the client side which can be seen using `docker-compose up`.
#### 5. Shapefiles
If you want to use the shapefiles in mapping applications, you can access them here [shp](https://justice40-data.s3.amazonaws.com/data-pipeline/data/score/shapefile/usa.shp) and [shx](https://justice40-data.s3.amazonaws.com/data-pipeline/data/score/shapefile/usa.shx).
### Score generation and comparison workflow
The descriptions below provide a more detailed outline of what happens at each step of ETL and score calculation workflow.

View file

@ -239,11 +239,13 @@ def data_full_run(check: bool, data_source: str):
"""
data_path = settings.APP_ROOT / "data"
if check and not check_first_run():
if check:
if not check_first_run():
# check if the data full run has been run before
logger.info("*** The data full run was already executed")
sys.exit()
else:
# census directories
logger.info("*** Initializing all data folders")
census_reset(data_path)