Skip to contents

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

Usage

create_op_income_males(svy)

Arguments

svy

A dataframe collected using the standard RAM-OP questionnaire

Value

A tibble of male older people indicators on income

Examples


# Create income indicators dataset from RAM-OP survey data collected from
# Addis Ababa, Ethiopia
create_op_income_males(testSVY)
#> # A tibble: 79 × 13
#>      psu  sex1  sex2    M1   M2A   M2B   M2C   M2D   M2E   M2F   M2G   M2H   M2I
#>    <int> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#>  1   201     1     0     1     1     0     0     0     0     0     0     1     0
#>  2   201     1     0     1     1     1     1     0     0     0     0     0     0
#>  3   201     1     0     1     0     0     0     0     0     0     0     1     0
#>  4   201     1     0     1     1     0     0     0     0     0     0     1     0
#>  5   201     1     0     0     0     0     0     0     0     0     0     0     0
#>  6   202     1     0     0     0     0     0     0     0     0     0     0     0
#>  7   202     1     0     0     0     0     0     0     0     0     0     0     0
#>  8   202     1     0     1     1     0     0     0     0     0     0     1     0
#>  9   202     1     0     1     0     1     0     0     0     0     0     0     0
#> 10   202     1     0     1     1     0     0     0     0     0     0     0     0
#> # ℹ 69 more rows