if (FALSE) {
unlockREDCap(connections = c(rcon = "project_alias"),
url = "your_redcap_url",
keyring = "API_KEYs",
envir = globalenv())
# Get the next record name
exportNextRecordName(rcon)
# Rename an existing record
renameRecord(rcon,
record_name = "1",
new_record_name = "42")
}
Run the code above in your browser using DataLab