Skip to contents

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

Usage

create_op_demo_males(svy)

Arguments

svy

A dataframe collected using the standard RAM-OP questionnaire

Value

A dataframe of male older people indicators on demography and situation

Examples


# Create demography and situation indicators dataset from RAM-OP survey data
# collected from Addis Ababa, Ethiopia
create_op_demo_males(testSVY)
#> # A tibble: 79 × 20
#>      psu resp1 resp2 resp3 resp4   age ageGrp1 ageGrp2 ageGrp3 ageGrp4 ageGrp5
#>    <int> <dbl> <dbl> <dbl> <dbl> <int>   <dbl>   <dbl>   <dbl>   <dbl>   <dbl>
#>  1   201     1     0     0     0    74       0       0       1       0       0
#>  2   201     1     0     0     0    60       0       1       0       0       0
#>  3   201     0     1     0     0    86       0       0       0       1       0
#>  4   201     1     0     0     0    80       0       0       0       1       0
#>  5   201     1     0     0     0    62       0       1       0       0       0
#>  6   202     1     0     0     0    68       0       1       0       0       0
#>  7   202     1     0     0     0    68       0       1       0       0       0
#>  8   202     1     0     0     0    65       0       1       0       0       0
#>  9   202     1     0     0     0    67       0       1       0       0       0
#> 10   202     1     0     0     0    80       0       0       0       1       0
#> # ℹ 69 more rows
#> # ℹ 9 more variables: sex1 <dbl>, sex2 <dbl>, marital1 <dbl>, marital2 <dbl>,
#> #   marital3 <dbl>, marital4 <dbl>, marital5 <dbl>, marital6 <dbl>, alone <dbl>