minor adjustments

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-04-08 13:45:07 +02:00
commit 65327a4879
No known key found for this signature in database
8 changed files with 69 additions and 27 deletions

View file

@ -213,6 +213,7 @@ default_parsing <- function(data) {
name_labels <- lapply(data, \(.x) REDCapCAST::get_attr(.x, attr = "label"))
out <- data |>
setNames(make.names(names(data),unique = TRUE)) |>
REDCapCAST::parse_data() |>
REDCapCAST::as_factor() |>
REDCapCAST::numchar2fct(numeric.threshold = 8, character.throshold = 10) |>