Learn R Programming

EDCimport (version 0.5.2)

get_common_cols: Get columns that are common to multiple datasets

Description

[Experimental] 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 common_cols summary(object, ...)

Value

a tibble of class "common_cols"

Arguments

lookup

the lookup table, default to edc_lookup()

min_datasets

the minimal number of datasets to be considered

object

an object of class "common_cols"

...

unused

Examples

Run this code
tm = edc_example()
load_list(tm)
x = get_common_cols(min_datasets=1)
x
summary(x)

Run the code above in your browser using DataLab