mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-11-22 05:20:23 +01:00
better handling intrument export
This commit is contained in:
parent
c3b54b0860
commit
b7e0873b00
@ -48,7 +48,7 @@ export_redcap_instrument <- function(data,
|
||||
ideas on exporting multiple instruments.")
|
||||
}
|
||||
|
||||
if (record.id %in% data[["field_name"]]){
|
||||
if (!is.na(record.id) && record.id %in% data[["field_name"]]){
|
||||
data <- data[-match(record.id,data[["field_name"]]),]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user