inst/shiny/modules/utils.R

#' Rectify special characters.
#' 
#' @param x character vector to work on
#' @export rectifySpecialChars
rectifySpecialChars <- function(x){
  x <- gsub('\u201E', '"', x)
  x <- gsub('\u201C', '"', x) 
  x
} 

Try the polmineR package in your browser

Any scripts or data that you put into this service are public.

polmineR documentation built on Nov. 2, 2023, 5:52 p.m.