diff --git a/R/ds2dd.R b/R/ds2dd.R index 60ec378..ce5d370 100644 --- a/R/ds2dd.R +++ b/R/ds2dd.R @@ -32,7 +32,7 @@ ds2dd <- field.type = "text", field.label = NULL, include.column.names = FALSE, - metadata = names(redcapcast_meta)) { + metadata = metadata_names) { dd <- data.frame(matrix(ncol = length(metadata), nrow = ncol(ds))) colnames(dd) <- metadata