#' Sets locale to UTF-8 for working with czech characters
#'
#' @import tidyverse
#' @import readxl
#' @examples
#' set_cz()
#' @export
set_cz <- function(){
if (.Platform$OS.type == 'windows') {
Sys.setlocale(category = 'LC_ALL','English_United States.1250')
} else {
Sys.setlocale(category = 'LC_ALL','en_US.UTF-8')
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.