first pass at base layer

This commit is contained in:
Jake Pullen
2024-07-29 15:12:26 +01:00
parent 23458af133
commit 6bc992e011
4 changed files with 77 additions and 75 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ class Ingest:
Save the data for a specific entity to a new cache file.
"""
current_time = time.strftime('%Y%m%d%H%M%S')
directory = f'data/{entity}'
directory = f'data/raw/{entity}'
if not os.path.exists(directory):
os.makedirs(directory)
entity_file = f'{directory}/{current_time}.json'