out_parser: updated fncols function

master
Your Name 4 years ago
parent dc40fbbb19
commit 3cdb68b196

@ -16,7 +16,7 @@ out_parser <- function(out, field, clean = F) {
fncols <- function(data, cname) { fncols <- function(data, cname) {
add <-cname[!cname%in%names(data)] add <-cname[!cname%in%names(data)]
if(length(add)!=0) data[add] <- NA if(length(add)!=0) data[, (add) := (NA)]
data data
} }

Loading…
Cancel
Save