A program to recognize and reward our most engaged community members
id att0_time1 att0_time2....1 5 ?2 1 2
<?xml version="1.0" encoding="UTF-8" standalone="no"?><process version="5.3.015"> <context> <input/> <output/> <macros/> </context> <operator activated="true" class="loop_values" compatibility="5.3.015" expanded="true" height="76" name="Loop Values (2)" width="90" x="447" y="165"> <parameter key="attribute" value="person_id"/> <parameter key="iteration_macro" value="loop_value"/> <parameter key="parallelize_iteration" value="false"/> <process expanded="true"> <operator activated="true" class="filter_examples" compatibility="5.3.015" expanded="true" height="76" name="Filter Examples" width="90" x="112" y="30"> <parameter key="condition_class" value="attribute_value_filter"/> <parameter key="parameter_string" value="person_id=%{loop_value}"/> <parameter key="invert_filter" value="false"/> </operator> <operator activated="true" class="generate_id" compatibility="5.3.015" expanded="true" height="76" name="Generate ID" width="90" x="313" y="30"> <parameter key="create_nominal_ids" value="false"/> <parameter key="offset" value="0"/> </operator> <connect from_port="example set" to_op="Filter Examples" to_port="example set input"/> <connect from_op="Filter Examples" from_port="example set output" to_op="Generate ID" to_port="example set input"/> <connect from_op="Generate ID" from_port="example set output" to_port="out 1"/> <portSpacing port="source_example set" spacing="0"/> <portSpacing port="sink_out 1" spacing="0"/> <portSpacing port="sink_out 2" spacing="0"/> </process> </operator></process>
sgenzer wrote:Hi...have you tried looping by value (ID) and then setting the data with the filtered set? I do this all the time. It's less efficient than pivoting but sometimes cleaner.Scott