This function processes GlobalDataLab Subnational Human Development Index (SHDI) data, resolving missing or empty geometries using geoBoundaries crosswalks, and returns a sf data.frame
Usage
read_shdi(
shdi_csv = read_shdi_csv(),
shp = read_shdi_shapefile(),
geoboundaries = read_geoboundaries(),
fix_empty = TRUE
)Arguments
- shdi_csv
A data frame containing SHDI data as returned by
read_shdi_csv.- shp
An
sfobject containing SHDI geometries as returned byread_shdi_shapefile.- geoboundaries
An
sfobject containing administrative boundary geometries as returned byread_geoboundaries.- fix_empty
A boolean whether or not to fix SHDI empty geometries. Defaults to TRUE.
References
GlobalDataLab (2019). “The Subnational Human Development Database.” 2024-10-23.