Skip to contents

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

Usage

create_op_mental_males(svy)

Arguments

svy

A dataframe collected using the standard RAM-OP questionnaire

Value

A tibble of male older people indicators on mental health

Examples


# Create mental health indicators dataset from RAM-OP survey data collected
# from Addis Ababa, Ethiopia
create_op_mental_males(testSVY)
#> # A tibble: 79 × 5
#>      psu  sex1  sex2    K6 K6Case
#>    <int> <dbl> <dbl> <dbl>  <dbl>
#>  1   201     1     0    18      1
#>  2   201     1     0    13      1
#>  3   201     1     0     0      0
#>  4   201     1     0     9      0
#>  5   201     1     0     5      0
#>  6   202     1     0     2      0
#>  7   202     1     0    15      1
#>  8   202     1     0    12      0
#>  9   202     1     0    11      0
#> 10   202     1     0     0      0
#> # ℹ 69 more rows