MetadataActionMapping | R Documentation |
Metadata action: mapping
Metadata action: mapping
Maps a field in the input data to a field in the output data. By default, registers the output field as a spectraVariable.
SpectraMapping::MetadataActionBase
-> MetadataActionMapping
base_settings
source
: field of origin
target
: target field
explicit
: If TRUE
, a star marker is required to register the output field as a spectraVariable
.
This is FALSE
by default, since the main purpose of this action is mapping input to spectraVariable
s.
process_read()
read implementation
MetadataActionMapping$process_read(data, params)
data
MsBackendMapping
to execute the metadata mapping step on
params
List of parameters for a single action (one params
entry fully merged.)
process_write()
write implementation
MetadataActionMapping$process_write(data, params)
data
MsBackendMapping
to execute the metadata mapping step on
params
List of parameters for a single action (one params
entry fully merged.)
clone()
The objects of this class are cloneable with this method.
MetadataActionMapping$clone(deep = FALSE)
deep
Whether to make a deep clone.
mapping <- get_proto_action("mapping", source='FIELD', target='field')
backend <- get_proto_backend(FIELD=c('1','2','3'))
mapped <- mapping$execute_read(backend)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.