Logo Lanfrica

cran/ihsMW

Domaine:

socioeconomic

Type de record:

software
Créateur:
CRAN
Hôte:
:exclamation: This is a read-only mirror of the CRAN R package repository. ihsMW — Clean and Harmonise 'Malawi Integrated Household Survey' Data. Homepage: github.com, vituk123.github.io Report bugs for this package: github.com # ihsMW The `ihsMW` package provides a robust, offline suite of tools to clean, aggregate, and harmonise data from the Malawi Integrated Household Survey (IHS) series. It is designed for development economists and data scientists, replacing hundreds of lines of brittle, project-specific data wrangling scripts with a single, citable, and defensible pipeline. **Supported rounds:** IHS2 (2004/05), IHS3 (2010/11), IHS4 (2016/17), IHS5 (2019/20) and IHS6 (2024/25). *Note: Due to World Bank data access restrictions, raw microdata files cannot be distributed inside R packages. You must manually download the required `.dta` or `.csv` files from the World Bank Microdata Library.* ## 📖 Documentation The full **ihsMW User Guide** is a standalone manual covering installation, every exported function, complete end-to-end workflows, common mistakes, troubleshooting and FAQs. Read it whichever way suits you: | Format | Link | Best for | |---|---|---| | 🌐 **Read online** | ihsMW User Guide | Browsing, searching, copy-pasting code | | 📄 **Download PDF** | ihsMW-user-guide.pdf | Printing, offline reading, sharing with colleagues | | 📝 **Download source** | ihsMW-user-guide.Rmd | Re-running every example yourself, adapting it for teaching | Shorter topic guides: Getting started · Cross-round harmonisation · Survey weights · Function reference ## Installation ```r # Install from CRAN install.packages("ihsMW") # Or install the development version from GitHub # install.packages("pak") pak::pak("vituk123/ihsMW") ``` ## Quick start Here is a complete end-to-end example showing how to load, harmonise, clean, deflate, design, and report on IHS data: ```r library(ihsMW) library(haven) # 1. Load raw data files (downloaded manually from World Bank) raw_demog More benchmark figures Full methodology and limitations: `benchmarks/README.md`. ## Bundled reference data | File | Contents | |---|---| | `ihs_crosswalk.csv` | 6,482 harmonised variables mapped across IHS2–IHS6 …