From c32827b468b4c147432f54d6f518522f96515063 Mon Sep 17 00:00:00 2001 From: Nicklas Hafiz Date: Wed, 15 Jan 2025 18:07:44 +0100 Subject: [PATCH] Add unicode for ndash --- R/utils.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/utils.R b/R/utils.R index 73ec6b86..aa88b245 100644 --- a/R/utils.R +++ b/R/utils.R @@ -677,7 +677,7 @@ filter_years <- function(dat, years) { #' #' @examples # tbd process_bundesland <- function(eatPlot_dat, column = "TR_BUNDESLAND"){ - eatPlot_dat[, column] <- gsub("([a-z])([A-Z])", "\\1-\\2", eatPlot_dat[, column]) + eatPlot_dat[, column] <- gsub("([a-z])([A-Z])", "\\1\uad\\2", eatPlot_dat[, column]) eatPlot_dat[, column] <- gsub("ue", "\u00fc", eatPlot_dat[, column] ) return(eatPlot_dat)