Having a dataframe like this:
df <- data.frame(id = c(1,2), date1 = c("Nov 2016 <U+2192> Current", "Nov 2016 <U+2192> Current"), date2 = c("Nov 2016 <U+2192> Current", "Nov 2016 <U+2192> Current"))
Is there any command to replace this character in the whole dataframe?
Example:
df <- gsub(' <U+2192> ', '-', df)
df$date1 <- gsub(' <U+2192> ', '-', df$date1)?dplyr:df %>% mutate(across(everything(), ~ gsub(' <U+2192> ', '-', ., fixed = TRUE)))