View source: R/saeplus_gencensus.R
saeplus_gencensus | R Documentation |
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
saeplus_gencensus( poly_dt = polyest, hhsize = "ind_estimate", popsize = "population", poly_id = "id" )
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.