mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 13:17:30 +02:00
Deploying to gh-pages from @ agdamsbo/REDCapCAST@db75c3313e 🚀
This commit is contained in:
parent
bc2e23a272
commit
0b30252598
171 changed files with 7009 additions and 602 deletions
38
reference/sanitize_split.md
Normal file
38
reference/sanitize_split.md
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Sanitize list of data frames
|
||||
|
||||
Removing empty rows
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
sanitize_split(
|
||||
l,
|
||||
generic.names = c("redcap_event_name", "redcap_repeat_instrument",
|
||||
"redcap_repeat_instance"),
|
||||
drop.complete = TRUE,
|
||||
drop.empty = TRUE
|
||||
)
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- l:
|
||||
|
||||
A list of data frames.
|
||||
|
||||
- generic.names:
|
||||
|
||||
A vector of generic names to be excluded.
|
||||
|
||||
- drop.complete:
|
||||
|
||||
logical to remove generic REDCap variables indicating instrument
|
||||
completion. Default is TRUE.
|
||||
|
||||
- drop.empty:
|
||||
|
||||
logical to remove variables with only NAs Default is TRUE.
|
||||
|
||||
## Value
|
||||
|
||||
A list of data frames with generic names excluded.
|
||||
Loading…
Add table
Add a link
Reference in a new issue