ls_set_participant_properties: Set or Edit Attribute(s) of an Participant

Description Usage Arguments Value See Also Examples

View source: R/limesurvey.R

Description

Set or Edit Attribute(s) of an Participant

Usage

1
ls_set_participant_properties(survey_id, participant, ...)

Arguments

survey_id

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

participant

integer or list, one token ID (not token!) from participant database. Use ls_participants() to get the tid. Another option is to pass a list of one ore more participant properties, i.e. list(lastname = "Doe")

...

attributes in the form attribute_name = attribute_value.

Value

A tibble with the participant row just edited.

See Also

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

Examples

1
2
3
4
5
6
7
## Not run: 
ls_set_participant_properties(123456,
  participant = 18, email = "new@email.cz",
  attribute_1 = 600123456
)

## End(Not run)

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