Skip to contents

helper to prep the ego dataset

Usage

get_ego_df(df, resp.attrib, verbose = FALSE)

Arguments

df

the survey dataset

resp.attrib

vector with respondent attribute columns (see prep_dhs_sib_histories)

verbose

see prep_dhs_sib_histories

Value

a prepped ego dataset, used in prep_dhs_sib_histories