Skip to content
Chris Petersen edited this page Oct 16, 2014 · 4 revisions

redcap-export-ids exports all primary ids for a given project from REDCap.

Parameter Description
host Server hostname
token Authentication token (project and user specific!)
xargs Optional: Allows additional parameters to be specified, e.g. events with 'event "demographics_arm_1"

Example

Example 1: Exporting all primary ids of a project.

> ;;Testing Export Ids function
> (define redcap:token "54CC....CC10")
> (define redcap:hostname "redcap.INSTITUTIONNAME.ca")
> (redcap-export-ids redcap:hostname redcap:token)
("1" "2" "4" "4")

Clone this wiki locally