filter {crplyr} | R Documentation |
Filter a Crunch dataset
Description
This function applies a CrunchLogicalExpression
filter to a
CrunchDataset
. It's a "tidy" way of doing ds[ds$var == val,]
.
Usage
## S3 method for class 'CrunchDataset'
filter(.data, ..., .preserve = FALSE)
Arguments
.data |
A |
... |
filter expressions |
.preserve |
Relevant when the |
Value
.data
with the filter expressions applied.
Examples
## Not run:
ds %>%
select(cyl, gear) %>%
filter(cyl > 4) %>%
collect()
## End(Not run)
[Package crplyr version 0.4.0 Index]