ls_get_attrs: Get Survey Attributes in Semantic Form

View source: R/limesurvey.R

ls_get_attrsR Documentation

Get Survey Attributes in Semantic Form

Description

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.

See Also

Other LimeSurvey functions: ls_add_participants(), ls_call(), ls_export(), ls_invite(), ls_login(), ls_participants(), ls_responses(), ls_set_participant_properties(), ls_surveys()

Examples

## Not run: 
ls_get_attrs(123456)

## End(Not run)


scholaempirica/reschola documentation built on Feb. 1, 2024, 12:26 a.m.