Calculate Dropout Coverage for Health Indicators Below a Threshold
Source:R/calculate_indicator_threshold_coverage.R
calculate_threshold.Rd
This function filters health indicator data to identify the percentage of administrative regions where the coverage for a specified indicator falls below a 10% threshold for a given year. If no regions meet the criteria (i.e., all values are below the threshold), a default output is returned.
Arguments
- .data
A tibble of class
cd_data
.- admin_level
The level of analysis.
- indicator
Character. The specific health indicator to evaluate. Options are:
"coverage"
:coverage indicators."dropout"
: dropout indicators.
- sbr
Numeric. The stillbirth rate. Default is
0.02
.- nmr
Numeric. Neonatal mortality rate. Default is
0.025
.- pnmr
Numeric. Post-neonatal mortality rate. Default is
0.024
.- anc1survey
Numeric. Survey-derived coverage rate for ANC-1 (antenatal care, first visit). Default is
0.98
.- dpt1survey
Numeric. Survey-derived coverage rate for Penta-1 (DPT1 vaccination). Default is
0.97
.- survey_year
Integer. The year of Penta-1 survey provided
- twin
Numeric. Twin birth rate. Default is
0.015
.- preg_loss
Numeric. Pregnancy loss rate