get_meta_cols {EDCimport} | R Documentation |
Get columns shared by most datasets
Description
In most trialmaster exports, many datasets share a certain amount of columns containing meta-data that are often irrelevant to the point. This function identifies the columns that are present in at least 95% of datasets (by default)
Usage
get_meta_cols(min_pct = getOption("edc_meta_cols_pct", 0.95))
Arguments
min_pct |
Default= |
Value
a character vector
Examples
tm = edc_example_mixed()
load_list(tm)
meta_cols = get_meta_cols()
long_mixed %>% dplyr::select(-dplyr::any_of(meta_cols))
[Package EDCimport version 0.5.2 Index]