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

View source: R/data_transforms.R

remove.escapes.spacesR Documentation

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

Description

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

Usage

remove.escapes.spaces(df)

Arguments

df

Data frame to remove tabs, new lines, and empty spaces from

Value

Data frame 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.df <- data.frame(service, description)
clean.df <- epair:::remove.escapes.spaces(og.df)
clean.df

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