Learn R Programming

analysisPipelines (version 1.0.2)

getPipeline: Obtain the pipeline

Description

Obtain the pipeline

Usage

getPipeline(object)

# S4 method for BaseAnalysisPipeline getPipeline(object)

Arguments

object

The AnalysisPipeline or StreamingAnalysisPipeline object

Value

Tibble describing the pipeline

Details

Obtains the pipeline from the AnalysisPipeline or StreamingAnalysisPipeline object as a tibble

This method is implemented on the base class as it is a shared functionality types of Analysis Pipelines which extend this class

See Also

Other Package core functions: BaseAnalysisPipeline-class, MetaAnalysisPipeline-class, assessEngineSetUp, checkSchemaMatch, createPipelineInstance, exportAsMetaPipeline, generateOutput, genericPipelineException, getInput, getLoggerDetails, getOutputById, getPipelinePrototype, getRegistry, initDfBasedOnType, initialize,BaseAnalysisPipeline-method, loadMetaPipeline, loadPipeline, loadPredefinedFunctionRegistry, loadRegistry, prepExecution, registerFunction, savePipeline, saveRegistry, setInput, setLoggerDetails, updateObject, visualizePipeline

Examples

Run this code
# NOT RUN {
library(analysisPipelines)
pipelineObj <- AnalysisPipeline(input = iris)
getNumRows <- function(dataset){
  return(nrow(dataset))
}
registerFunction("getNumRows")
pipelineObj %>>% getNumRows %>>% getPipeline
# }

Run the code above in your browser using DataLab