in
Filter for one or more values from a list.
This operator provides a highly efficient way to filter input objects because it allows you to look for multiple values with one command.
The in operator takes a comma-separated list of string or integer arguments. You cannot use floating-point arguments.
Note the use of quotes for string arguments and square brackets for integer arguments.
in "string, string, .... string"
in [int, int, .... int]
1. Filter for Tweets from a specified set of authors based on their screen name.
2. Filter for posts written in English, German, or Spanish. Notice that we've used interaction.sample to sip just 1 percent of the objects from the Firehose. Without this limit, the stream would produce a very large number of output objects.
3. Filter for posts by author id. The stream will contain posts written by all of these authors. Note the syntax requires square brackets [ ] here.
