Skip to contents

Called from the central stage of build_fplida(), before the slice workers start. Each slice reads the result rather than recomputing it from the part of the household it happens to hold.

Usage

write_census_household_roles(
  spine = NULL,
  seed = 42L,
  output_dir = NULL,
  reference_year = 2021L
)

Arguments

spine

data.frame or NULL. The full spine.

seed

Integer. Random seed.

output_dir

Character or NULL. Base output directory.

reference_year

Integer. Census year.

Value

Invisibly, the path written.