Skip to contents

Create male older people indicators dataframe for oedema prevalence from survey data collected using the standard RAM-OP questionnaire

Usage

create_op_oedema_males(svy)

Arguments

svy

A dataframe collected using the standard RAM-OP questionnaire

Value

A tibble of male older people indicators on oedema prevalence

Examples


# Create oedema prevalence indicators dataset from RAM-OP survey data
# collected from Addis Ababa, Ethiopia
create_op_oedema_males(testSVY)
#> # A tibble: 79 × 4
#>      psu  sex1  sex2 oedema
#>    <int> <dbl> <dbl>  <dbl>
#>  1   201     1     0      1
#>  2   201     1     0      0
#>  3   201     1     0      0
#>  4   201     1     0      0
#>  5   201     1     0      0
#>  6   202     1     0      0
#>  7   202     1     0      0
#>  8   202     1     0      0
#>  9   202     1     0      0
#> 10   202     1     0      0
#> # ℹ 69 more rows