everyone: Select all authors or exclude some from a selection

View source: R/context-selectors.R

everyoneR Documentation

Select all authors or exclude some from a selection

Description

Selection helpers to use in conjonction with status setter methods (i.e. methods that assign a status to authors with either TRUE or FALSE):

  • everyone() select all authors.

  • everyone_but() [Deprecated] this function was deprecated as I believe it is not necessary since not more than a couple of authors should normally be given a particular status.

Usage

everyone()

everyone_but(...)

Arguments

...

One or more unquoted expressions separated by commas. Expressions matching values in the column defined by the by/.by parameters of ⁠set_*()⁠ methods are used to set a given status to authors. Matching of values is case-insensitive.

Examples

aut <- Plume$new(encyclopedists)

aut$set_corresponding_authors(everyone())
aut$get_plume() |> dplyr::select(1:3, corresponding)

plume documentation built on Sept. 12, 2024, 7:31 a.m.