Reproducible Research Repository
Reproducible Research Repository
  • Home
  • Repository
  • Collections
  • About
    Home / Repository / FR / FR_WLD_2024_175
fr

Reproducibility package for Climate Risk Scorecard Vision Indicator 2021

2024
Get Reproducibility Package
Reference ID
FR_WLD_2024_175
DOI
https://doi.org/10.60572/9j17-9n52
Author(s)
Minh Cong Nguyen, Ben James Brunckhorst, Esther G. Naikal, Nisan Gorgulu, Ruth Vargas Hill, Stephane Hallegatte
Collections
Flagships and Reports
Metadata
JSON
Created on
Sep 12, 2024
Last modified
Sep 13, 2024
  • Project Description
  • Downloads
  • Get Microdata
  • Overview
  • Reproducibility Package
  • Description
  • Scope and coverage
  • Disclaimer
  • Access and rights
  • Contacts
  • Information on metadata
  • Citation
  • Overview

    Abstract

    The World Bank Group introduced a Scorecard Vision Indicator in 2024 to track progress on climate adaptation: the percentage of global population at high risk from climate-related hazards. The indicator is estimated by combining geospatial and household survey data. People at high risk from climate-related hazards are defined as those exposed to any hazard and vulnerable on any dimension, based on specific thresholds. Exposure to four climate related hazards is considered: agricultural drought, flood, heatwave, and tropical cyclone. Household level vulnerability is assessed on seven dimensions: income, education, financial inclusion, access to social protection, access to electricity, access to improved drinking water, and access to services and markets. The global indicator is calculated for 2021 based on a sample of 103 countries with complete data.

    Reproducibility Package

    Scripts
    Readme Get Reproducibility Package
    Link: https://reproducibility.worldbank.org/index.php/catalog/186/download/530/README.pdf
    Reproducibility package (partial data and code) for Climate Risk Scorecard Vision Indicator 2021
    Title
    Reproducibility package (partial data and code) for Climate Risk Scorecard Vision Indicator 2021
    Date
    2024-09
    Dependencies
    All dependencies are stored in the ado folder, except for datalib web, which can only be run from WB computers.
    Notes
    Computational reproducibility verified by Development Impact (DIME) Analytics team, World Bank.
    Source code repository
    Repository name URI
    Reproducible Research Repository (World Bank) https://reproducibility.worldbank.org
    Software
    Stata
    Name
    Stata
    Version
    18 MP
    R
    Name
    R
    Version
    4.3.2

    Reproducibility

    Technology environment

    Paper exhibits were reproduced on a computer with the following specifications:
    • OS: Windows 10 Enterprise
    • Processor: Intel(R) Xeon(R) Gold 6226R CPU @ 2.90GHz, 2900 Mhz, 16 Core(s), 16 Logical Processor(s)
    • Memory available: 147 GB
    • Software version: Stata 18 MP, R 4.3.2

    Technology requirements

    ~48 hours runtime

    Reproduction instructions

    Due to the high computational requirements, the replicators did not process the spatial data themselves. Instead, the authors provided intermediate datasets to simplify replication. These are included in the package under 03.intermediate/RAI and 03.intermediate/Hazard and are used by the R code to produce the necessary inputs for the Stata portion of the code.

    1. Missing Datasets
      Some datasets required to run this package are not included. As a replicator, your first task is to obtain these missing files. Detailed instructions for accessing each file are provided in the README file.

    2. Run the R Code First

      • The R portion of the code processes the spatial data. The only dataset you need to download separately to run the R code from the intermediate data is the Global Human Settlement Population Grid (R2023). Instructions for downloading this dataset are in the README file and the specific data entry.
      • If you prefer, you can choose to download and process all spatial data from scratch. However, this requires over 1TB and 14 days of processing and includes a dataset that is not publicly available (you can request access from the replicators). For this reason, intermediate data spatial data is provided by the authors to make the replication more feasible.
    3. Prepare the Data
      After downloading the required datasets, place them in the designated folders as outlined in the README file.

    4. Run the R Script
      Run the R script 00_MASTER to process the first portion of the data.

    5. Move to the Stata Code

      • The Stata portion of the code relies on some datasets not included in the package. The publicly available but not included datasets are Findex and LISSY. Follow the instructions in the README file and place these datasets in the appropriate folders.
      • Additionally, GMD data is required and can only be accessed by World Bank users via Datalibweb. External replicators will not have access to these files. If you're a World Bank user, ensure you have access to all the GMD surveys.
    6. Run the Stata Code
      Run the Stata MASTER file. The code will pause at a certain point because specific steps need to be run on the LISSY platform.

    7. Steps on the LISSY Platform
      On the LISSY platform, run the following scripts:

      • 2-1a Estimate national vulnerability rate for LISSY data
      • 2-1b Estimate vulnerability rate for LISSY data
    8. Complete the Stata Code
      Once the LISSY steps are completed, continue running the MASTER.do file to complete the process.

    9. Final Output

    • Given the complexity and restricted access to some data, even with the intermediate provided for the R portion, external replicators may not be able to reproduce the full process. However, the final Climate Risk Scorecard Vision Indicator output has been included in the package under 04.output/For CSC.
    • In addition, the Get Microdata tab also allows you to download the indicator, which includes information for 103 countries. This enables users to review the results produced by the replicators' code.

    Data

    Datasets
    Fathom Global Flood Hazard
    Name
    Fathom Global Flood Hazard
    Note
    Source: Sampson et al. (2015). Date Accessed: November 2023. Location: 02.input/flood_fathom/. This data is provided for World Bank staff only. Per the license terms, the data may not be made publicly available. Third parties should check the FATHOM website (www.fathom.global) or contact info@fathom.global.
    Access policy
    Restricted and not included in the package
    License
    Official Use Only
    License URL
    https://datacatalog.worldbank.org/int/search/dataset/0021728/global-flood-hazard--fathom-
    Data URL
    https://datacatalog.worldbank.org/int/search/dataset/0021728/Global-Flood-Hazard--FATHOM-
    Deltares Global Flood Map
    Name
    Deltares Global Flood Map
    Note
    Source: Deltares (2021). Date Accessed: November 2023. Location: 02.input/flood_deltares/. The data is publicly available and can be downloaded from the provided links below. For detailed instructions please see the README file.
    Access policy
    Public, but due to its large size and processing requirements, the dataset is not included in the replication package, but intermediate data is provided.
    License
    Community Data License Agreement - Permissive, Version 1.0
    License URL
    https://cdla.dev/permissive-1-0/
    Data URL
    https://deltaresfloodssa.blob.core.windows.net/floods/v2021.06/global/MERITDEM/90m/GFM_global_MERITDEM90m_2018slr_rp0005_masked.nc https://deltaresfloodssa.blob.core.windows.net/floods/v2021.06/global/MERITDEM/90m/GFM_global_MERITDEM90m_2018slr_rp0010_masked.nc https://deltaresfloodssa.blob.core.windows.net/floods/v2021.06/global/MERITDEM/90m/GFM_global_MERITDEM90m_2018slr_rp0025_masked.nc https://deltaresfloodssa.blob.core.windows.net/floods/v2021.06/global/MERITDEM/90m/GFM_global_MERITDEM90m_2018slr_rp0050_masked.nc https://deltaresfloodssa.blob.core.windows.net/floods/v2021.06/global/MERITDEM/90m/GFM_global_MERITDEM90m_2018slr_rp0100_masked.nc
    FAO Historic Drought Frequency
    Name
    FAO Historic Drought Frequency
    Note
    Source: FAO (2023). Date Accessed: August 2023. Location: 02.input/drought_fao/. The cropland and pasture Historic Drought Frequency data for season 1 and season 2, covering the period from 1984 to 2022, were obtained from the FAO Agricultural Stress Index System. These data, including thresholds for >30% and >50% land affected, were downloaded via Google Earth Engine after requesting access by following the instructions provided in the following link.
    Access policy
    Public, but due to its large size and processing requirements, the dataset is not included in the replication package, but intermediate data is provided.
    License
    Creative Commons Attribution-NonCommercial-ShareAlike 4.0
    License URL
    https://creativecommons.org/licenses/by-nc-sa/4.0/
    Data URL
    https://www.fao.org/giews/earthobservation/access.jsp?lang=en
    CCKP Environmental Stress Index (ESI) max 5-day heatwave
    Name
    CCKP Environmental Stress Index (ESI) max 5-day heatwave
    Note
    Source: World Bank, Climate Change Knowledge Platform (2024). Date Accessed: April 2024. Location: 02.input/heatwave_cckp/. The "CCKP ESI max 5-day heatwave" data was obtained from the World Bank Climate Change Knowledge Portal (CCKP) team, who produced the dataset specifically for this project. These ESI data files will be provided by the project team on request and are not available from the CCKP platform, but intermediate data necessary to run the package is provided.
    Access policy
    The dataset is not publicly available and is therefore not included in the replication package. Intermediate data necessary to run the package is provided.
    STORM Tropical Cyclone Wind Speed Return Periods
    Name
    STORM Tropical Cyclone Wind Speed Return Periods
    Note
    Source: Russell (2024); Bloemendaal et al. (2023). Date Accessed: April 2024. Location: 02.input/cyclone_storm/. The "STORM tropical cyclone wind speed return periods" data was obtained from Zenodo (Version v2) in the following link.
    Access policy
    Public, but due to its processing requirements, the dataset is not included in the replication package. Intermediate data required to run the package is provided.
    License
    CC0 1.0 Universal
    License URL
    https://creativecommons.org/publicdomain/zero/1.0/
    Data URL
    https://doi.org/10.5281/zenodo.10931452
    Global Human Settlement population grid (R2023)
    Name
    Global Human Settlement population grid (R2023)
    Note
    Source: European Commission. Date Accessed: August 2023. Location: 02.input/population_ghsl. Data can be downloaded at the following link. The “2020” epoch global data file with “3 arcsec” resolution (“WGS84” coordinate system) is required. The required files should be saved here: 02.input/population_ghsl, with the name GHS_POP_E2020_GLOBE_R2023A_4326_3ss_V1_0.tif in order to run the package from its intermediate data option.
    Access policy
    Public, but due to its size, the dataset is not included in the replication package.
    License
    Creative Commons Attribution 4.0 International (CC BY 4.0) licence
    License URL
    https://commission.europa.eu/legal-notice_en
    Data URL
    https://human-settlement.emergency.copernicus.eu/download.php?ds=pop
    Global Human Settlement Model grid (R2023)
    Name
    Global Human Settlement Model grid (R2023)
    Note
    Source: European Commission. Date Accessed: August 2023. Location: 02.input/population_ghsl. The "GHS-SMOD - R2023A" gridded degree of urbanization data for the "2020" epoch, with a 1 km resolution (Mollweide coordinate system), was obtained from the European Commission’s Joint Research Centre (JRC) Global Human Settlement Layer (GHSL). The data is available for download at the following link.
    Access policy
    Public, but due to its processing requirements, the dataset is not included in the replication package. Intermediate data required to run the package is provided.
    License
    Creative Commons Attribution 4.0 International (CC BY 4.0) licence
    License URL
    https://commission.europa.eu/legal-notice_en
    Data URL
    https://human-settlement.emergency.copernicus.eu/download.php?ds=smod
    World Bank AM24 VUL Boundaries
    Name
    World Bank AM24 VUL Boundaries
    Note
    Source: World Bank. Date Accessed: July 2024. Location: 02.input/boundaries/. Data were produced by the project team. The dataset is derived from administrative boundary data sources including Global Administrative Unit Layers (GAUL) 2015, Nomenclature of Territorial Units for Statistics (NUTS), GADM, United Nations Common Operational Datasets, and National Statistical Offices (NSOs).
    Access policy
    Published with the package
    License
    Creative Commons Attribution 4.0 International License
    License URL
    https://creativecommons.org/licenses/by/4.0/
    Rural Access Index (RAI)
    Name
    Rural Access Index (RAI)
    Note
    Source: UN Sustainable Development Solutions Network (SDSN). Date Accessed: June 2024. Location raw: 02.input/rai_sdsn/911RAI_InaccessibilityIndex2023.tif. Location intermediate provided: 03.intermediate/RAI/GHS-POP2020_SDSN-RAI_3arcsec.tif. Data is obtained from the UN Sustainable Development Solutions Network (SDSN). The dataset is produced as part of tracking SDG Indicator 9.1.1 Rural Access Index by the UN SDSN and provided directly to the project team. The data can be accessed through Google Earth Engine using the code and instructions at the following link.
    Access policy
    Public, but due to its processing requirements, the dataset is not included in the replication package. Intermediate data required to run the package is provided.
    License
    Creative Commons Attribution 4.0 International (CC BY 4.0) licence
    License URL
    https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode
    Data URL
    https://gee-community-catalog.org/projects/rai/
    Joint Monitoring Programme for Water Supply, Sanitation and Hygiene (JMP)
    Name
    Joint Monitoring Programme for Water Supply, Sanitation and Hygiene (JMP)
    Note
    Source: WHO/UNICEF Joint Monitoring Programme for Water Supply, Sanitation and Hygiene (JMP). Date Accessed: April 2024. Location: 02.input/jmp/data/. The JMP dataset provides information on access to drinking water. The data was obtained from the JMP website and downloaded using R scripts included in the replication package.
    Access policy
    Published with the package
    License
    Creative Commons Attribution 4.0 International License (CC BY 4.0)
    License URL
    https://creativecommons.org/licenses/by/4.0/
    Data URL
    https://washdata.org/data/downloads#WLD
    Global Electricity Database
    Name
    Global Electricity Database
    Note
    Source: IEA, IRENA, UNSD, World Bank, WHO (2023). Date Accessed: March 2024. Location: 02.input/GED/sdg7.1.1-access_to_electricity.xlsx. This dataset contains data on global electricity access, derived from the 2023 Tracking SDG 7: The Energy Progress Report. The data is publicly available and was downloaded from the official SDG7 platform, available below. Follow the link below>datasets>SDG 7.1.1 Electrification Dataset.
    Access policy
    Published with the package
    License
    Creative Commons Attribution 4.0 International License (CC BY 4.0)
    License URL
    https://creativecommons.org/licenses/by/4.0/
    Data URL
    https://trackingsdg7.esmap.org/downloads
    Education Completion Data
    Name
    Education Completion Data
    Note
    Source: UNESCO Institute for Statistics (UIS) (2024). Date Accessed: April 2024. Location: 02.input/UNESCO_Education_CompletedPrimaryorHigher.xlsx. The dataset provides global education statistics and was obtained from the UIS.Stat Bulk Data Download Service. It includes indicators related to education completion rates.
    Access policy
    Published with the package
    License
    Attribution-Sharealike 3.0 Intergovernmental Organization (CC BY-SA 3.0 IGO)
    License URL
    https://creativecommons.org/licenses/by-sa/3.0/igo/
    Data URL
    https://apiportal.uis.unesco.org/bdds
    Global Financial Inclusion (Global Findex) Database 2021
    Name
    Global Financial Inclusion (Global Findex) Database 2021
    Note
    Source: World Bank. Date Accessed: March 2024. Location: 02.input/Findex/. The dataset provides insights into global financial inclusion based on the 2021 Findex survey. The data was obtained from the World Bank Microdata Library and is publicly available for registered users. Interested replicators must follow the link below, log in, download the database, rename it as WLD_2021_FINDEX_v03_M.dta, and add it to the 02.input/Findex/ folder.
    Access policy
    Public but does not allow republication. Publicly accessible through the World Bank's Microdata Library.
    License
    Public Use Files
    License URL
    https://microdata.worldbank.org/index.php/terms-of-use
    Data URL
    https://microdata.worldbank.org/index.php/catalog/4607
    World Development Indicators (WDI)
    Name
    World Development Indicators (WDI)
    Note
    Source: World Bank. Date Accessed: March 2024. Location: 02.input/WDI_elec_water.dta. Data was obtained from the World Bank, available using the API through the Stata package wbopendata and R package wbstats. Data for the following variables are called from the code: EG.ELC.ACCS.ZS, SP.POP.TOTL. The code used to retrieve these indicators is included in the replication package. However, please note that updates to these indicators may occur, which could slightly affect the final coefficients.
    Access policy
    Data is public and the code to load it is included in the reproducibility package
    License
    Creative Commons Attribution 4.0 International License (CC BY 4.0)
    License URL
    https://creativecommons.org/licenses/by/4.0/
    Luxembourg Income Study Database (LIS)
    Name
    Luxembourg Income Study Database (LIS)
    Note
    Source: Luxembourg Income Study Database (LIS). Date Accessed: June 2024. Location: 03.intermediate/LISoutput/LIS nat 2021 listing_job_1245084.txt, LIS nat 2021 listing_job_1245381.txt, LIS subnat 2021 listing_job_1245388.txt. The data is available through the following link, but interested users need to request access to the LIS portal first. After getting access the do files required to access these data are included in the reproducibility package.
    Access policy
    Restricted and not included in the package
    License URL
    LIS Microdata User Agreement
    Data URL
    https://www.lisdatacenter.org/data-access/lissy/
    Poverty and Inequality Platform (PIP) Data
    Name
    Poverty and Inequality Platform (PIP) Data
    Note
    Source: World Bank Date accessed: August 2024 Location: 03.intermediate/PIPinput/PIP_2021_215, pip_2021_365, PIP_2021_685 (version: 20240627_2017_01_02_PROD). The data was obtained from the World Bank's Poverty and Inequality Platform (PIP) through the Stata package pip, which was used to access the PIP API. The documentation for the pip package can be found at the following link. The Stata do-file used to generate the datasets is titled "0-1 Get PIP nat lineup number". It is important to note that the data may change over time, but this version is included for reproducibility purposes.
    Access policy
    Data is public and the code to load it is included in the reproducibility package
    License
    Creative Commons Attribution 4.0 International License (CC BY 4.0)
    License URL
    https://creativecommons.org/licenses/by/4.0/
    Data URL
    https://worldbank.github.io/pip/
    OECD Members
    Name
    OECD Members
    Note
    Source: OECD. Location: 02.input/oecd_list.xlsx, oecd_list.dta
    Access policy
    Published with the package
    Data URL
    https://www.oecd.org/en/about/members-partners.html
    SPID boundaries
    Name
    SPID boundaries
    Note
    Source: Authors’ own elaboration Location: 02.input/SPID boundaries.xlsx. The SPID boundaries data was generated by the authors using input datasets. This intermediate data was developed as part of the research process and is included in the reproducibility package to facilitate the replication of results. The data includes modified and missing boundaries and relevant administrative codes.
    Access policy
    Published with the package
    Subnational list
    Name
    Subnational list
    Note
    Source: Authors’ own elaboration. Location: 02.input/Subnational list - 0.xlsx. The data includes information on region codes, country lists, and subnational identifiers for various countries and years.
    Access policy
    Published with the package
    World Bank Classification Data
    Name
    World Bank Classification Data
    Note
    Source: Authors’ own elaboration using World Bank classification data. Location: 02.input/CLASS.dta
    Access policy
    Published with the package
    Data URL
    https://datahelpdesk.worldbank.org/knowledgebase/articles/906519-world-bank-country-and-lending-groups
    ASPIRE Database
    Name
    ASPIRE Database
    Note
    Source: World Bank. Location: 02.input/ASPIRE/ASPIRE_data_touse.xlsx, BSC_ASP_ASPIRE_152countries.xlsx.
    Access policy
    Published with the package
    License
    Creative Commons Attribution 4.0 International License (CC BY 4.0)
    License URL
    https://www.worldbank.org/en/about/legal/terms-of-use-for-datasets
    Data URL
    https://www.worldbank.org/en/data/datatopics/aspire/documentation
    Global Monitoring Database (GMD)
    Name
    Global Monitoring Database (GMD)
    Note
    Source: World Bank Date Accessed: August 2024 Location: 02.input/repo_AM24all.dta, 02.input/Final_CPI_PPP_to_be_used.dta, Survey_price_framework.dta, 03.intermediate/Sim/2021/. The Global Monitoring Database (GMD) contains micro-level survey data, with access restricted to World Bank staff using Bank-managed computers. External access is not available. While most surveys in the GMD are accessible internally, some require special access requests. The code necessary to access these data is included in the reproducibility package, with instructions in the README file for the first three data sources. Codes 1.2 and 2.3 are used to generate the files located at 03.intermediate/Sim/2021. For more details, please refer to the README file.
    Access policy
    Restricted and not included in the package
    Data statement

    Some data is restricted and has not been included in the reproducibility package. For more details, please refer to the README file.

    Description

    Output
    Climate Risk Scorecard Vision Indicator 2021 dataset
    Type
    Dataset
    Title
    Climate Risk Scorecard Vision Indicator 2021 dataset
    Authors
    Minh Cong Nguyen; Ben James Brunckhorst; Esther G. Naikal; Nisan Gorgulu; Ruth Vargas Hill; Stephane Hallegatte
    Authors
    Author Affiliation Email
    Minh Cong Nguyen World Bank mnguyen3@worldbank.org
    Ben James Brunckhorst World Bank bbrunckhorst@worldbank.org
    Esther G. Naikal World Bank elee@worldbank.org
    Nisan Gorgulu World Bank ngorgulu@worldbank.org
    Ruth Vargas Hill World Bank rhill@worldbank.org
    Stephane Hallegatte World Bank shallegatte@worldbank.org
    Date of production

    2024-09

    Scope and coverage

    Geographic locations
    Location Code
    World WLD

    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
    Minh Cong Nguyen World Bank mnguyen3@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

    2024-09-03

    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.