- 
                Notifications
    
You must be signed in to change notification settings  - Fork 88
 
redcap import record csv
        Jonathan Chan edited this page May 11, 2018 
        ·
        2 revisions
      
    redcap-import-record-csv imports a record into REDCap using CSV formatted data
| Parameter | Description | 
|---|---|
| host | Server hostname | 
| token | Authentication token (project and user specific!) | 
| str | A long string with CSV data of the record to be imported | 
| xargs | Optional parameters; see below | 
Optional parameters must come in pairs of 'symbol "string".
| Optional Parameter | Description | 
|---|---|
| 'overwrite "[over]" | Declares the overwrite behaviour for blank or empty values. "[over]" may be "normal" (no overwriting) or "overwrite". Default is "overwrite". | 
Example 1: Import data into REDCap using CSV formatted strings, e.g. read from a previously stored data file.
> (define redcap:token "54CC....CC10")
> (define redcap:hostname "redcap.INSTITUTIONNAME.ca")
> (define str "...")
> (redcap-import-record-csv redcap:hostname redcap:token str 'overwrite "normal")
#t
- 
- accelerometer
 - alist
 - audio
 - audioaux
 - base64
 - btle-scan
 - camera
 - cdb
 - cgi
 - config
 - csv
 - curl
 - digest
 - dmtx
 - download
 - eventloop
 - fcgi
 - fft
 - generalized-arrays
 - gps
 - graph
 - gyro
 - hidapi
 - hpdf
 - html
 - httpsclient
 - hybridapp
 - json
 - lmdb
 - ln_core
 - ln_glcore
 - ln_glgui
 - ln_store
 - localization
 - localization_gui
 - localnotification
 - magnetometer
 - mdns
 - mqtt
 - mqtt-store
 - multitouch
 - oauth
 - orientation
 - p256ecdsa
 - png
 - portaudio
 - pregexp
 - pressure
 - prime
 - pushnotification
 - redcap
 - rsa
 - rtaudio
 - rupi
 - rotation
 - sanestring
 - scheduler
 - serial
 - sets
 - settings
 - simplexnoise
 - sqlite
 - ssax
 - syntax-case
 - timestamp
 - ttf
 - uiform
 - url
 - uuid
 - vibrate
 - videoplayer
 - watchdog
 - website
 - xml
 - zip