Reproducible Research Repository
Reproducible Research Repository
  • Home
  • Repository
  • Collections
  • About
    Home / Repository / PRWP / RR_SSA_2025_270
PRWP

Reproducibility package for Dry Spells, Urban Swells: Analyzing the Drought-Induced Expansion of Cities in Sub-Saharan Africa

2025
Get Reproducibility Package
Reference ID
RR_SSA_2025_270
DOI
https://doi.org/10.60572/86wr-yt39
Author(s)
Rafael Van der Borght, Oscar A. Ishizawa, Jean Thuret, Joaquin Muñoz
Collections
World Bank Policy Research Working Papers
Metadata
JSON
Created on
Feb 12, 2025
Last modified
Feb 12, 2025
  • Project Description
  • Downloads
  • Overview
  • Reproducibility Package
  • Description
  • Scope and coverage
  • Disclaimer
  • Access and rights
  • Contacts
  • Information on metadata
  • Citation
  • Overview

    Abstract

    Droughts are increasingly cited as a driver of urbanization across Sub-Saharan Africa, yet little is known about the role they play in shaping the spatial expansion of cities. Combining satellite imagery on built-up areas with climatic data for the period 1984-2015, this study empirically examines whether and to what extent droughts influences the spatial expansion of African cities. It further investigates the heterogeneity of these effects across cities and countries. Findings indicate that extreme droughts significantly accelerate the built-up growth rate of cities, while more frequent but less severe droughts have negligible impacts. Importantly, these effects are strongly differentiated across cities. The 1% most extreme droughts boost by 75% the average speed at which new settlements emerge in the surroundings of a country's largest city, yet they do not alter the expansion of other smaller cities and towns. These drought-induced effects intensify the sprawl of the largest cities and bear important policy implications: extreme droughts put additional pressure on the largest and often overcrowded cities, potentially deepening congestion effects; they also contribute to exacerbate the speed at which cities expand in flood prone areas, thereby magnifying urban flood risk. As climate changes, the frequency of both extreme droughts and extreme rainfall events is projected to increase across the region, aggravating the likelihood of future drought-induced expansions of the largest cities and worsening urban flood risk prospects. These findings call for urgent and tailored risk reduction measures in both cities and rural areas.

    Reproducibility Package

    Scripts
    Readme Get Reproducibility Package
    Link: https://reproducibility.worldbank.org/index.php/catalog/243/download/706/README.pdf
    Reproducibility package (data and code) for Dry Spells, Urban Swells: Analyzing the Drought-Induced Expansion of Cities in Sub-Saharan Africa
    Title
    Reproducibility package (data and code) for Dry Spells, Urban Swells: Analyzing the Drought-Induced Expansion of Cities in Sub-Saharan Africa
    Dependencies
    All dependencies are included in "renv.lock" for the R code and "environment.yml" for the Python code.
    Source code repository
    Repository name URI
    Reproducible Research Repository (World Bank) https://reproducibility.worldbank.org
    Software
    R
    Name
    R
    Version
    4.4.0
    Python
    Name
    Python
    Version
    3.11

    Reproducibility

    Technology environment

    Paper exhibits were reproduced on a computer with the following specifications:
    • OS: Windows 10 Enterprise, version 22H2
    • Processor: Intel(R) Xeon(R) Gold 6132 CPU @ 2.60GHz 2.60 GHz (2 processors)
    • Memory available: 128 GB
    • Software version: Python 3.11, R 4.3.2

    Technology requirements

    ~ 3 hours

    Reproduction instructions

    To successfully reproduce the analysis, follow these steps:

    1. Install the provided Python environment called environment.yml file
    2. Open the Jupyter Notebook 1. dataset_creation.ipynb located in the root directory. Update the directory path in cell 2.
    3. Run 2. Regressions.R after updating the directory.
    4. After completing the above steps, run the following files to generate figures and tables:
      3. figures_1_3_5_6_7.R
      4. figures_2_4.ipynb
      5. Main plots.R

    Data

    Datasets
    Standardized Precipitation-Evapotranspiration Index (SPEI) data
    Name
    Standardized Precipitation-Evapotranspiration Index (SPEI) data
    Note
    Source: Beguería, Santiago; Vicente Serrano, Sergio M.; Reig-Gracia, Fergus; Latorre Garcés, Borja; 2023; SPEIbase v.2.8 Filename: data/SPEI/spei12month_1901_2021.nc
    Access policy
    Publicly available and included in the reproducibility package.
    Data URL
    https://doi.org/10.20350/digitalCSIC/15121
    Housing and population censuses data
    Name
    Housing and population censuses data
    Note
    Source: Africapolis Located at: data/Africapolis_2020/africapolis2020.gpkg
    Access policy
    Publicly available and included in the reproducibility package.
    Data URL
    https://africapolis.org/en/data
    World Settlement Footprint data
    Name
    World Settlement Footprint data
    Note
    Source: Development Data Hub Located at: data/WSF_EVO
    Access policy
    Publicly available and included in the reproducibility package.
    Data URL
    https://datacatalog.worldbank.org/search/dataset/0060310/satellite%20monitoring%20service%20of%20urbanization%20in%20africa%20%28world%20settlement%20footprint%29?version=2
    Global Human Settlement (GHS) Population Grid data
    Name
    Global Human Settlement (GHS) Population Grid data
    Note
    Source: Human Settlement Emergency Copernicus Located at: data\GHS_POP
    Access policy
    Publicly available and included in the reproducibility package.
    Data URL
    https://human-settlement.emergency.copernicus.eu/download.php
    Global Human Settlement (GHS) Model Grid data
    Name
    Global Human Settlement (GHS) Model Grid data
    Note
    Source: Human Settlement Emergency Copernicus Located at: data\GHS_SMOD
    Access policy
    Publicly available and included in the reproducibility package.
    Data URL
    https://human-settlement.emergency.copernicus.eu/download.php?ds=smod
    Global Human Settlement (GHS) built-up surface data
    Name
    Global Human Settlement (GHS) built-up surface data
    Note
    Source: Human Settlement Emergency Copernicus Located at: \data\GHS_BUILT_S
    Access policy
    Publicly available and included in the reproducibility package.
    Agriculture value added data
    Name
    Agriculture value added data
    Note
    Source: World Development Indicators Located at: /data/WDI_agriculture_share_gdp/WDI_agriculture_share_gdp.xlsx
    Access policy
    Publicly available and included in the reproducibility package.
    Data URL
    https://databank.worldbank.org/source/world-development-indicators
    GDP per Capita data
    Name
    GDP per Capita data
    Note
    Source: World Development Indicators Located at: /data/WDI_GDP_per_capita/
    Access policy
    Publicly available and included in the reproducibility package.
    Data URL
    https://databank.worldbank.org/source/world-development-indicators
    Rainfall data
    Name
    Rainfall data
    Note
    Source: University of East Anglia Climatic Research Unit (CRU) Located at: /data/CRU_rainfall/cru-x0.5_timeseries_pr_timeseries_annual_1901-2022_mean_historical_cru_ts4.07_mean.xlsx
    Access policy
    Publicly available and included in the reproducibility package.
    Data URL
    https://crudata.uea.ac.uk/cru/data/hrg/cru_ts_4.08/
    Data statement

    All data sources are publicly available and included in the reproducibility package.

    Description

    Output
    Dry Spells, Urban Swells: Analyzing the Drought-Induced Expansion of Cities in Sub-Saharan Africa
    Type
    Working Paper
    Title
    Dry Spells, Urban Swells: Analyzing the Drought-Induced Expansion of Cities in Sub-Saharan Africa
    Description
    Policy Research Working Paper (PRWP)
    Authors
    Author Affiliation Email
    Rafael Van der Borght World Bank rvanderborght@worldbank.org
    Oscar A. Ishizawa World Bank oishizawa@worldbank.org
    Jean Thuret jeanthuret34@gmail.com
    Joaquin Muñoz World Bank jmunozdiaz@worldbank.org
    Date of production

    2025-02

    Scope and coverage

    Geographic locations
    Location Code
    Sub-Saharan Africa SSA
    Keywords
    Drought City extent Climate risk Earth Observations Africa
    Topics
    ID Topic Parent topic ID Vocabulary Vocabulary URI
    Q54 Climate • Natural Disasters and Their Management • Global Warming Q5 JEL Classifications
    O18 Urban, Rural, Regional, and Transportation Analysis • Housing • Infrastructure O1 JEL Classifications
    O13 Agriculture • Natural Resources • Energy • Environment • Other Primary Products O1 JEL Classifications
    R11 Regional Economic Activity: Growth, Development, Environmental Issues, and Changes R1 JEL Classifications

    Disclaimer

    Disclaimer

    The materials in the reproducibility packages are distributed as they were prepared by the staff of the International Bank for Reconstruction and Development/The World Bank. The findings, interpretations, and conclusions expressed in this event do not necessarily reflect the views of the World Bank, the Executive Directors of the World Bank, or the governments they represent. The World Bank does not guarantee the accuracy of the materials included in the reproducibility package.

    Access and rights

    License
    Name URI
    Modified BSD3 https://opensource.org/license/bsd-3-clause/

    Contacts

    Contacts
    Name Affiliation Email
    Joaquin Munoz Diaz World Bank jmunozdiaz@worldbank.org
    Reproducibility WBG World Bank reproducibility@worldbank.org

    Information on metadata

    Producers
    Name Abbreviation Affiliation Role
    Reproducibility WBG DIME World Bank - Development Impact Department Verification and preparation of metadata
    Date of Production

    2025-02-06

    Document version

    1

    Citation

    Citation
    loading, please wait...
    Citation format
    Export citation: RIS | BibTeX | Plain text
    Back to Catalog
    The World Bank Working for a World Free of Poverty
    • IBRD IDA IFC MIGA ICSID

    © The World Bank Group, All Rights Reserved.