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

Reproducibility package for Designing Air Quality Measurement Systems in Data-Scarce Settings

2024
Get Reproducibility Package
Reference ID
RR_SEN_2024_193
DOI
https://doi.org/10.60572/mkc4-vj43
Author(s)
Bridget Hoffmann, Sveta Milusheva
Collections
World Bank Policy Research Working Papers
Metadata
JSON
Created on
Nov 01, 2024
Last modified
Nov 01, 2024
  • Project Description
  • Downloads
  • Overview
  • Reproducibility Package
  • Description
  • Scope and coverage
  • Disclaimer
  • Access and rights
  • Contacts
  • Information on metadata
  • Citation
  • Overview

    Abstract

    While populations in low- and middle-income countries are exposed to some of the highest levels of air pollution and its consequences, the majority of economics research on the topic is focused on high-income settings where there is greater data availability. We compare and evaluate the three principal sources of air pollution data (regulatory-grade monitors, satellite, and low-cost monitors) in a sub-Saharan Africa context in terms of accuracy of PM2.5 measurement across different spatial and temporal frequencies and their performance when studying policy externalities. Satellite data is closely aligned with data from the regulatory-grade monitors at lower temporal frequencies. The low-cost monitors underestimate PM2.5 relative to the other data sources. Calibration, especially context-specific calibration, of the low-cost monitors’ data improves its alignment with other data sources. We use each data source to evaluate the air pollution externality of mobility-reduction policies using a difference-in-differences design and find similar results, especially in terms of percent reduction. We consider policymakers’ constraints to air pollution monitoring in low-income settings and demonstrate that co-locating one regulatory-grade monitor in a network of low-cost monitors can capture the spatial variation of pollution across an urban area and achieve better accuracy than either of these data sources alone. This provides a framework for policymakers to generate the data needed to evaluate environmental policies and externalities.

    Reproducibility Package

    Scripts
    Readme Get Reproducibility Package
    Link: https://reproducibility.worldbank.org/index.php/catalog/204/download/579/README.pdf
    Reproducibility package (code and partial data) for Designing Air Quality Measurement Systems in Data-Scarce Settings
    Title
    Reproducibility package (code and partial data) for Designing Air Quality Measurement Systems in Data-Scarce Settings
    Date
    2024-10
    Dependencies
    All Python dependencies are listed in the file "Code/Python/environment.yml". All Stata dependency files are stored in the folder "Code/Stata/ado".
    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
    Python
    Name
    Python
    Version
    3.12.4
    Stata
    Name
    Stata
    Version
    18.0
    QGIS
    Name
    QGIS
    Version
    3.38.1

    Reproducibility

    Technology environment

    Paper exhibits were reproduced on a computer with the following specifications:
    – OS: Windows 11 Enterprise, version 23H2
    – Processor: 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz 1.50 GHz
    – Memory available: 15.7 GB
    – Software version: Stata 18.0 MP, Python 3.12.4, QGIS 3.38.1

    Technology requirements

    Runtime: 1 hour.

    Reproduction instructions

    Users need to gain access to the datasets MERRA-2, Senegal Air Quality, Purple Air Monitors Dakar, and Weather Data for Dakar; reproduce the Python environment; run the notebook "master.ipynb"'; and change the global path in line 26 of the main do-file and run it to reproduce the results.

    Data

    Datasets
    Modern-Era Retrospective analysis for Research and Applications, Version 2 (MERRA-2)
    Name
    Modern-Era Retrospective analysis for Research and Applications, Version 2 (MERRA-2)
    Note
    Source: Google Earth Engine. Located at: Data/Raw/Satellite. The files were generated by running Code/JavaScript/load_merra2_data.js on Google Earth Engine. See README for details. Data was accessed in May 2024.
    Access policy
    Restricted and not included in the reproducibility package.
    License
    Custom license
    License URL
    https://www.google.com/intl/en_US/help/terms_maps/
    Data URL
    https://code.earthengine.google.com/
    Senegal Air Quality Data
    Name
    Senegal Air Quality Data
    Note
    Source: Center for the Control of Air Quality of Senegal (CGQA). Located at: Data/Raw/cgqa_hourly.csv, Data/Raw/cgqa_daily.csv. The data covers a period from January 2012 to March 2024. Data was provided privately by the data source and it is not publicly available. Data was accessed in March 2024. The data source can be contacted at this email: contact@denv.gouv.sn or with the contact information from this website: https://www.denv.gouv.sn/contact-us/
    Access policy
    Restricted and not included in the reproducibility package.
    License
    Restricted and not included in the reproducibility package.
    Senegal - Subnational Administrative Boundaries
    Name
    Senegal - Subnational Administrative Boundaries
    Note
    Source: The Humanitarian Data Exchange. Located at: Data/Raw/Senegal_ADM3_SHP/ and Data/Final/Dakar_SHP/. Includes administrative levels 0-3 boundaries of Senegal. Data was accessed in August 2024.
    Access policy
    Included in the reproducibility package
    License
    Creative Commons Attribution 4.0 International license
    License URL
    https://data.humdata.org/dataset/cod-ab-sen
    Data URL
    https://data.humdata.org/dataset/cod-ab-sen
    Purple Air Monitors Dakar
    Name
    Purple Air Monitors Dakar
    Note
    Source: authors' data collection. See README for files location. Data was accessed in June 2024.
    Access policy
    The data is not included in the reproducibility package. It is forthcoming in the World Bank Development Data Hub.
    Weather Data for Dakar
    Name
    Weather Data for Dakar
    Note
    Source: Visual Crossing Weather Data. Located at: Data/Raw/weather_visualcrossing.csv. Data was collected from the data URL for Dakar for the years 2000-2024, hourly. Data was accessed in August 2024.
    Access policy
    Restricted and not included in the reproducibility package.
    License
    Custom license
    License URL
    https://www.visualcrossing.com/weather-services-terms
    Data URL
    https://www.visualcrossing.com/weather/weather-data-services/dakar,%20senegal?v=api
    Data statement

    Some data is restricted and has not been included in the reproducibility package.

    Description

    Output
    Designing Air Quality Measurement Systems in Data-Scarce Settings
    Type
    Working paper
    Title
    Designing Air Quality Measurement Systems in Data-Scarce Settings
    Description
    Policy Research Working Paper (PRWP)
    Authors
    Author Affiliation Email
    Bridget Hoffmann Inter-American Development Bank bridgeth@iadb.org
    Sveta Milusheva World Bank smilusheva@worldbank.org
    Date of production

    2024-09

    Scope and coverage

    Geographic locations
    Location Code
    Senegal SEN

    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
    Niall Oliver Maher World Bank nmaher@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-25

    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.