Create a dummy dataset to be used for demonstrating the functionalities of
surveysd package based on laeken::eusilc. Please refer to the
documentation page of the original data for details about the variables.
demo.eusilc(n = 8, prettyNames = FALSE)
Number of years to generate. Should be at least 1
Create easy-to-read names for certain variables. Recommended for demonstration purposes. Otherwise, use the original codes documented in laeken::eusilc.
TRUE, the following variables will be available in an
hid Household id. Consistent with respect to the reference period
hsize Size of the household. derived from
region Federal state of austria where the household is located
pid Personal id. Consistent with respect to the reference period (
age Age-class of the respondent
gender A persons gender (
ecoStat Ecnomic status
citizenship Citizenship (
pWeight Personal sample weight inside the reference period
year. Simulated reference period
povertyRisk. Logical variable determining whether a respondent is at risk
demo.eusilc(n = 1, prettyNames = TRUE)[, c(1:8, 26, 28:30)]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.