Learn R Programming

cohortBuilder (version 0.3.0)

tblist: Create in memory tables connection

Description

Create data connection as a list of loaded data frames. The object should be used as `dtconn` argument of set_source.

Usage

tblist(..., names)

as.tblist(x, ...)

Value

Object of class 'tblist' being a named list of data frames.

Arguments

...

additional arguments to be passed to or from methods.

names

A character vector describing provided tables names. If missing names are constructed based on provided tables objects.

x

an R object.

Examples

Run this code
str(tblist(mtcars))
str(tblist(mtcars, iris))
str(tblist(MT = mtcars, IR = iris))
str(tblist(mtcars, iris, names = c("MT", "IR")))

Run the code above in your browser using DataLab