There are many ways to create a filter in Displayr. If you want to create a filter for each category in a variable set, you may need to transform the data before creating the filters. You will need to do this in a few circumstances such as:
- You have a nominal variable and you want to be able to filter on individual categories.
- You've merged categories or created NETs that you want to use as the filter.
This article has the steps required to create an individual filter for each answer code shown on the below Page...
The first table is a Nominal variable and the second table is a copy with categories merged and netted. After running the automation, these will appear in the Data Set tree as individual Binary - Multi: Non-mutually exclusive categories variables usable in the Filter(s) dropdown on outputs and Filter header on Pages in View Mode.
- A Data Set with at least one variable Structured as: Nominal, Ordinal, Binary-Multi, Binary-Grid, or Binary-Multi (Compact).
- In the Date Sets tree select the variable sets you wish to create filters from.
- Click Anything > Filter > Filters from Selected Data.
- [Optional] You may be asked to verify which values are counted in the new variable set. Click the Fix button and verify the Selected responses (or the appropriate affirmative response) are counted in the filter:
- [Optional] You can customize how this filter appears in the list of filters in View Mode, see How to Customize the Filter Control List in View Mode. This should be done before applying the filter to any outputs.
The filters are now available to use. To apply a filter, see How to Apply a Filter.
How to Customize the Filter Control List in View Mode
How to Tag a Variable as a Filter
How to Create New Binary Variable(s)
How to Connect Filters to Controls Using R Code
Article is closed for comments.