Skip to contents

Initialize FilteredData

Usage

init_filtered_data(x, join_keys, code, cdisc, check)

Arguments

x

(named list or TealData) In case of TealData see teal.data::teal_data(). If the list is provided, it should contain list(s) containing following fields:

  • dataset data object object supported by FilteredDataset.

  • metatada (optional) additional metadata attached to the dataset.

  • keys (optional) primary keys.

  • datalabel (optional) label describing the dataset.

  • parent (optional) which dataset is a parent of this one.

join_keys

(JoinKeys) see teal.data::join_keys().

code

(CodeClass) see teal.data::CodeClass.

cdisc

(logical(1)) whether data is of cdisc type (relational).

check

(logical(1)) whether data has been check against reproducibility.

Examples

library(shiny)
datasets <- teal.slice::init_filtered_data(
  x = list(
    iris = list(dataset = iris),
    mtcars = list(dataset = mtcars, metadata = list(type = "training"))
  )
)