tidyselect v1.1.0

0

Monthly downloads

0th

Percentile

Select from a Set of Strings

A backend for the selecting functions of the 'tidyverse'. It makes it easy to implement select-like functions in your own packages in a way that is consistent with other 'tidyverse' interfaces for selection.

Readme

tidyselect

Codecov test coverage CRAN status R build status

Overview

The tidyselect package is the backend of functions like dplyr::select() or dplyr::pull() as well as several tidyr verbs. It allows you to create selecting verbs that are consistent with other tidyverse packages.

  • To learn about the selection syntax as a user of dplyr or tidyr, read the user-friendly Selection language reference.

  • To learn how to implement tidyselect in your own functions, read the Get started vignette.

  • To learn exactly how the tidyselect syntax is interpreted, read the Technical descrition vignette.

Installation

tidyselect is on CRAN. You can also install the development version from github with:

# install.packages("remotes")
remotes::install_github("r-lib/tidyselect")

Functions in tidyselect

Name Description
everything Select all variables or the last variable
all_of Select variables from character vectors
poke_vars Replace or get current variables
one_of Superseded selection helpers
faq-external-vector FAQ - Note: Using an external vector in selections is ambiguous
peek_vars Peek at variables in the selection context
starts_with Select variables that match a pattern
tidyselect-package tidyselect: Select from a Set of Strings
language Selection language
reexports Objects exported from other packages
vars_pull Select variable
where Select variables with a function
vars_select Select or rename variables (questioning)
vars_select_helpers List of selection helpers
eval_rename Evaluate an expression with tidyselect semantics
faq-selection-context FAQ - Error: Must be used within a selecting function
No Results!

Vignettes of tidyselect

Name
syntax.Rmd
tidyselect.Rmd
No Results!

Last month downloads

Details

License GPL-3
Encoding UTF-8
LazyData true
ByteCompile true
RoxygenNote 7.1.0
URL https://tidyselect.r-lib.org, https://github.com/r-lib/tidyselect
BugReports https://github.com/r-lib/tidyselect/issues
VignetteBuilder knitr
NeedsCompilation yes
Packaged 2020-05-11 17:13:55 UTC; lionel
Repository CRAN
Date/Publication 2020-05-11 23:10:07 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/tidyselect)](http://www.rdocumentation.org/packages/tidyselect)