lsdf_for_language {limonaid}R Documentation

Produce the dataframe containing the survey for one language

Description

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

Usage

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.


[Package limonaid version 0.1.5 Index]