New function to export redcap data with labels

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-11-26 14:46:11 +01:00
commit 21c2dc0444
No known key found for this signature in database
6 changed files with 228 additions and 3 deletions

View file

@ -65,7 +65,8 @@ c(1, 4, 3, "A", 7, 8, 1) |> as_factor()
structure(c(1, 2, 3, 2, 10, 9),
labels = c(Unknown = 9, Refused = 10)
) |>
as_factor() |> dput()
as_factor() |>
dput()
structure(c(1, 2, 3, 2, 10, 9),
labels = c(Unknown = 9, Refused = 10),