remove_whitespace {framecleaner}R Documentation

Remove Whitespace

Description

Remove whitespace from columns using a tidyselect specification.

Usage

remove_whitespace(.data, ...)

Arguments

.data

data frame

...

tidyselect specification (default selection: all character columns)

Value

data frame

Examples


tibble::tibble(a = c(" a ", "b ", " c")) -> t1

t1

t1 %>%
remove_whitespace()

[Package framecleaner version 0.2.1 Index]