From fdad86d76298f814f0c70fb2713aa5df351b56a5 Mon Sep 17 00:00:00 2001 From: Andreas Gammelgaard Damsbo Date: Wed, 17 Jan 2024 13:54:14 +0100 Subject: [PATCH] fixed ds2dd default metadata --- R/ds2dd.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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