data_key {cohortBuilder}R Documentation

Define Source dataset key

Description

Data keys are used to define primary_keys and binding-keys.

Usage

data_key(dataset, key)

Arguments

dataset

Name of the dataset included in Source.

key

Character or character vector storing column names to be used as table keys.

Value

'data_key' class list of two objects: 'dataset' and 'key' storing name and vector of data key names respectively.


[Package cohortBuilder version 0.2.0 Index]