quick and working sollution to get variable suffixes in the tables. included in the easy_redcap() when widening

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-11-28 21:00:28 +01:00
commit c52fd2947c
No known key found for this signature in database
7 changed files with 102 additions and 26 deletions

View file

@ -49,7 +49,9 @@ easy_redcap <- function(project.name, widen.data = TRUE, uri, ...) {
)
if (widen.data) {
out <- out |> redcap_wider()
out <- out |>
redcap_wider() |>
suffix2label()
}
out