1 Download the MICS Data
This chapter shows how to download official MICS microdata from UNICEF
and unpack it into a clean folder tree. MICS datasets are released as
SPSS (.sav) files. They already carry variable and value labels,
so you can open them directly in R or Stata without separate label codebooks or
scripts, or a format conversion.
1.1 Download from UNICEF
Official MICS microdata are published on the UNICEF MICS surveys page.
- Open https://mics.unicef.org/surveys.
- Log in if the site asks you to (dataset downloads often require an account).
- Set the filters to match the surveys you want, for example, round (MICS6), region or countries, data type (MICS), and status (Completed).
- Click Download MICS datasets. The site packages every survey that
matches your filters into one bulk zip (often named
MICS_Datasets.zip).
Save the zip somewhere easy to find, such as your Downloads folder.
1.2 Messy nested survey archives
UNICEF’s bulk zip packs each survey in its own folder, and each folder usually holds another zip of SPSS files. Unpacking that by hand across many countries wastes time and invites path errors.
What you want instead is a flat tree: one folder per survey, with the
.sav files and readme sitting directly inside it.
data/MICS_Datasets/
├── BEN_2021_MICS6_v01_M/
│ ├── bh.sav
│ ├── ch.sav
│ ├── fs.sav # children aged 5–17 (foundation skills / FS module)
│ ├── hh.sav
│ ├── hl.sav
│ ├── mn.sav
│ ├── tn.sav
│ ├── wm.sav
│ └── Readme_....rtf # or "Read me_....txt" — name varies by survey
├── GHA_2017_MICS6_v01_M/
│ └── ...
└── ...
Each country-year folder keeps all SPSS modules from that release, plus the readme. The prepare script below produces this layout from whatever surveys sit inside your bulk zip.
1.3 Prepare the folders with prepare-mics-fs.R
AFLEARN’s
prepare-mics-fs.R
turns UNICEF’s messy nested survey archives into that clean folder tree.
The script finds MICS_Datasets.zip in your working directory, project,
or Downloads; extracts the .sav files and readmes; strips nested
archives and wrapper folders; and writes data/MICS_Datasets/{SURVEY}/.
It needs only base R, and it runs beside the zip in any folder—Downloads,
Desktop, a USB drive, or a project directory.
Download the script, copy it next to MICS_Datasets.zip, set that folder
as the working directory in R, and run:
The script writes path-ready survey files to data/MICS_Datasets/ under
that folder. The original bulk zip is kept by default. To delete it
after a successful run:
If the zip lives elsewhere, source the script once to load the functions, then call:
1.4 Quality checks
Before you analyse, check that:
data/MICS_Datasets/exists under the folder you used as the output root (for this guide, the project folder).- At least one survey folder is present (for example
data/MICS_Datasets/BEN_2021_MICS6_v01_M/). - That folder contains
.savfiles (includingfs.savwhen the survey fielded the children 5–17 module) and usually a readme. - You can open a
.savfile in R (haven::read_sav()) or Stata (import spss).
1.5 Next steps
Once data/MICS_Datasets/ is in place—and especially once the supported
surveys have fs.sav (and hl.sav for parent education)—continue with
Harmonising MICS6 reading outcomes and
Harmonising MICS6 FS background themes. For survey design
and file structure, see Understanding MICS Data.