get_common_cols {EDCimport} | R Documentation |
Get columns that are common to multiple datasets
Description
Attempt to list all columns in the database and group the ones that are
common to some datasets.
Useful to find keys to pivot or summarise data.
Usage
get_common_cols(lookup = edc_lookup(), min_datasets = 3)
## S3 method for class 'common_cols'
summary(object, ...)
Arguments
lookup |
the lookup table, default to |
min_datasets |
the minimal number of datasets to be considered |
object |
an object of class "common_cols" |
... |
unused |
Value
a tibble of class "common_cols"
Examples
db = edc_example()
load_database(db)
x = get_common_cols(min_datasets=1)
x
summary(x)
[Package EDCimport version 0.6.0 Index]