Merge sourceDataSet in the current DataSet. It will update the value of points with the same label if overwrite is set to 1.
Merge sourceDataSet in the current DataSet. It will update the value of points with the same label if overwrite is set to 1. To add columns instead, see the 'transformJoin' method of link::Classes/FluidDataSetQuery::
@ -91,6 +91,17 @@ Destination data, or the DataSet name
ARGUMENT:: action
Run when done
METHOD:: transformJoin
Apply the query to a source link::Classes/FluidDataSet:: and join all items of a source2 with the same label to a destination. Can be the same. To add items at the end of a dataset instead, see the 'merge' method of link::Classes/FluidDataSet::
ARGUMENT:: source1DataSet
Source data, or the DataSet name
ARGUMENT:: source2DataSet
Source data, or the DataSet name
ARGUMENT:: destDataSet
Destination data, or the DataSet name
ARGUMENT:: action
Run when done
EXAMPLES::
@ -144,3 +155,33 @@ fork{
~out.print;
::
STRONG:: Joining Datasets::
code::
//this is how to join 2 datasets, adding columns to items with the same label
//create 3 datasets
(
~dsA = FluidDataSet.new(s,\joinA);
~dsB = FluidDataSet.new(s,\joinB);
~dsC = FluidDataSet.new(s,\joinC);
)
//feed them items with the same labels but with different dimensions