Using Script Mode to define a filter (AskiaVista)

To use script mode to define a filter, simply type your script into the box. For a full description of the AskiaScript language, see AskiaScript. While you editing your script, AskiaVista can check your script's syntax for you. To instigate this check, simply click Check filter.

Note: in no way does this validation imply that AskiaVista can verify a condition's logic, that is, whether or not it will have the intended effect. This check only confirms that the correct AskiaScript syntax has been used, and it is possible that logical errors in the syntax remain.

Example: filter created from a category question

Suppose we have a category question called Gender, and we want our filter to allow only respondents who gave the answer Male. We would type the following script:

??i1. Gender?? HasAll {1}

 

Operators

You can use the following operators in your expressions (see the AskiaScript reference for details):

Create your own Knowledge Base