R/export_with_languages.R
export_with_languages.Rd
Sometimes it is useful to export a version of a survey with a different primary language, and/or less additional languages. This function allows that.
export_with_languages(
x,
language,
path,
additional_languages = NULL,
new_sid = x$sid,
backupLanguage = x$language,
prefix = "limesurvey--",
suffix = "",
parallel = TRUE
)
The Survey object.
The desired primary language.
The path where to save the .TSV file.
If specified, the selection of additional
languages. If not specified, the survey's primary language will just be
switched to language
, and all original languages will be retained.
If specified, a new sid to use.
The language to use if an element is not specified in one of the languages.
The prefix to use in the filename.
The suffix to use in the filename.
Whether to use multiple cores when exporting the survey.
Invisibly, the cloned and altered survey object.
### Add later