Description Usage Arguments Details Value See Also
Cleaner way for instantiating RedcapUpdate object(s).
It uses an R data frame to instantiate update objects.
This avoids messing up instantiation in R6 classes which is more complex and error prone.
1 | load_updates(updates_data)
|
updates_data |
A dataset containing the updates info. For the column specifications, see Details. |
This function acts as a wrapper for instantiating an object that abstracts the REDCap updates.
It performs the necessary checks for instantiation hence avoids messy objects.
It then calls the new method of the underlying reference class.
The update dataset must contain the following variables:
The update name of format mon-yy, eg Nov-14, Feb-13
The hospital id of the site, must be integer and must be replicated for each update
The date of the update for each specific site
The new variables introduced during the update <must have at least one entry per update>.
The first non misssing entry will be used.
The variable names must be separated by semi-colons.
A list of redcap update class objects.
RedcapUpdate
Redcap
, redcap_project
Other Configuration Objects: RedcapConfig
;
RedcapUpdate
; config_keys
;
load_configs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.