RTransformation-class: Application which runs KBC transformations in R

Description Methods

Description

Application which runs KBC transformations in R

Methods

initialize(args = NULL)

Constructor.

Parameters

  • args Optional name of data directory, if not supplied then it will be read from command line argument or environment KBC_DATADIR.

Return Value

Response body - either list or string in case the body cannot be parsed as JSON.

installModulePackages()

Install and load all required libraries.

Return Value

TRUE

prepareTaggedFiles()

When supplied a list of tags, select input files with the given tags and prepare the most recent file of those into a /user/ folder

Parameters

  • packages Character vector of tag names.

Return value

TRUE

run()

Main application entry point.

Return Value

TRUE

silence(command)

Silence all but error output from a command.

Parameters

  • command Arbitrary command.

Return Value

Command return value

validate()

Validate application configuration.

Return Value

TRUE


keboola/r-transformation documentation built on Sept. 13, 2021, 3:31 a.m.