mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-11-24 14:01:55 +01:00
added sanitize to clean up split
This commit is contained in:
parent
4f47c2ac5d
commit
02b9c7ffe7
@ -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()
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user