These rules allow you to normalize or standardize your data based on a specific criteria. Transform Rules are applied in the Brushr module but the rule itself must be defined in Supervisr.
To Create a new rule, press the ADD RULE button. This will open the Rule Dialogue window, which consists of 3 sections.
TIP: Any changes to the rule can be immediately observed in the Preview area. A flag next to the Rule Preview label will automatically display the validity of the current rule.
The following blocks are available in the Rules Designer:
- If/Else Do
- Compare value (equals, not equal to, less than, greater than, less or equal, greater or equal, contains, does not contain, starts with, ends with)
- Is empty
- Boolean (True/False)
- Set field value to (assigns a value to the field the rule is applied to)
- Field value (returns a value of the field the rule is applied to)
- Specified field value (returns a value of the selected field)
Note: To activate transform rule, associate it to a field in a dataset. Learn more: Transform Rule: Associate to a field in a dataset