This is a method for the dplyr filter() generic. It generates the WHERE clause of the SQL query.
## S3 method for class 'tbl_lazy'filter(.data,..., .by =NULL, .preserve =FALSE)
Arguments
.data: A lazy data frame backed by a database query.
...: <data-masking> Variables, or functions of variables. Use desc() to sort a variable in descending order.
.by: <tidy-select> Optionally, a selection of columns to group by for just this operation, functioning as an alternative to group_by(). For details and examples, see ?dplyr_by .
.preserve: Not supported by this method.
Returns
Another tbl_lazy. Use show_query() to see the generated query, and use collect() to execute the query and return data to R.