Skip to contents

Specifies how output fields from the previous step should be mapped to input fields of this module. Use with %>>% operator.

Usage

map_inputs(module, ...)

Arguments

module

A Module object

...

Named mappings: output_field = "input_field"

Value

A PipelineMappedModule object for use with %>>%

Examples

if (FALSE) { # \dontrun{
# Map 'documents' output to 'context' input
mod_retrieve %>>%
  map_inputs(mod_answer, documents = "context") %>>%
  mod_format
} # }