select_one_of: 'dplyr::select(data, tidyselect::one_of(cols),...

Description Usage Arguments Details Value See Also

View source: R/dplyr-cols.R

Description

Shorthand for {dplyr} functions called consecutively.

Usage

1

Arguments

data

A data.frame.

cols

A character vector corresponding to the columns in data to be selected by dplyr::one_of().

drop

If FALSE, does NOT drop all columns not specified by cols. (i.e. This is like calling tidyselect::everything()).

Details

There is probably a better way to implement this function internally. Should review tidyselect::one_of() and tidyr::separate()'s into argument.

Value

A tibble.

See Also

Other dplyr-cols: add_rnk_col


tonyelhabr/tetidy documentation built on May 29, 2019, 3:18 p.m.