teal_data_utilities: 'teal_data' utils

teal_data_utilitiesR Documentation

teal_data utils

Description

In teal we need to recreate the teal_data object due to two operations:

  • we need to append filter-data code and objects which have been evaluated in FilteredData and we want to avoid double-evaluation.

  • we need to subset teal_data to datanames used by the module, to shorten obtainable R-code

Usage

.append_evaluated_code(data, code)

.append_modified_data(data, objects)

Arguments

data

(teal_data)

code

(character) code to append to the object's code slot.

objects

(list) objects to append to object's environment.

Details

Due to above recreation of teal_data object can't be done simply by using public teal.code and teal.data methods.

Value

modified teal_data


teal documentation built on April 3, 2025, 5:32 p.m.