pull_output: Extract output components from a pipeline

View source: R/pipeline.R

pull_outputR Documentation

Extract output components from a pipeline

Description

Extract output components from a pipeline

Usage

pull_output(x, component, ...)

## S3 method for class 'sewage_pipeline'
pull_output(x, component, ...)

Arguments

x

an executed pipeline object

component

a character string specifying which output component to pull

...

reserved for future use

Value

output from a terminating node of an executed sewage pipeline

Examples

pipeline = Pipeline() |>
    add_node(component = head, name = "Head", input = 'file')
result = run(pipeline, file = iris)
pull_output(result, "Head")

sewage documentation built on May 31, 2023, 9:29 p.m.