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

redcap-url-set! specifies a non-standard REDCap API location URL. The default is /redcap/api/.

Parameter Description
url URL for the REDCap API

Examples

Example 1: Exporting all primary ids of a project using a testing server installation, which uses a non-standard URL.

> (define redcap:token "54CC....CC10")
> (define redcap:hostname "redcap.INSTITUTIONTESTSERVER.ca")
> (redcap-url-set! "/redcap_test/api/")
> (redcap-export-ids redcap:hostname redcap:token)
("1" "2" "4" "4")
Clone this wiki locally