Analysis by region (#385)

* Adding regional comparisons

* Small ETL fixes
This commit is contained in:
Lucas Merrill Brown 2021-07-26 08:02:25 -07:00 committed by GitHub
commit 67b39475f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 440 additions and 158 deletions

View file

@ -133,7 +133,6 @@ def unzip_file_from_url(
# cleanup temporary file
os.remove(zip_file_path)
def data_folder_cleanup() -> None:
"""Remove all files and directories from the local data/dataset path"""
@ -161,7 +160,6 @@ def temp_folder_cleanup() -> None:
logger.info(f"Initializing all temp directoriees")
remove_all_from_dir(data_path / "tmp")
def get_excel_column_name(index: int) -> str:
"""Map a numeric index to the appropriate column in Excel. E.g., column #95 is "CR".
Only works for the first 1000 columns.