mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2025-09-12 18:49:39 +02:00
better handling intrument export
This commit is contained in:
parent
c3b54b0860
commit
b7e0873b00
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ export_redcap_instrument <- function(data,
|
||||||
ideas on exporting multiple instruments.")
|
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"]]),]
|
data <- data[-match(record.id,data[["field_name"]]),]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue