fixed ds2dd default metadata

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-01-17 13:54:14 +01:00
parent 9f4bb011ac
commit fdad86d762

View File

@ -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