Skip to contents

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

Usage

create_op_food_males(svy)

Arguments

svy

A dataframe collected using the standard RAM-OP questionnaire

Value

A dataframe of male older people indicators on food intake

Examples


# Create food intake indicators dataset from RAM-OP survey data
# collected from Addis Ababa, Ethiopia
create_op_food_males(testSVY)
#> # A tibble: 79 × 31
#>      psu  sex1  sex2    MF   DDS  FG01  FG02  FG03  FG04  FG05  FG06  FG07  FG08
#>    <int> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#>  1   201     1     0     3     7     1     1     1     0     0     0     1     0
#>  2   201     1     0     2     2     0     0     0     0     0     1     0     0
#>  3   201     1     0     4     5     1     1     0     0     0     1     1     0
#>  4   201     1     0     3     6     1     1     1     0     0     1     1     0
#>  5   201     1     0     2     4     1     0     1     0     0     0     0     0
#>  6   202     1     0     3     4     1     0     1     0     0     0     1     0
#>  7   202     1     0     4     6     1     1     0     0     0     0     1     0
#>  8   202     1     0     2     6     1     1     1     0     0     1     1     0
#>  9   202     1     0     2     5     1     0     1     0     0     1     1     0
#> 10   202     1     0     2     5     1     0     1     0     0     1     1     0
#> # ℹ 69 more rows
#> # ℹ 18 more variables: FG09 <dbl>, FG10 <dbl>, FG11 <dbl>, proteinRich <dbl>,
#> #   pProtein <dbl>, aProtein <dbl>, pVitA <dbl>, aVitA <dbl>, xVitA <dbl>,
#> #   ironRich <dbl>, caRich <dbl>, znRich <dbl>, vitB1 <dbl>, vitB2 <dbl>,
#> #   vitB3 <dbl>, vitB6 <dbl>, vitB12 <dbl>, vitBcomplex <dbl>