DataSource: DataSource interface.

DataSourceR Documentation

DataSource interface.

Description

This class defines a DataSource.

Super class

ranalyse::Node -> DataSource

Methods

Public methods

Inherited methods

Method new()

Usage
DataSource$new(xVarName, variableDesc = NULL, desc = NULL)
Arguments
xVarName

character Name of x-column, must be inside variableDesc.

variableDesc

sets::tuple A tuple of variable names with descriptions. E.g. sets::tuple(name = "varName", desc = "varirable Description") param filterFun functionchar, vector, bool] Takes as input two parameters (name and data). Must return a TRUE if the variable should be included. E.g. function(n, dt) n != "person".


Method createDataSet()

Usage
DataSource$createDataSet(filterVarsFun = NULL)

Method clone()

The objects of this class are cloneable with this method.

Usage
DataSource$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


schnecki/ranalyse documentation built on Dec. 1, 2022, 8:57 p.m.