Skip to contents

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

Usage

create_op_dementia_males(svy)

Arguments

svy

A dataframe collected using the standard RAM-OP questionnaire

Value

A tibble of male older people indicators on dementia

Examples


# Create dementia indicators dataset from RAM-OP survey data collected
# from Addis Ababa, Ethiopia
create_op_dementia_males(testSVY)
#> # A tibble: 79 × 4
#>      psu  sex1  sex2    DS
#>    <int> <dbl> <dbl> <dbl>
#>  1   201     1     0     0
#>  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     1
#> # ℹ 69 more rows