pipe_get_data: Get data

View source: R/aliases.R

pipe_get_dataR Documentation

Get data

Description

Get the data set for the pipeline

Usage

pipe_get_data(pip)

Arguments

pip

Pipeline object

Value

the output defined in the data step, which by default is the first step of the pipeline

Examples

p <- pipe_new("pipe", data = 1:2)
pipe_get_data(p)
pipe_set_data(p, 3:4)
pipe_get_data(p)

pipeflow documentation built on April 3, 2025, 10:50 p.m.