This is used when exporting surveys to LimeSurvey's TSV format.

lsdf_for_language(
  language,
  groups,
  exportGroupIdMapping,
  exportQuestionIdMapping,
  backupLanguage,
  silent = limonaid::opts$get("silent")
)

Arguments

language

The language for which to produce the data frame.

groups

The groups object in the Survey object.

exportGroupIdMapping, exportQuestionIdMapping

Used to map Survey object identifier onto the identifier model used in the LimeSurvey TSV.

backupLanguage

The language to get content from if not available in the primary language

silent

Whether to be silent or chatty.

Value

Invisibly, the Survey object.