Geospatial analysis of the effects of development projects on institutional legitimacy in Africa (Afrobarometer & World Bank Project Data)
# Geospatial Analysis of development projects in R
Geospatial analysis of the effects of development projects on institutional legitimacy in Africa (Afrobarometer & World Bank Project Data)
This repository contains R scripts used for the data analysis. It includes:
- Data preprocessing
- Statistical analysis (e.g., regressions, hypothesis testing)
- Data visualization
- Robustness checks
## How to Use
1. Request the dataset from the Afrobarometer website.
2. Clone the repository.
3. Install the required R packages: `foreign`, `readr`, `readxl`, `tidyverse`, `broom`, `stringr`, `dplyr`, `skimr`, `officer`, `flextable`, `sf`, `sjlabelled`, `ggplot2`, `fixest`, `texreg`, `rnaturalearth`, `rnaturalearthdata`, `countrycode`.
4. Insert the appropriate pathways for ‘…’ in lines 48, 74, 100, 127, 131, 135, 140, 142, 145, 677, and 679.
5. Run `geospatial-development-projects.Rmd` for the main results.
## Dataset
- This study utilised two main sources: Afrobarometer Survey Data from rounds 4-6
(2008-2015), which includes approximately 74,000 respondents from 37 African
countries, and AidData’s World Bank Geocoded Research Release (1995-2014),
providing geo-coded data on project periods (AidData, 2017; BenYishay, 2017). A
repeated cross-sectional dataset was created for this paper, focusing on 61,337
respondents from 28 African countries and 701 World Bank projects between 2008
and 2014.
- The geospatial data used in this analysis cannot be shared here due to privacy concerns; however, it is available upon request on the official Afrobarometer website.
## Highlights
- Modular, reusable code.
- Example of geospatial regression modeling and data visualization in R.
# Thematic project Description
Foreign Aid and Institutional Quality in Africa: Evidence from Afrobarometer and World Bank Project Data
A Geospatial Analysis of the Effects of World Bank Development Projects on Perceived Institutional Legitimacy.
Abstract
- This study analyses the impact of World Bank deve …