create_op_demo: Create older people indicators dataframe for demography and...

View source: R/01-opIndicators.R

create_op_demoR Documentation

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

Description

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

Usage

create_op_demo(svy)

Arguments

svy

A dataframe collected using the standard RAM-OP questionnaire

Value

A dataframe of older people indicators on demography and situation

Demography and situation

psu

Primary sampling unit

resp1

Respondent is SUBJECT

resp2

Respondent is FAMILY CARER

resp3

Respondent is OTHER CARER

resp4

Respondent is OTHER

age

Age of respondent (years)

ageGrp1

Age of respondent is between 50 and 59 years

ageGrp2

Age of respondent is between 60 and 69 years

ageGrp3

Age of respondent is between 70 and 79 years

ageGrp4

Age of respondent is between 80 and 89 years

ageGrp5

Age of respondent is between 90 years and older

sex1

Male

sex2

Female

marital1

Marital status = SINGLE

marital2

Marital status = MARRIED

marital3

Marital status = LIVING TOGETHER

marital4

Marital status = DIVORCED

marital5

Marital status = SEPARATED

marital6

Marital status = OTHER

alone

Respondent lives alone

Author(s)

Mark Myatt

Examples


# Create demography and situation indicators dataset from RAM-OP survey data
# collected from Addis Ababa, Ethiopia
create_op_demo(testSVY)


rapidsurveys/oldr documentation built on April 15, 2024, 11:18 a.m.