R/limer_get_participant_property.R

Defines functions limer_get_participant_property

Documented in limer_get_participant_property

#' Get a participant property from a LimeSurvey survey
#'
#' This function exports and downloads a participant property from a
#' LimeSurvey survey. It was
#' adapted by Gjalt-Jorn Peters from a function originally written by Andrew
#' Heiss.
#'
#' @param iSurveyID \dots
#' @param aTokenQueryProperties \dots
#' @param aTokenProperties \dots
#' @export
#' @examples \dontrun{
#' limer_get_participant_property(
#'   iSurveyID = 12345,
#'   aTokenQueryProperties = 1,
#'   aTokenProperties = list("attribute_1")
#' );
#' }

limer_get_participant_property <- function(iSurveyID, aTokenQueryProperties, aTokenProperties) {

  params <- as.list(environment())

  result <- limer_call_limer(method = "get_participant_properties", params = params)

  return(result)
}

Try the limonaid package in your browser

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

limonaid documentation built on June 14, 2022, 1:06 a.m.