list.remove.escapes.spaces: Remove tabs, new lines, and empty spaces from entries in a...

View source: R/data_transforms.R

list.remove.escapes.spacesR Documentation

Remove tabs, new lines, and empty spaces from entries in a list

Description

Remove tabs, new lines, and empty spaces from entries in a list

Usage

list.remove.escapes.spaces(a.list)

Arguments

a.list

List to remove entries from.

Value

A list without tabs, new lines, and empty spaces

Examples

service <- c("Sign up")
description <- c("Email will\r\n\t\t\t\t\t\t\t be sent to the registered
address from aqsdatamart@epa.gov.")

og_list <- list("service" = service, "description" = description)
clean <- epair:::remove.escapes.spaces(og_list)
clean

GLOrozcoM/epair documentation built on July 28, 2022, 9:01 p.m.