Package: surveyPrev 2.0.0

Qianyu Dong

surveyPrev: Mapping the Prevalence of Binary Indicators using Survey Data in Small Areas

Provides a pipeline to perform small area estimation and prevalence mapping of binary indicators using health and demographic survey data, described in Dong et al. (2026) <doi:10.1093/jssam/smaf048>, Wakefield et al. (2025) <doi:10.48550/arXiv.2110.09576> and Wakefield et al. (2020) <doi:10.1111/insr.12400>.

Authors:Qianyu Dong [cre, aut], Zehang R Li [aut], Yunhan Wu [aut], Jieyi Xu [aut], Andrea Boskovic [aut], Jon Wakefield [aut]

surveyPrev_2.0.0.tar.gz
surveyPrev_2.0.0.zip(r-4.7-any)surveyPrev_2.0.0.zip(r-4.6-any)surveyPrev_2.0.0.zip(r-4.5-any)
surveyPrev_2.0.0.tgz(r-4.6-any)surveyPrev_2.0.0.tgz(r-4.5-any)
surveyPrev_2.0.0.tar.gz(r-4.7-any)surveyPrev_2.0.0.tar.gz(r-4.6-any)
surveyPrev_2.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
surveyPrev/json (API)

# Install 'surveyPrev' in R:
install.packages('surveyPrev', repos = c('https://richardli.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/richardli/surveyprev/issues

Datasets:

On CRAN:

Conda:

7.50 score 3 stars 1 packages 51 scripts 516 downloads 383 exports 136 dependencies

Last updated from:38544ce503. Checks:7 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64WARNING403
source / vignettesOK333
linux-release-x86_64WARNING386
macos-release-arm64WARNING249
macos-oldrel-arm64WARNING299
windows-develWARNING351
windows-releaseWARNING336
windows-oldrelWARNING330
wasm-releaseOK234

Exports:addNewIndicatoraddUpperadminInfoaggPopulationaggSurveyWeightAH_HINS_W_ANYAH_TOBC_W_OTHAH_TOBU_M_ASMAH_TOBU_M_SNNAH_TOBU_W_SNMAH_TOBU_W_SNNAN_ANEM_W_ANYAN_NUTS_W_OVWAN_NUTS_W_THNCH_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_DMKH_M_JNTWE_DMKH_M_WIFWE_DMKH_W_HUSWE_DMKH_W_JNTWE_DMKH_W_WIFWE_DMKP_M_HUSWE_DMKP_M_JNTWE_DMKP_M_WIFWE_DMKP_W_HUSWE_DMKP_W_JNTWE_DMKP_W_WIFWS_HNDW_H_BASWS_HNDW_H_OBSWS_SRCE_H_BASWS_SRCE_H_IMPWS_SRCE_H_LTDWS_SRCE_H_USGWS_SRCE_P_BASWS_TLET_H_BASWS_TLET_H_IMPWS_TLET_P_BASWS_TLET_P_IMPWS_WTRT_H_BLCWS_WTRT_H_BOLWS_WTRT_H_STNWS_WTRT_P_BLCWS_WTRT_P_BOLWS_WTRT_P_SOLWS_WTRT_P_STN

Dependencies:askpassbackportsbase64encbitbit64bootbriobslibcachemcheckmateclassclassIntclicliprcpp11crayoncurldata.tabledatawizardDBIdeldirdigestdotCall64dplyre1071evaluateexpssfarverfastmapfieldsfontawesomefontBitstreamVerafontLiberationfontquiverforcatsforeignfsgdtoolsgenericsgetPassggiraphggplot2ggridgesgluegridExtragtablehavenhighrhmshtmlTablehtmltoolshtmlwidgetshttrinsightiotoolsisobandjquerylibjsonliteKernSmoothknitrlabelinglabelledlatticelifecyclemaditrmagrittrmapsMASSMatrixmatrixStatsmemoisemimeminqamitoolsnaniarnormnumDerivopensslpillarpkgconfigplyrprettyunitsprogressproxypurrrqdapRegexR6rappdirsrasterRColorBrewerRcppRcppArmadillordhsreadrreshape2rlangrmarkdownrstudioapis2S7sassscalessfshadowtextsjlabelledspspamspDataspdepstorrstringistringrSUMMERsurveysurvivalsyssystemfontsterratibbletidyrtidyselecttinytextzdbunitsUpSetRutf8vctrsviridisviridisLitevisdatvroomwithrwkxfunxml2yaml

Prevalence mapping using DHS data
Prevalence mapping for DHS indicators using the surveyPrev package | 1 Overview | 2 Data Preparation | 2.1 Prerequisites | 2.2 Install surveyPrev | 2.3 Built-in indicators | 2.4 Customized indicators | 2.5 DHS survey data | 2.6 Spatial information | 3 Direct estimates | 3.1 National and Admin 1 direct estimates | 3.2 Admin 2 direct estimates | 4 Area-level Fay-Herriot model | 4.1 Admin 1 Fay-Herriot estimates | 4.2 Admin 2 Fay-Herriot estimates | 5 Cluster-level model | 5.1 Unstratified model | 5.2 Stratified model | 6 Visualizing prevalence estimates | 7 Aggregation to higher admin levels | 7.1 Computing population size from WorldPop raster | 7.2 Estimating population size by survey weight | 7.3 Aggregating direct estimates | 7.4 Aggregating area-level Fay-Herriot estimates | 7.5 Aggregating cluster-level model | Acknowledgement | References

Last update: 2024-03-20
Started: 2024-03-20

Create customized indicators
Creating Customized Indicators for surveyPrev | 1 Built-in indicators | 2 New indicators | 2.1 DHS dataset types | 2.2 Option 1: Specifying data processing rules | 2.3 Option 2: Specifying function to process the indicator | 3 Multiple dataset

Last update: 2024-03-20
Started: 2024-03-05

Readme and manuals

Help Manual

Help pageTopics
Create new row to add in indicatorList.addNewIndicator
Attach upper-level admin names to lower-level polygonsaddUpper
Get admin informationadminInfo
Get population informationaggPopulation
Get survey weight by admin levelsaggSurveyWeight
Any health insuranceAH_HINS_W_ANY
AH_TOBC_W_OTHAH_TOBC_W_OTH
AH_TOBU_M_ASMAH_TOBU_M_ASM
AH_TOBU_M_SNNAH_TOBU_M_SNN
AH_TOBU_W_SNMAH_TOBU_W_SNM
AH_TOBU_W_SNNAH_TOBU_W_SNN
AN_ANEM_W_ANY IRdata Percentage of women aged 15-49 classified as having any anemiaAN_ANEM_W_ANY
AN_NUTS_W_OVW Women who are overweight according to BMI (25.0-29.9) nt_wm_ovwt in github IRAN_NUTS_W_OVW
AN_NUTS_W_THN IRdata Women who are thin according to BMI (<18.5)AN_NUTS_W_THN
CH_ARIS_C_ADV Children with ARI for whom advice or treatment was sought; ch_ari_care in github KRCH_ARIS_C_ADV
CH_DIAT_C_ABICH_DIAT_C_ABI
CH_DIAT_C_ADV Treatment of diarrhea: Advice or treatment was sought; ch_diar_care in github KRCH_DIAT_C_ADV
CH_DIAT_C_AMOCH_DIAT_C_AMO
CH_DIAT_C_NOTCH_DIAT_C_NOT
CH_DIAT_C_ORSCH_DIAT_C_ORS
CH_DIAT_C_ORTCH_DIAT_C_ORT
CH_DIAT_C_OSICH_DIAT_C_OSI
CH_DIAT_C_RHFCH_DIAT_C_RHF
CH_DIFP_C_FALCH_DIFP_C_FAL
CH_FEVR_C_FEVCH_FEVR_C_FEV
CH_FEVT_C_ADV Children with fever for whom advice or treatment was sought ch_fev_care in github ml_fev_care should produce the same data KRCH_FEVT_C_ADV
CH_SZWT_C_L25CH_SZWT_C_L25
Percentage showing a vaccination cardCH_VAC1_C_VCD
Fully vaccinated (according to national schedule)CH_VACC_C_APP
CH_VACC_C_BAS KRdata Children with all 8 basic vaccinations (age 12-23)CH_VACC_C_BAS
CH_VACC_C_BCG Percentage of children 12-23 months who had received BCG vaccination ms_afm_15 in github KRCH_VACC_C_BCG
CH_VACC_C_DP1 KRdata Pentavalent 1st dose vaccination Percentage of children (age 12-23) with 1st dose of Pentavalent vaccineCH_VACC_C_DP1
CH_VACC_C_DP3 KRdata Pentavalent 3rd dose vaccination Percentage of children (age 12-23) with 3rd dose of Pentavalent vaccineCH_VACC_C_DP3
CH_VACC_C_MSL KRdata Measles vaccination received Percentage of children (age 12-23)CH_VACC_C_MSL
CH_VACC_C_NON KRdata Children with no vaccinations (age 12-23)CH_VACC_C_NON
CH_VACC_C_PN3 KRdata Pneumococcal 3rd dose vaccination Percentage of children (age 12-23)CH_VACC_C_PN3
CH_VACC_C_RT1 KRdata Rotavirus 1 vaccination receivedCH_VACC_C_RT1
Fully vaccinated (according to national schedule)CH_VACS_C_APP
Fully vaccinated (8 basic antigens)CH_VACS_C_BAS
BCG vaccination receivedCH_VACS_C_BCG
DPT 1 vaccination receivedCH_VACS_C_DP1
DPT 2 vaccination receivedCH_VACS_C_DP2
DPT 3 vaccination receivedCH_VACS_C_DP3
Hepatitis 1 vaccination receivedCH_VACS_C_HP1
Hepatitis 2 vaccination receivedCH_VACS_C_HP2
Hepatitis 3 vaccination receivedCH_VACS_C_HP3
Measles 2 vaccination receivedCH_VACS_C_MS2
Measles vaccination receivedCH_VACS_C_MSL
Received no vaccinationsCH_VACS_C_NON
Polio 0 vaccination receivedCH_VACS_C_OP0
Polio 1 vaccination receivedCH_VACS_C_OP1
Polio 2 vaccination receivedCH_VACS_C_OP2
Polio 3 vaccination receivedCH_VACS_C_OP3
Pneumococcal 1 vaccination receivedCH_VACS_C_PN1
Pneumococcal 2 vaccination receivedCH_VACS_C_PN2
CH_VACS_C_PN3 KRdata Pneumococcal 3 vaccination receivedCH_VACS_C_PN3
Pentavalent 1 vaccination receivedCH_VACS_C_PT1
Pentavalent 2 vaccination receivedCH_VACS_C_PT2
Pentavalent 3 vaccination receivedCH_VACS_C_PT3
Rotavirus 1 vaccination receivedCH_VACS_C_RT1
Rotavirus 2 vaccination receivedCH_VACS_C_RT2
Get cluster informationclusterInfo
Calculate cluster model estimates using beta binomial modelclusterModel
Calculate cluster model estimates using beta binomial model for U5MRclusterModel_u5mr
CM_ECMR_C_IMF imr 5 years prior to survey.CM_ECMR_C_IMF
CM_ECMR_C_IMR imr 10 years prior to survey.CM_ECMR_C_IMR
CM_ECMR_C_NNF NMR five years prior to survey.CM_ECMR_C_NNF
CM_ECMR_C_NNR BRdata Neonatal mortality rateCM_ECMR_C_NNR
CM_ECMR_C_U5F u5mr 5 years prior to survey.CM_ECMR_C_U5F
CM_ECMR_C_U5M u5mr 10 years prior to survey.CM_ECMR_C_U5M
CN_ANMC_C_ANY PRdata Children with any anemia Children under five with any anemiaCN_ANMC_C_ANY
CN_BRFI_C_EVRCN_BRFI_C_EVR
CN_BRFS_C_EXB KRdata Children exclusively breastfed Prevalence of exclusive breastfeeding of children under six months of ageCN_BRFS_C_EXB
CN_IYCF_C_4FA Percentage of children age 6-23 months fed five or more food groups. The food groups are a. breastmilk b. infant formula, milk other than breast milk, cheese or yogurt or other milk products; c. foods made from grains, roots, and tubers, including porridge and fortified baby food from grains; d. vitamin A-rich fruits and vegetables (and red palm oil); e. other fruits and vegetables; f. eggs; g. meat, poultry, fish, and shellfish (and organ meats); h. legumes and nuts. nt_mdd in github KRCN_IYCF_C_4FA
Breastfed children 6-23 months fed both 4+ food groups and the minimum meal frequencyCN_IYCF_C_BTB
Children 6-23 months fed the minimum meal frequencyCN_IYCF_C_MNA
Breastfed children 6-23 months fed the minimum meal frequencyCN_IYCF_C_MNB
Children 6-23 months that consumed foods rich in iron in the last 24 hoursCN_MIAC_C_IRF
CN_NUTS_C_HA2CN_NUTS_C_HA2
CN_NUTS_C_HA3CN_NUTS_C_HA3
CN_NUTS_C_WA2CN_NUTS_C_WA2
CN_NUTS_C_WA3CN_NUTS_C_WA3
CN_NUTS_C_WAPCN_NUTS_C_WAP
CN_NUTS_C_WH2CN_NUTS_C_WH2
CN_NUTS_C_WH3CN_NUTS_C_WH3
CN_NUTS_C_WHPCN_NUTS_C_WHP
Men who ever used the internetCO_INUS_M_EVU
Men who used the internet in the past 12 monthsCO_INUS_M_U12
CO_INUS_W_EVUCO_INUS_W_EVU
CO_INUS_W_U12CO_INUS_W_U12
Men who have a bank accountCO_MOBB_M_BNK
Men who use a mobile phone for financial transactionsCO_MOBB_M_MBF
Men who own a mobile phoneCO_MOBB_M_MOB
Men who used a mobile phone for financial transactions [all men]CO_MOBB_M_SPT
CO_MOBB_W_BNKCO_MOBB_W_BNK
Women who have and used a bank account or used a mobile phone for financial transactionsCO_MOBB_W_DFT
CO_MOBB_W_MBFCO_MOBB_W_MBF
CO_MOBB_W_MOBCO_MOBB_W_MOB
Women who used a mobile phone for financial transactions [all women]CO_MOBB_W_SPT
CP_BREG_C_CRTCP_BREG_C_CRT
CP_BREG_C_NCTCP_BREG_C_NCT
CP_BREG_C_REGCP_BREG_C_REG
Summarize Sample and Event Information by Administrative Leveldatainfo
Calculate direct estimatesdirectEST
Helper function for the U5MR direct estimationdirectEST_u5mr
Calculate direct estimatesdirectEST_varfix
DV_AFSV_W_A10DV_AFSV_W_A10
DV_AFSV_W_A12DV_AFSV_W_A12
DV_EXPV_W_12M Percentage of women who have experienced physical violence in the past 12 months often or sometimes dv_phy_12m in github IRDV_EXPV_W_12M
DV_EXSV_W_12M Percentage of women who ever experienced sexual violence dv_sex_12m in github IRDV_EXSV_W_12M
DV_EXSV_W_EVR Percentage of women who ever experienced sexual violence dv_sex in github IRDV_EXSV_W_EVR
Women who experienced physical and sexual violenceDV_FMVL_W_PAS
Intimate partner violence: Any physical violenceDV_FSVL_W_PHS
DV_PCPV_W_CBFDV_PCPV_W_CBF
DV_PCPV_W_CHDDV_PCPV_W_CHD
DV_PCPV_W_EMPDV_PCPV_W_EMP
Physical violence committed by former husband/partnerDV_PCPV_W_FHP
DV_PCPV_W_FLWDV_PCPV_W_FLW
DV_PCPV_W_OLWDV_PCPV_W_OLW
Physical or sexual or emotional violence committed by husband/partner in last 12 monthsDV_SPV1_W_ANY
DV_STPS_W_BFRDV_STPS_W_BFR
DV_VPRG_W_VPGDV_VPRG_W_VPG
Population age 6 and over with completed secondary educationED_EDAT_B_CSC
Population age 6 and over who attended higher educationED_EDAT_B_HGH
Population age 6 and over with no educationED_EDAT_B_NED
Male population age 6 and over who attended primary educationED_EDAT_M_PRI
Male population age 6 and over with some primary educationED_EDAT_M_SPR
Female population age 6 and over with completed secondary educationED_EDAT_W_CSC
Female population age 6 and over with some primary educationED_EDAT_W_SPR
Women with completed primary educationED_EDUC_W_CPR
Women with completed secondary educationED_EDUC_W_CSC
Women with more than secondary educationED_EDUC_W_HGH
Women with no educationED_EDUC_W_NED
Women with primary educationED_EDUC_W_PRI
ED_EDUC_W_SEH IRdata Percentage of women with secondary or higher educationED_EDUC_W_SEH
Women with some primary educationED_EDUC_W_SPR
Women with some secondary educationED_EDUC_W_SSC
Men with secondary or higher educationED_LITR_M_SCH
ED_LITR_W_LITED_LITR_W_LIT
Women who can read a whole sentenceED_LITR_W_RDW
Women with secondary or higher educationED_LITR_W_SCH
ED_MDIA_W_3MDED_MDIA_W_3MD
ED_MDIA_W_N3MED_MDIA_W_N3M
ED_MDIA_W_NWSED_MDIA_W_NWS
ED_MDIA_W_RDOED_MDIA_W_RDO
ED_MDIA_W_TLVED_MDIA_W_TLV
EM_EMPM_W_EMPEM_EMPM_W_EMP
Plot exceedance probability of model resultsexceedPlot
Women giving birth by age 18FE_BBAG_W_A18
Age specific fertility rate: 15-19FE_FRTR_W_A15
Total fertility rate 15-44FE_FRTR_W_TF4
Total fertility rate 15-49FE_FRTR_W_TFR
FG_KFCC_W_HFC IRdata Percentage of women who have ever heard of female circumcisionFG_KFCC_W_HFC
FG_PFCC_W_WCC IRdata Percentage of women circumcised (women who experienced female genital cutting (FGM))FG_PFCC_W_WCC
Calculate smoothed direct estimatesfhModel
Women who have ever experienced fistula symptomsFI_EXFI_W_EEX
Women who have ever heard of fistula symptomsFI_EXFI_W_HRD
FP_CUSA_W_ANYFP_CUSA_W_ANY
FP_CUSA_W_EMCFP_CUSA_W_EMC
FP_CUSA_W_FCNFP_CUSA_W_FCN
FP_CUSA_W_FSTFP_CUSA_W_FST
FP_CUSA_W_IMPFP_CUSA_W_IMP
FP_CUSA_W_INJFP_CUSA_W_INJ
FP_CUSA_W_IUDFP_CUSA_W_IUD
FP_CUSA_W_MCNFP_CUSA_W_MCN
FP_CUSA_W_MOD IRdata Modern contraceptive prevalence rate (women currently using any modern method of contraception)FP_CUSA_W_MOD
FP_CUSA_W_MSTFP_CUSA_W_MST
FP_CUSA_W_PILFP_CUSA_W_PIL
FP_CUSA_W_STDFP_CUSA_W_STD
FP_CUSA_W_TRAFP_CUSA_W_TRA
FP_CUSA_W_WTHFP_CUSA_W_WTH
FP_CUSM_W_MOD IRdata Modern contraceptive prevalence rate (Married women currently using any modern method of contraception)FP_CUSM_W_MOD
Family planning use decisionmaking mainly by others/don't know/missingFP_DMKF_W_UDK
Family planning use decisionmaking mainly by husbandFP_DMKF_W_UHS
Family planning use decisionmaking jointly by wife and husbandFP_DMKF_W_UJN
Family planning use decisionmaking mainly by wifeFP_DMKF_W_UWF
Family planning decisionmaking mainly by husbandFP_DMKP_W_MHS
Family planning decisionmaking jointly by wife and husbandFP_DMKP_W_MJN
Family planning decisionmaking mainly by wifeFP_DMKP_W_MWF
FP_EFPM_M_NWSFP_EFPM_M_NWS
FP_EFPM_M_TLVFP_EFPM_M_TLV
FP_EFPM_W_NWSFP_EFPM_W_NWS
FP_EFPM_W_RDOFP_EFPM_W_RDO
FP_EFPM_W_TLVFP_EFPM_W_TLV
FP_EVUM_W_MODFP_EVUM_W_MOD
Knowledge of any method of contraception (all men)FP_KMTA_M_ANY
Knowledge of any modern method of contraception (all men)FP_KMTA_M_MOD
FP_KMTA_W_ANYFP_KMTA_W_ANY
FP_KMTA_W_EMCFP_KMTA_W_EMC
FP_KMTA_W_FCNFP_KMTA_W_FCN
FP_KMTA_W_FSTFP_KMTA_W_FST
FP_KMTA_W_IMPFP_KMTA_W_IMP
FP_KMTA_W_INJFP_KMTA_W_INJ
FP_KMTA_W_IUDFP_KMTA_W_IUD
FP_KMTA_W_MSTFP_KMTA_W_MST
FP_KMTA_W_OMDFP_KMTA_W_OMD
FP_KMTA_W_PILFP_KMTA_W_PIL
FP_KMTA_W_STDFP_KMTA_W_STD
FP_KMTA_W_TRAFP_KMTA_W_TRA
FP_KMTA_W_WTHFP_KMTA_W_WTH
Knowledge of any method of contraception (married men)FP_KMTM_M_ANY
Knowledge of any modern method of contraception (married men)FP_KMTM_M_MOD
Knowledge of any method of contraception (married women)FP_KMTM_W_ANY
Knowledge of any modern method of contraception (married women)FP_KMTM_W_MOD
Met need for family planning (currently using), total (all women)FP_NADA_W_MNT
Demand for family planning satisfied by modern methods (all women)FP_NADA_W_PDM
Demand for family planning satisfied (all women)FP_NADA_W_PDS
Total demand for family planning, total (all women)FP_NADA_W_TDT
Unmet need for modern methods, total (all women)FP_NADA_W_UMT
FP_NADA_W_UNT IRdata Women with an unmet need for family planning for spacing and limitingFP_NADA_W_UNT
Met need for family planning (currently using), totalFP_NADM_W_MNT
FP_NADA_W_UNT IRdata Women with an unmet need for family planning for spacing and limitingFP_NADM_W_PDM
Demand for family planning satisfiedFP_NADM_W_PDS
Total demand for family planningFP_NADM_W_TDT
Unmet need for modern methodsFP_NADM_W_UMT
FP_NADM_W_UNT #unmet_family IRdata Married women with an unmet need for family planning for spacing and limiting, line 17 manually added by QianyuFP_NADM_W_UNT
Met need for family planning (currently using), total (all young women)FP_NDYA_W_MNT
FP_NADA_W_UNT IRdata Women with an unmet need for family planning for spacing and limitingFP_NDYA_W_PDM
Demand for family planning satisfied (all young women)FP_NDYA_W_PDS
Total demand for family planning, total (all young women)FP_NDYA_W_TDT
Unmet need for modern methods, total (all young women)FP_NDYA_W_UMT
Unmet need for family planning, total (all young women)FP_NDYA_W_UNT
Met need for family planning (currently using), total (married young women)FP_NDYM_W_MNT
Demand for family planning satisfied by modern methods (married young women)FP_NDYM_W_PDM
Demand for family planning satisfied (married young women)FP_NDYM_W_PDS
Unmet need for modern methods (married young women)FP_NDYM_W_UMT
Unmet need for family planning (married young women)FP_NDYM_W_UNT
Function to obtain subnational estimates from DHS APIget_api_table
Download geoBoundaries Shapefile as sf Objectget_geoBoundaries
Extract Covariate Data from A list of RastersgetCovariate
Download DHS survey datagetDHSdata
Download DHS geo datagetDHSgeo
Process DHS datagetDHSindicator
Function to threshold population raster to obtain urban/rural fractions by Admin1 and Admin2 areasgetUR
HA_AFSY_M_A15HA_AFSY_M_A15
HA_AFSY_M_A18HA_AFSY_M_A18
HA_AFSY_W_A18HA_AFSY_W_A18
HA_ANSS_M_CNDHA_ANSS_M_CND
HA_ANSS_W_CNDHA_ANSS_W_CND
HA_ANSS_W_RSXHA_ANSS_W_RSX
HA_CATH_W_ATNHA_CATH_W_ATN
HA_CATH_W_NRSHA_CATH_W_NRS
Comprehensive correct knowledge about AIDS [Women]HA_CKNA_W_CKA
HA_HIVP_B_HIV hv_hiv_pos "HIV prevalence among general population"HA_HIVP_B_HIV
HA_HRSX_W_CNDHA_HRSX_W_CND
HA_HVST_M_HRDHA_HVST_M_HRD
HA_HVST_M_USDHA_HVST_M_USD
HA_HVTY_M_TRRHA_HVTY_M_TRR
HA_HVTY_W_TRRHA_HVTY_W_TRR
Men who have heard of HIV or AIDSHA_KAID_M_HRD
HA_KAID_W_HRD Percentage of women who have heard of HIV or AIDS hk_ever_heard in github IRHA_KAID_W_HRD
Knowledge of HIV prevention methods - Composite of 2 components (prompted) [Men]HA_KHVP_M_CS1
HA_STIS_M_DISHA_STIS_M_DIS
HA_STIS_M_SORHA_STIS_M_SOR
HA_STIS_W_STI Percentage of women reporting a sexually transmitted infection in the 12 months preceding the survey among women who ever had sexual intercourse hk_sti in github IRHA_STIS_W_STI
HC_AGEG_P_ADLHC_AGEG_P_ADL
HC_ELEC_H_ELC Percentage of households with electricity ph_electric in github HRHC_ELEC_H_ELC
HC_FLRM_H_CER Percentage of households with ceramic tile floors ph_floor in github HRHC_FLRM_H_CER
HC_HEFF_H_RDO Percentage of households possessing a radio ph_radio in github HRHC_HEFF_H_RDO
Households possessing a private carHC_TRNS_H_CAR
Households possessing a motorcycleHC_TRNS_H_SCT
HC_WIXQ_P_12Q PRdata Population in the lowest and second wealth quintileHC_WIXQ_P_12Q
HC_WIXQ_P_2ND PRdata Population in the second wealth quintileHC_WIXQ_P_2ND
HC_WIXQ_P_LOW PRdata Population in the lowest wealth quintileHC_WIXQ_P_LOW
Table of supported DHS indicators.indicatorList
Get scatter plot for any two model resultsintervalPlot
MA_CWIV_W_CWVMA_CWIV_W_CWV
MA_MBAG_W_B15 Women first married by exact age 15 ms_afm_15 in github IRMA_MBAG_W_B15
##' MA_MBAG_W_B18 Percentage of women first married by exact age 18 ms_afm_18 in github IRMA_MBAG_W_B18
MA_MBAY_W_B15 Young women age 20-24 first married by exact age 15 ms_afm_15 in github IRMA_MBAY_W_B15
MA_MBAY_W_B18 Percentage of Young women age 20-24 first married by exact age 18 ms_afm_18 in github IRMA_MBAY_W_B18
MA_MSTA_W_NMAMA_MSTA_W_NMA
Current marital status [Women]: Married or living in unionMA_MSTA_W_UNI
Current marital status [Young women]: MarriedMA_MSTY_W_MAR
Current marital status [Young women]: Married or living in unionMA_MSTY_W_UNI
Indicator matching table.match_all_result
Children with fever for whom advice or treatment was soughtML_FEVT_C_ADV
Households with at least one insecticide-treated mosquito net (ITN) for every two persons and/or indoor residual spraying (IRS) in the past 12 monthsML_IRSM_H_I2I
ML_NETC_C_ITN PRdata Percentage of children under age five who slept under an insecticide treated net (ITN) the night before the surveyML_NETC_C_ITN
ML_NETP_H_IT2 HRdata Households with access to an insecticide-treated mosquito net (ITN)ML_NETP_H_IT2
ML_NETU_P_ITN PRdata Percentage of the de facto household population who slept under an insecticide treated net the night before the surveyML_NETU_P_ITN
ML_PMAL_C_RDT PRdata Malaria prevalence according to RDTML_PMAL_C_RDT
PR_DESL_W_WNMPR_DESL_W_WNM
static prevalence map for any subnational levelprevMap
leaflet (interactive) prevalence map for any subnational levelprevMap.web
Get ranking plot of model resultsrankPlot
AH_TOBC_W_OTHRH_ANCN_W_N01
RH_ANCN_W_N4F IRdata Antenatal visits for pregnancy: 4+ visits FIVE yearRH_ANCN_W_N4F
RH_ANCN_W_N4P IRdata Antenatal visits for pregnancy: 4+ visits TWO yearRH_ANCN_W_N4P
RH_ANCN_W_N4P IRdata Antenatal visits for pregnancy: no visits TWO yearRH_ANCN_W_NON
Antenatal care provider: Community health workerRH_ANCP_W_CHW
Antenatal care provider: DoctorRH_ANCP_W_DOC
No antenatal careRH_ANCP_W_NON
Antenatal care provider: Nurse/midwifeRH_ANCP_W_NRS
Antenatal care provider: Other health workerRH_ANCP_W_OHW
Antenatal care from a skilled providerRH_ANCP_W_SKP
Antenatal care provider: Traditional birth attendantRH_ANCP_W_TBA
Assistance during delivery: No oneRH_DELA_C_NON
RH_DELA_C_SKF BRdata Assistance during delivery from a skilled providerRH_DELA_C_SKF
RH_DELA_C_SKP BRdata Assistance during delivery from a skilled providerRH_DELA_C_SKP
Assistance during delivery: Traditional birth attendantRH_DELA_C_TBA
RH_DELP_C_DHFRH_DELP_C_DHF
RH_DELP_C_DHTRH_DELP_C_DHT
RH_DELP_C_HOMRH_DELP_C_HOM
RH_DELP_C_HOTRH_DELP_C_HOT
RH_DELP_C_PRTRH_DELP_C_PRT
RH_DELP_C_PRVRH_DELP_C_PRV
RH_DELP_C_PUBRH_DELP_C_PUB
RH_DELP_C_PUTRH_DELP_C_PUT
Iron supplementation: 60-89 daysRH_ICSP_W_B69
Iron supplementation: don't know/missingRH_ICSP_W_IDK
Iron supplementation: less than 60 daysRH_ICSP_W_L60
Iron supplementation: noneRH_ICSP_W_TNI
Iron supplementation: totalRH_ICSP_W_TOT
RH_PAHC_W_DIS IRdata Problems in accessing health care: Distance to health facilityRH_PAHC_W_DIS
Problems in accessing health care: Concern there may not be a female providerRH_PAHC_W_FEM
RH_PAHC_W_MON IRdata Problems in accessing health care: Getting money for treatmentRH_PAHC_W_MON
Problems in accessing health care: Any of the specified problemsRH_PAHC_W_PR1
RH_PAHC_W_PRM IRdata Problems in accessing health care: Getting permission to go for treatmentRH_PAHC_W_PRM
Problems in accessing health care: Having to take transportRH_PAHC_W_TRN
Provider of newborns' first postnatal checkup: Community health workerRH_PCCP_C_CHW
Provider of newborns' first postnatal checkup: Doctor/nurse/midwifeRH_PCCP_C_DOC
No postnatal checkup for newborn within first two days of birthRH_PCCP_C_NON
Provider of newborns' first postnatal checkup: Other health workerRH_PCCP_C_OHW
Provider of newborns' first postnatal checkup: Traditional birth attendantRH_PCCP_C_TBA
Newborn's first postnatal checkup: 1-2 daysRH_PCCT_C_D12
Newborn's first postnatal checkup: 3-6 daysRH_PCCT_C_D36
Newborn's first postnatal checkup: don't know or missingRH_PCCT_C_DKM
RH_PCCT_C_DY2 Newborn's first postnatal checkup: 1-2 days RH_PCCT_C_DY2 in github IRRH_PCCT_C_DY2
Newborn's first postnatal checkup: 4-23 hoursRH_PCCT_C_H4P
Newborn's first postnatal checkup: Less than 1 hourRH_PCCT_C_L1H
Newborn's first postnatal checkup: TotalRH_PCCT_C_TOT
Provider of mothers' first postnatal checkup: Community health workerRH_PCMP_W_CHW
Provider of mothers' first postnatal checkup: Doctor/nurse/midwifeRH_PCMP_W_DOC
No postnatal checkup for mother within first two days of birthRH_PCMP_W_NON
Provider of mothers' first postnatal checkup: Other health workerRH_PCMP_W_OHW
Provider of mothers' first postnatal checkup: Traditional birth attendantRH_PCMP_W_TBA
Mother's first postnatal checkup: 1-2 daysRH_PCMT_W_D12
Mother's first postnatal checkup: 7-41 daysRH_PCMT_W_D7P
Mother's first postnatal checkup: don't know or missingRH_PCMT_W_DKM
RH_PCMT_W_DY2 Mother's first postnatal checkup: 1-2 days IRRH_PCMT_W_DY2
RH_PCMT_W_NON No Mother's postnatal checkup in 42 days IRRH_PCMT_W_NON
Mother's first postnatal checkup: TotalRH_PCMT_W_TOT
ridge plot for prevalenceridgeprevPlot
Get scatter plot for any two model resultsscatterPlot
web-based scatter plotscatterPlot.web
WE_AWBT_M_ARGWE_AWBT_M_ARG
WE_AWBT_M_BFDWE_AWBT_M_BFD
WE_AWBT_M_OUTWE_AWBT_M_OUT
WE_AWBT_M_REFWE_AWBT_M_REF
Wife beating justified for at least one specific reason [Women]WE_AWBT_W_AGR
WE_AWBT_W_ARGWE_AWBT_W_ARG
WE_AWBT_W_BFDWE_AWBT_W_BFD
WE_AWBT_W_NEGWE_AWBT_W_NEG
WE_AWBT_W_OUTWE_AWBT_W_OUT
WE_AWBT_W_REFWE_AWBT_W_REF
Final say in own health care [Women]WE_DMAK_W_OHC
Decision maker about Own health care: Mainly husband [Men]WE_DMKH_M_HUS
Decision maker about Own health care: Wife and husband jointly [Men]WE_DMKH_M_JNT
Decision maker about Own health care: Mainly wife [Men]WE_DMKH_M_WIF
Decision maker about Own health care: Mainly husband [Women]WE_DMKH_W_HUS
Decision maker about Own health care: Wife and husband jointly [Women]WE_DMKH_W_JNT
Decision maker about Own health care: Mainly wife [Women]WE_DMKH_W_WIF
Decision maker about Major household purchases: Mainly husband [Men]WE_DMKP_M_HUS
Decision maker about Major household purchases: Wife and husband jointly [Men]WE_DMKP_M_JNT
Decision maker about Major household purchases: Mainly wife [Men]WE_DMKP_M_WIF
Decision maker about Major household purchases: Mainly husband [Women]WE_DMKP_W_HUS
Decision maker about Major household purchases: Wife and husband jointly [Women]WE_DMKP_W_JNT
Decision maker about Major household purchases: Mainly wife [Women]WE_DMKP_W_WIF
Households with a basic handwashing facility, with soap and water availableWS_HNDW_H_BAS
Households with a place for handwashing was observedWS_HNDW_H_OBS
Households with basic water serviceWS_SRCE_H_BAS
Households using an improved water sourceWS_SRCE_H_IMP
Households with limited water serviceWS_SRCE_H_LTD
WS_SRCE_H_USG Percentage of households whose main source of drinking water is an unprotected spring ph_wtr_source in github "unprotected spring" = 42, HRWS_SRCE_H_USG
WS_SRCE_P_BAS PRdata Population using a basic water sourceWS_SRCE_P_BAS
Households with basic sanitation serviceWS_TLET_H_BAS
WS_TLET_H_IMP PRdata Percentage of households using an improved sanitation facilityWS_TLET_H_IMP
WS_TLET_P_BAS PRdata Population with access to a basic sanitation serviceWS_TLET_P_BAS
Population with an improved sanitation facilityWS_TLET_P_IMP
Households treating water by adding bleach/chlorineWS_WTRT_H_BLC
Households treating water by boilingWS_WTRT_H_BOL
Households treating water by straining through a clothWS_WTRT_H_STN
WS_WTRT_P_BLCWS_WTRT_P_BLC
WS_WTRT_P_BOLWS_WTRT_P_BOL
WS_WTRT_P_SOLWS_WTRT_P_SOL
WS_WTRT_P_STNWS_WTRT_P_STN
Admin 1 Polygon Map for Zambia.ZambiaAdm1
Admin 2 Polygon Map for Zambia.ZambiaAdm2
Population estimates for Women of age 15 to 49 in Zambia in 2018.ZambiaPopWomen