----------------------------------------------------------------------------------
Author: Judith C. Koops
Affiliation: Radboud University, The Netherlands
Date: 16 September 2023
----------------------------------------------------------------------------------
This package provides all information needed to calculate contraceptive prevalence
and unmet need for family planning in the Republic of Moldova using the Generations
and Gender Survey II. More detailed information can be found in the online
supplementary material published along with the Research Material titled:
"Calculating contraceptive prevalence and unmet need for family planning in
low-fertility countries with the Generations and Gender"
----------------------------------------------------------------------------------
DATA
----------------------------------------------------------------------------------
Dataset: Moldovan GGS-II wave 1 data version 0.2 (GGP2020_WAVE1_MLD_V_0_2.csv)
Accessible via: https://www.ggp-i.org/
Under the condition of:
- using the data for research purposes
- affiliation to a recognized research institute
- signing of the GGP user agreement
More detailed information about the steps to take to request the data can be found
on page 1 of the Online Supplementary Material.
----------------------------------------------------------------------------------
SAMPLE
----------------------------------------------------------------------------------
The calculations are based on 2,963 Moldovan women aged 15-49.
----------------------------------------------------------------------------------
BASIC META INFORMATION
----------------------------------------------------------------------------------
The document "BasicMetaInformation.txt" provides an overview of all variables used
for the calculations. The overview includes the original question and answer
options posed to respondents (translated to English).
----------------------------------------------------------------------------------
COMPUTER CODE
----------------------------------------------------------------------------------
All calculations are made with version 4.0.2. The following R packages are used
dplyr; tidyr; knitr; formatR; glue; arsenal; tibble; survey; gt
Tables 2-8 and Tables 10-17 of the Online Supplementary Material can be replicated
by running the following code in R:
- "R code to reproduce calculations supplementary materials.R"
In addition, the replication package includes the following codes:
- "SupplementaryMaterialApproach1.R"
- "SupplementaryMaterialApproach2.R"
- "SupplementaryMaterialApproach3.R"
- "SupplementaryMaterialApproach4.R"
- "SupplementaryMaterialApproach5.R"
These codes produce Tables 4-8 of the Online Supplementary Material. However,
running these codes is imbedded in document
"R code to reproduce calculations supplementary materials.R" (lines 1027, 1048, 1079,
1122, and 1155). Therefore running the code
"R code to reproduce calculations supplementary materials.R" is enough to produce
all Tables.