select_helpers: Select Helpers

select_helpersR Documentation

Select Helpers

Description

  • all_uppercase() select all columns with upper case names

  • all_lowercase() select all columns with lower case names

  • all_labelled() select all columns with a label attribute

Usage

all_uppercase()

all_lowercase()

all_labelled()

Examples

df <- data.frame(ONE = 1, two = 2)

df |> select(all_uppercase())
df |> select(all_lowercase())
df |>
  labelled::set_variable_labels(ONE = "First Column") |>
  select(all_labelled())

pcctc/croquet documentation built on Aug. 10, 2024, 7:04 a.m.