diff --git a/_drivers-of-inequality-vietnam.qmd b/_drivers-of-inequality-vietnam.qmd index ac0e601..d5dbe95 100644 --- a/_drivers-of-inequality-vietnam.qmd +++ b/_drivers-of-inequality-vietnam.qmd @@ -33,7 +33,11 @@ one which exogenous shocks can rapidly exacerbate as the example of the COVID-19 ```{python} #| label: fig-vnm #| fig-cap: "Gini index of consumption per capita for Vietnam. Source: Author's elaboration based on UNU-WIDER WIID (2022)." -plot_consumption_gini_percapita_ruralurban(vnm) +gni_cnsmpt = vnm[vnm['resource'].str.contains("Consumption")] +gni_cnsmpt = gni_cnsmpt[gni_cnsmpt['scale'].str.contains("Per capita")] +gni_cnsmpt = gni_cnsmpt[gni_cnsmpt['source'].str.contains("World Bank")] +gni_cnsmpt = gni_cnsmpt[gni_cnsmpt['areacovr'].str.contains("All")] +gini_plot(gni_cnsmpt) ```