ls_get_attrs: Get Survey Attributes in Semantic Form

Description Usage Arguments Value See Also Examples

View source: R/limesurvey.R

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

1
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

1
2
3
4
## Not run: 
ls_get_attrs(123456)

## End(Not run)

scholaempirica/reschola documentation built on Jan. 22, 2022, 2 p.m.