Splitter | R Documentation |
Splitter
takes in exactly one input node and
propogates the input to n output nodes.
Splitter(edges = 2)
edges |
number out outputs. Must be greater than 1 |
After executing a Splitter
object, the pipeline will contains
n outputs and will be named as SplitterName_output{i}
.
a sewage_splitter
object
The ouputs of a Splitter
object are accessed through the naming
convention {name}.output_{i}
where name
is the specified name of the Splitter object. This allows you to pass
split objects to downstream nodes or access them through the pipeline
results.
pipeline = Pipeline()
pipeline = pipeline |>
add_node(name = 'Splitter', component = Splitter(), input = 'file')
result = run(pipeline, file = mtcars)
pull_output(result, 'Splitter.output_1')
pull_output(result, 'Splitter.output_2')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.