R/text_sanitiser.R

Defines functions text_sanitiser

Documented in text_sanitiser

#' Strip line returns from text
#'
#' Strip line returns from text
#'
#' @param x text to strip out escapes etc
#' @export

text_sanitiser <- function(x) gsub("(\r)|(\n)|(\t)","",x)
jwallace-co/mwmi.govuk.scraper documentation built on Sept. 13, 2023, 7:33 a.m.