mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2025-01-18 21:16:34 +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…
x
Reference in New Issue
Block a user