This function uses "tidy select" methods of subsetting the columns of a dataset. It's another way of doing ds[,vars].
ds[,vars]
# S3 method for CrunchDataset select(.data, ...)
A CrunchDataset
CrunchDataset
names of variables in .data or other valid selection functions, passed to tidyselect::vars_select()
.data
tidyselect::vars_select()
.data with only the selected variables.
# NOT RUN { ds %>% select(contains("ear")) %>% filter(gear > 4) %>% collect() # }
Run the code above in your browser using DataLab