View source: R/deleteRecords.R
deleteRecords | R Documentation |
These methods enable the user to delete records from a project.
deleteRecords(
rcon,
records,
arm = NULL,
instrument = NULL,
event = NULL,
repeat_instance = NULL,
delete_logging = FALSE,
...
)
## S3 method for class 'redcapApiConnection'
deleteRecords(
rcon,
records,
arm = NULL,
instrument = NULL,
event = NULL,
repeat_instance = NULL,
delete_logging = FALSE,
...
)
rcon |
A |
records |
|
arm |
|
instrument |
|
event |
|
repeat_instance |
|
delete_logging |
|
... |
Arguments to pass to other methods |
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.