Remove tabs, new lines, and empty spaces from entries in a list
Source:R/data_transforms.R
list.remove.escapes.spaces.Rd
Remove tabs, new lines, and empty spaces from entries in a list
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
#> service
#> 1 Sign up
#> description
#> 1 Email will be sent to the registered\naddress from aqsdatamart@epa.gov.