rc_strip | R Documentation |
Removes any columns which contain only NA
. Likewise,
rows are removed in a similar fashion but any REDCap factor fields
(record_id, redcap event/repeat) are ignored.
rc_strip(
record_data,
columns = TRUE,
rows = TRUE,
factor_cols = NULL,
id_field = getOption("redcap_bundle")$id_field
)
record_data |
Dataframe. Record data exported from REDCap |
columns |
Logical. When |
rows |
Logical. When |
factor_cols |
Character. Column names to ignore when looking for empty rows. By default, the id_field and the REDCap event/repeat columns will be used. |
id_field |
Character. The name of the record_id field for your REDCap project. |
Marcus Lehr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.