Creates zip-file with necessary content to manually add instrument to database
Creates zip-file with necessary content to manually add instrument to database
Metadata can be added by editing the data dictionary of a project in the initial design phase. If you want to later add new instruments, this function can be used to create (an) instrument(s) to add to a project in production.
export_redcap_instrument(data, file, force =FALSE, record.id ="record_id")
Arguments
data: metadata for the relevant instrument. Could be from ds2dd_detailed()
file: destination file name.
force: force instrument creation and ignore different form names by just using the first.
record.id: record id variable name. Default is 'record_id'.