Skip to contents

Needs the whole household, so it is computed once over the full spine rather than per slice: a slice that holds two of a household's four people cannot tell a lone parent from a partnered one.

Usage

census_household_roles(spine, seed = 42L, reference_year = 2021L)

Arguments

spine

data.frame. The full spine.

seed

Integer. Random seed.

reference_year

Integer. Census year.

Value

A data.frame with spine_id, DWELLING_ID, FAMILY_ID, RLHP, FPIP and SPIP.