Filter a data frame by the filter terms in ....

filter_nse(.data, ..., filter_nse_env = parent.frame())

Arguments

.data

data.frame

...

stringified expressions to filter by.

filter_nse_env

environment to work in.

Value

.data filtered by columns named in filterTerms

See also

Examples

upperBound <- 3.5 datasets::iris %.>% filter_nse(., Sepal.Length >= 2 * Sepal.Width, Petal.Length <= upperBound)
#> Sepal.Length Sepal.Width Petal.Length Petal.Width Species #> 1 4.9 2.4 3.3 1.0 versicolor #> 2 5.0 2.0 3.5 1.0 versicolor #> 3 5.7 2.6 3.5 1.0 versicolor #> 4 5.0 2.3 3.3 1.0 versicolor #> 5 5.1 2.5 3.0 1.1 versicolor