Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

exportSurveyParticipants

Exports details of participants for a given survey


Description

Retrieving dataframe of survey participants managed in REDCap

Usage

exportSurveyParticipants(rcon, instrument, event, ...)

## S3 method for class 'redcapDbConnection'
exportSurveyParticipants(rcon, instrument, event, ...)

## S3 method for class 'redcapApiConnection'
exportSurveyParticipants(
  rcon,
  instrument,
  event,
  ...,
  error_handling = getOption("redcap_error_handling")
)

Arguments

rcon

A REDCap connection object as generated by redcapConnection.

instrument

A string type holding the name of "instrument" or survey the participants are managed under

event

A string type holding the name of the event that the instrument belongs to

...

additional arguments to pass to other methods.

error_handling

An option for how to handle errors returned by the API. see redcap_error

Details

REDCap allows the user to manage a list of participants (if they are known) for each survey. This function pulls this information into a dataframe. The contents of the dataframe are the contact fields of the participants, the link to the survey for that participant if the participant hasn't completed the survey yet (otherwise, NA), the participants record id, and other information.

Author(s)

Paddy Tobias


redcapAPI

Interface to 'REDCap'

v2.3
GPL-2
Authors
Benjamin Nutter [aut, ctb, cre], Stephen Lane [ctb], Will Beasley [ctb], Jeffrey Horner [ctb], Will Gray [ctb], Jeremy Stephens [ctb], Marcus Lehr [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.