Quiet often ILSA file names come in codes representing different
respondents, and cycles. To make this codes comprehensible, we can use
ILSArename()
to give new names to merged files.
First, we need to use ILSAmerge()
to merge the
files:
dir.create(file.path(tempdir(),"REDS2021"),showWarnings = FALSE)
ILSAmerge(inputdir = system.file("extdata/reds", package = "ILSAmerge"),
outputdir = file.path(tempdir(),"REDS2021"),
filetype = c("rds", "zsav", "sav"),quiet = TRUE)
This will create 3 files with codes for respondent and cycle:
With ILSArename()
we can convert these names: