Skip to content
Snippets Groups Projects

normalization of nrens including datamigration

Merged Remco Tukker requested to merge feature/COMP-128_normalize_NRENs into develop
All threads resolved!
Files
17
@@ -39,7 +39,7 @@ def fetch_budget_excel_data():
# process the data (e.g. save to database)
# print(f"NREN: {nren}, Budget: {budget}, Year: {year}")
yield nren, budget, year
yield nren.upper(), budget, year
def fetch_funding_excel_data():
@@ -92,7 +92,7 @@ def fetch_funding_excel_data():
# process the data (e.g. save to database)
if nren is not None:
yield (nren, year, client_institution,
yield (nren.upper(), year, client_institution,
european_funding,
gov_public_bodies,
commercial, other)
@@ -148,7 +148,7 @@ def fetch_charging_structure_excel_data():
f'NREN: {nren}, Charging Structure: {charging_structure},'
f' Year: {year}')
yield nren, year, charging_structure
yield nren.upper(), year, charging_structure
# For 2021
yield from create_points_for_year(3, 45, 2021, 2)
Loading