Skip to contents

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

Usage

create_op_oedema(svy)

Arguments

svy

A dataframe collected using the standard RAM-OP questionnaire

Value

A tibble of older people indicators on oedema prevalence

Oedema prevalence

oedema

Bilateral pitting oedema (may not be nutritional)

Author

Mark Myatt

Examples


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