Hello, I have a parameter defined and will like to apply the filter tool to it. How do I go about it. The parameters will come from the following list
protected function defaultParamValues()
{
return array(
"parameter1"=>(2,3,4),
"parameter2"=>(100,200,300),
);
}
->pipe(new Filter(array(
array("analyte","in",parameter1),
"and"
array("sample_id","<",parameter2)
)))
I also saw this under the datasource documentation.
$store = $this->dataStore("data")
->filter(function($row){
return $row["income"]>50000;
});
How will that also be implemented correctly for my senario
Please advice on the format