if (FALSE) {
url <- "Enter your API URL here"
token <- "Enter your API token here"
rcon <- redcapConnection(url = url,
token = token)
# 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