new_teal_data: Initialize 'teal_data' object

View source: R/teal_data-class.R

new_teal_dataR Documentation

Initialize teal_data object

Description

Initialize teal_data object

Usage

new_teal_data(
  data,
  code = character(0),
  join_keys = join_keys(),
  datanames = union(names(data), names(join_keys))
)

Arguments

data

(⁠named list⁠) of data objects.

code

(character or language) code to reproduce the data. Accepts and stores comments also.

join_keys

(join_keys) object

datanames

(character) names of datasets passed to data. Needed when non-dataset objects are needed in the env slot.


teal.data documentation built on May 29, 2024, 8:03 a.m.