View source: R/exportVersion.R
exportVersion | R Documentation |
These methods enable the user to export the REDCap instance version number.
exportVersion(rcon, ...)
## S3 method for class 'redcapApiConnection'
exportVersion(rcon, ...)
rcon |
A |
... |
Arguments to pass to other methods |
Returns a character value giving the version number.
IF this function is used in a version of REDCap that does not support the method (prior to version 6.0.0), the value "5.12.2" will be returned. This is done solely for the convenience of always returning a value that can be compared against other versions.
## Not run:
unlockREDCap(connections = c(rcon = "project_alias"),
url = "your_redcap_url",
keyring = "API_KEYs",
envir = globalenv())
# Export the version number
exportVersion(rcon)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.