Skip to content

redcap export fieldnames

Jonathan Chan edited this page May 11, 2018 · 4 revisions

redcap-export-fieldnames exports fieldnames for a given project from REDCap. This is easier than parsing the metadata export.

Parameter Description
host Server hostname
token Authentication token (project and user specific!)

Examples

Example 1: Exporting all fieldnames of a project.

> (define redcap:token "54CC....CC10")
> (define redcap:hostname "redcap.INSTITUTIONNAME.ca")
> (redcap-export-fieldnames redcap:hostname redcap:token)             
("record_id"
 "procedure_date"
 "age"
 "weight")
Clone this wiki locally