update_response: Update the value of an embedded data field in a survey...

Description Usage Arguments Value Examples

View source: R/survey-response-exports.R

Description

Update the value of an embedded data field in a survey response

Usage

1
update_response(surveyId, responseId, embeddedData, resetRecordedDate = TRUE)

Arguments

surveyId

the id of survey to copy

responseId

ID of the response to be deleted

embeddedData

JSON object representing the embedded data fields to set.

resetRecordedDate

Default: true - Sets the recorded date to the current time. If false, the recorded date will be incremented by one millisecond.

Value

A status.

Examples

1
2
3
## Not run: update_response("SV_012345678912345", "R_012345678912345",
{"EDField": "EDValue"}, FALSE)
## End(Not run)

ppssphysics/QualtricsInR documentation built on Aug. 30, 2021, 8:12 a.m.