View source: R/clean_readxl_backslashes.R
clean_readxl_backslashes | R Documentation |
clean_readxl_backslashes()
cleans extras backslashes that
readxl uses as escape characters when readxl reads in data. More
specifically, readxl converts double backslashes from readxl to the
actual R characters. See examples.
clean_readxl_backslashes(string)
string |
a character string |
A character string with the extra backslashes inserted by readxl removed.
## https://gist.github.com/ChandlerLutz/cca06fb35003713efae87c0322ac193e
## New line
clean_readxl_backslashes("\\n")
## soft hyphen
clean_readxl_backslashes("\\u00ad")
## en dash
clean_readxl_backslashes("\\u2013")
## em dash
clean_readxl_backslashes("\\u2014")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.