Create older people indicators dataframe for water, sanitation and hygiene from survey data collected using the standard RAM-OP questionnaire.
Source:R/01-opIndicators.R
create_op_wash.Rd
Create older people indicators dataframe for water, sanitation and hygiene from survey data collected using the standard RAM-OP questionnaire.
Water, sanitation and hygiene (WASH) indicators
These are a (core) subset of indicators from: https://washdata.org/monitoring/methods/core-questions
W1
Improved source of drinking water
W2
Safe drinking water (improved source OR adequate treatment)
W3
Improved sanitation facility
W4
Improved non-shared sanitation facility
Examples
# Create water, sanitation and hygiene indicators dataset from RAM-OP survey
# data collected from Addis Ababa, Ethiopia
create_op_wash(testSVY)
#> # A tibble: 192 × 7
#> psu sex1 sex2 W1 W2 W3 W4
#> <int> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 201 0 1 0 0 0 0
#> 2 201 1 0 1 1 0 0
#> 3 201 1 0 0 0 0 0
#> 4 201 0 1 1 1 1 1
#> 5 201 0 1 1 1 0 0
#> 6 201 1 0 0 0 0 0
#> 7 201 1 0 0 0 0 0
#> 8 201 0 1 1 1 0 0
#> 9 201 1 0 1 1 0 0
#> 10 201 0 1 1 1 0 0
#> # ℹ 182 more rows