| demo.eusilc {surveysd} | R Documentation | 
Generate multiple years of EU-SILC data
Description
Create a dummy dataset to be used for demonstrating the functionalities of
the surveysd package based on laeken::eusilc. Please refer to the
documentation page of the original data for details about the variables.
Usage
demo.eusilc(n = 8, prettyNames = FALSE)
Arguments
| n | Number of years to generate. Should be at least 1 | 
| prettyNames | Create easy-to-read names for certain variables. Recommended for demonstration purposes. Otherwise, use the original codes documented in laeken::eusilc. | 
Details
If prettyNames is TRUE, the following variables will be available in an
easy-to-read manner.
-  hidHousehold id. Consistent with respect to the reference period (year)
-  hsizeSize of the household. derived fromhidandperiod
-  regionFederal state of austria where the household is located
-  pidPersonal id. Consistent with respect to the reference period (year)
-  ageAge-class of the respondent
-  genderA persons gender ("male","Female")
-  ecoStatEcnomic status ("part time","full time","unemployed", ...)
-  citizenshipCitizenship ("AT","EU","other")
-  pWeightPersonal sample weight inside the reference period
-  year. Simulated reference period
-  povertyRisk. Logical variable determining whether a respondent is at risk of poverty
Examples
demo.eusilc(n = 1, prettyNames = TRUE)[, c(1:8, 26, 28:30)]