51 ๐Ÿ’ป Typing filters in the Advanced Editor

The commands are applied one by one in sequence, in a pipeline of commands, such that after each command, such as each command starts with the map defined by the previous line and produces a new one.

The order of the lines may matter! You can move lines up and down by pressing Alt+UpArrow or Alt+DownArrow.

This text can also be freely edited and typed independently of using the buttons. You donโ€™t need to fear doing anything wrong because thereโ€™s nothing to break and commands which donโ€™t fit the intended syntax patterns will just be ignored.

When you add a filter using the buttons, the filter replaces any similar filters already in the text window. Occasionally, you might want two different versions of the same filter. For example, you might want to filter usingย find statements field=text value=women operator=containsย and alsoย find statements field=#SourceID value=mkf-8 operator=contains. In this case, uncheckย Replace existing similar filters?ย before applying the filter.

The operators work as youโ€™d expect, so you can for example have a filter likeย find statements field=text value=women OR girls operator=notcontainsย to find statements whose text does not contain either โ€˜womenโ€™ or โ€˜girlsโ€™.

To get an AND rather than an OR, just put one filter after another. To find statements containing women AND girls:

find statements field=text value=women operator=contains

find statements field=text value=girls operator=contains

Read about them all at:ย CausalMapFunctions.