if (FALSE) {
unlockREDCap(connections = c(rcon = "project_alias"),
url = "your_redcap_url",
keyring = "API_KEYs",
envir = globalenv())
# Export all of the logging events
exportLogging(rcon)
# Export all of the events for record '2'
exportLogging(rcon,
record = "2")
# Export all of the events where a record was deleted
exportLoging(rcon,
logtype = "record_delete")
}
Run the code above in your browser using DataLab