View source: R/deleteRecords.R
deleteRecords | R Documentation |
These methods enable the user to delete records from a project.
deleteRecords(rcon, records, arm = NULL, ...)
## S3 method for class 'redcapApiConnection'
deleteRecords(
rcon,
records,
arm = NULL,
...,
error_handling = getOption("redcap_error_handling"),
config = list(),
api_param = list()
)
rcon |
A |
records |
|
arm |
|
... |
Arguments to pass to other methods |
error_handling |
|
config |
A named |
api_param |
A named |
deleteRecords
invisibly returns a character value giving the number of records deleted.
exportRecords()
,
importRecords()
,
exportRecordsTyped()
## Not run:
unlockREDCap(connections = c(rcon = "project_alias"),
url = "your_redcap_url",
keyring = "API_KEYs",
envir = globalenv())
# Delete records
deleteRecords(rcon,
records = c("1", "2"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.