export_with_languages {limonaid}R Documentation

Export a survey with a specific primary and additional languages

Description

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.

Usage

export_with_languages(
  x,
  language,
  path,
  additional_languages = NULL,
  new_sid = x$sid,
  backupLanguage = x$language,
  prefix = "limesurvey--",
  suffix = "",
  parallel = TRUE
)

Arguments

x

The Survey object.

language

The desired primary language.

path

The path where to save the .TSV file.

additional_languages

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.

new_sid

If specified, a new sid to use.

backupLanguage

The language to use if an element is not specified in one of the languages.

prefix

The prefix to use in the filename.

suffix

The suffix to use in the filename.

parallel

Whether to use multiple cores when exporting the survey.

Value

Invisibly, the cloned and altered survey object.

Examples

### Add later

[Package limonaid version 0.1.5 Index]