statfunc¶
Function filtering support
Synopsis¶
statfunc
Arguments:
ds: dataset name
rq_id: ID of request series
filter: optional name of applying filter
- conditions: optional list of applying condition descriptors
in JSON string representation
dtree: optional name of applying decision tree
code: optional code of applying decision tree
no: optional position on tree, int as string
unit: function name
- param: parameters of function
JSON string representation
- ctx: optional, context descriptor
in JSON string representation
Return value: Property Status structure
Description¶
Request returns status report for function applied to selection determined by arguments:
filter applies if either filter or conditions is set (see discussion here)
decision tree applies if either dtree or code is set (see discussion here)
in this case no is necessary, since decision tree defines series of selections
otherwise selection is the full list of variants in dataset
See discussion and functions reference in Filtering functions.