# Path were raw 'SPSS' files are
input <- system.file("extdata/reds", package = "ILSAmerge")
# Load only attributes
emptylist <- justload(inputdir = input, population = "BCGV1", justattributes = TRUE)
# Load complete data
fullist <- justload(inputdir = input, population = "BCGV1", justattributes = FALSE)
# Load complete data and add country labels
withcou <- justload(inputdir = input, population = "BCGV1", addcountries = TRUE)
Run the code above in your browser using DataLab