R/oh.survey_response.update.R

Defines functions oh.survey_response.update

Documented in oh.survey_response.update

#' Update the privacy status of a survey response
#' @param campaign_urn campaign id
#' @param survey_key survey id
#' @param privacy_state Must be one of shared or private.
#' @param ... other arguments passed to oh.call
#' @export

oh.survey_response.update <- function(campaign_urn, survey_key, privacy_state="shared", ...){
	oh.call("/survey_response/update", campaign_urn=campaign_urn, survey_key=survey_key, privacy_state=privacy_state, ...)
	message("Survey ", survey_key, " has been shared.")
}

Try the Ohmage package in your browser

Any scripts or data that you put into this service are public.

Ohmage documentation built on Feb. 1, 2019, 1:04 a.m.