Learn R Programming

EDCimport (version 0.4.1)

extend_lookup: Extend the lookup table

Description

This utility extends the lookup table to include:

  • n_id the number of patients present in the dataset

  • rows_per_id the mean number of row per patient

  • crfname the actual name of the dataset

Usage

extend_lookup(
  lookup,
  ...,
  key_columns = get_key_cols(lookup),
  datasets = get_datasets(lookup)
)

Value

the lookup, extended

Arguments

lookup

[data.frame(1)]
the lookup table

...

unused

key_columns

[list(n)]
for experts only

datasets

[data.frame(n)]
for experts only

Examples

Run this code
#tm = read_trialmaster("filename.zip", pw="xx")
tm = edc_example_mixed()
load_list(tm)
.lookup
.lookup = extend_lookup(.lookup)
.lookup

Run the code above in your browser using DataLab