From 46df42ba304e3bf289d847471f3f2e477a29e9d0 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 22 Dec 2023 19:25:51 +0100 Subject: [PATCH] fix(data): Global studies belong to all regions --- scoping_review.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scoping_review.qmd b/scoping_review.qmd index 988da36..95942f9 100644 --- a/scoping_review.qmd +++ b/scoping_review.qmd @@ -72,7 +72,7 @@ zot_df = pd.DataFrame([ # Add WB country grouping definitions (income group, world region) WB_COUNTRY_GROUPS_FILE = Path(f"{SUPPLEMENTARY_DATA}/wb-country-groupings.xlsx").resolve() -df_country_groups = pd.concat([pd.read_excel(WB_COUNTRY_GROUPS_FILE), pd.DataFrame(data={'Economy':['global'],'Code':['WLD'],'Region':['World'], 'Income group':[''], 'Lending category':['']})]).set_index("Economy") +df_country_groups = pd.concat([pd.read_excel(WB_COUNTRY_GROUPS_FILE), pd.DataFrame(data={'Economy':['global'],'Code':['WLD'],'Region':['Europe & Central Asia;South Asia;North America;East Asia & Pacific;Sub-Saharan Africa;Europe & Central Asia;Latin America & Caribbean'], 'Income group':[''], 'Lending category':['']})]).set_index("Economy") def countries_to_regions(countries:str): res = set()