set_design | R Documentation |
This function allows you to set the survey desing
set_design(
data = ech::toy_ech_2018,
level = "i",
numero = "numero",
ids = NULL,
estrato = NULL,
pesoano = "pesoano"
)
data |
data frame with ECH microdata |
level |
is household ("h") or individual ("i") |
numero |
variables specifying the householder ids |
ids |
variables specifying the unit primary sampling (it's not a public variable) |
estrato |
variable specifying strata |
pesoano |
variable specifying weights |
Disclaimer: This script is not an official INE product. Aviso: El script no es un producto oficial de INE.
a list
Other estimation:
get_estimation_gini()
,
get_estimation_gpg()
,
get_estimation_mean()
,
get_estimation_median()
,
get_estimation_qsr()
,
get_estimation_ratio()
,
get_estimation_total()
set_design(data = ech::toy_ech_2018, level = "h")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.