This function creates a new filter. You can achieve the same results by
assigning into a dataset's filters catalog, but this may be a more natural
way to think of the action, particularly when you want to do something with
the filter entity after you create it.
Usage
newFilter(name, expression, catalog = NULL, ...)
Arguments
name
character name for the filter
expression
CrunchLogicalExpr with which to make a filter entity
catalog
FilterCatalog in which to create the new filter. May also
provide a dataset entity. If omitted, the function will attempt to infer the
dataset (and thus its FilterCatalog) from the contents of expression.
...
Additional filter attributes to set. Options include is_public.