R/survey-response-exports.R
update_response.RdUpdate the value of an embedded data field in a survey response
update_response(surveyId, responseId, embeddedData, resetRecordedDate = TRUE)
| 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. |
A status.
if (FALSE) update_response("SV_012345678912345", "R_012345678912345", {"EDField": "EDValue"}, FALSE)