Week 6

Quarto for Data Communication

Data

R Package jmpwashdata

For this analysis we will use the jmpwashdata R Package by Dickinson (2021). The package contains all data compiled by the WHO/UNICEF Joint Monitoring Programme (JMP).

World Bank income groups

We will also use the World Bank income classification for 218 countries. This data was downloaded and stored as an XLSX file using an R script in src.

Data wrangling

Basic Sanitation & GDP

Data for the most recent year, basic sanitation in urban areas, calculate urban population, and join income groups.

Basic Sanitation Uganda

Results

Income

Figure 1 is a box- and jitterplot of countries with percentages of populations with access to basic sanitation in 2020 grouped by income classifications.

A boxplot with jittered points overlaid. The x-axis represents income groups, while the y-axis represents the percentage of the population with access to basic sanitation. There is a positive, linear association increases.

Figure 1: Access to sanitation (urban) in 2020 by income classifications.

Regions

Table 1 below shows urban sanitation indicators for global regions in 2020.

Table 1:

Urban sanitation indicators for global regions.

basic limited unimproved open defecation
Central and Southern Asia 79% 17% 3% 1%
Eastern and South-Eastern Asia 95% 3% 2% 1%
Europe and Northern America 99% 1% 1% 0%
Latin America and the Caribbean 93% 4% 3% 0%
Northern Africa and Western Asia 95% 2% 2% 0%
Oceania 71% 9% 17% 3%
Sub-Saharan Africa 46% 32% 17% 5%
Fragile or Extremely Fragile 62% 22% 13% 3%
Least Developed Countries 48% 29% 20% 4%
Landlocked Developing Countries 62% 22% 14% 2%
Small Island Developing States 83% 10% 5% 2%
World 88% 8% 3% 1%

Uganda

Figure 2 below shows the sanitation ladder for Uganda.

Figure 2: Sanitation indicators for Uganda on a national level.

References

Dickinson, Nicolas. 2021. “Jmpwashdata: WHO/UNICEF Joint Monitoring Programme Water and Sanitation Data.”