Response count filter
ResponseCountFilter #
Bases: RapidataFilter, BaseModel
ResponseCountFilter Class Can be used to filter users based on the number of responses they have given on validation tasks with the specified dimension.
response_count (int): The number of user responses to filter by.
dimension (str): The dimension to apply the filter on (e.g. "default", "electrical", etc.).
operator (str): The comparison operator to use. Must be one of:
- ComparisonOperator.EQUAL
- ComparisonOperator.NOTEQUAL
- ComparisonOperator.LESSTHAN
- ComparisonOperator.LESSTHANOREQUAL
- ComparisonOperator.GREATERTHAN
- ComparisonOperator.GREATERTHANOREQUAL
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
ValueError
|
If |
ValueError
|
If |