redcap url set! - part-cw/lambdanative GitHub Wiki
(redcap-url-set! url)
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")