Skip to contents

A survey can comprise one or more custom attributes useful for encoding participant characteristics directly within participants table. However, LimeSurvey refers to them as attribute_x (where x is the attribute position) which is not useful at all. The function aims to resolve this issue by returning so-called "semantic" form of attributes with human-readable description.

Usage

ls_get_attrs(survey_id)

Arguments

survey_id

integer, ID of the survey (as found, e.g., with ls_surveys()).

Value

A character vector of "semantic" attributes with names denoting "raw" attributes used internally by LimeSurvey.

Examples

if (FALSE) {
ls_get_attrs(123456)
}