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

View source: R/limesurvey.R

ls_set_participant_propertiesR Documentation

Set or Edit Attribute(s) of an Participant

Description

Set or Edit Attribute(s) of an Participant

Usage

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

## Not run: 
ls_set_participant_properties(123456,
  participant = 18, email = "new@email.cz",
  attribute_1 = 600123456
)

## End(Not run)


scholaempirica/reschola documentation built on Oct. 16, 2024, 6:43 a.m.