From 02b9c7ffe70dfd42028ccf8eb3d2098561ef0a24 Mon Sep 17 00:00:00 2001 From: Andreas Gammelgaard Damsbo Date: Tue, 6 Feb 2024 14:16:09 +0100 Subject: [PATCH] added sanitize to clean up split --- vignettes/Introduction.Rmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vignettes/Introduction.Rmd b/vignettes/Introduction.Rmd index bf390dd..dee8a4f 100644 --- a/vignettes/Introduction.Rmd +++ b/vignettes/Introduction.Rmd @@ -35,7 +35,7 @@ redcapcast_meta |> gt::gt() list <- REDCap_split(records = redcapcast_data, metadata = redcapcast_meta, - forms = "repeating") + forms = "repeating")|> sanitize_split() str(list) ``` @@ -43,7 +43,7 @@ str(list) list <- REDCap_split(records = redcapcast_data, metadata = redcapcast_meta, - forms = "all") + forms = "all") |> sanitize_split() str(list) ``` @@ -60,7 +60,7 @@ The function works very similar to the `REDCapR::redcap_read()` in allowing to s ## Pivotting to wider format ```{r} -# redcap_wider(ds) +redcap_wider(list) |> str() ```