saeplus_gencensus: Create a synthetic census

View source: R/saeplus_gencensus.R

saeplus_gencensusR Documentation

Create a synthetic census

Description

A function that generates a synthetic census from household level survey data with outcome and covariates and merges this data with household survey data for

Usage

saeplus_gencensus(
  poly_dt = polyest,
  hhsize = "ind_estimate",
  popsize = "population",
  poly_id = "id"
)

Arguments

poly_dt

sf or dataframe object with polygons or multipolygons with average household size included

hhsize

string for the name of the average household size variable

popsize

string for the name of the population size for each polygon

poly_id

string for the polygon id variable to be used for expanding poly_dt


SSA-Statistical-Team-Projects/SAEplus documentation built on Aug. 24, 2022, 11:26 a.m.