#' @export
mutate_sjhdata <- function(x, ...) {
x <- x %>%
dplyr::rename(
sjukhus = sjukhusnamn,
region_sjh_txt = region
) %>%
dplyr::mutate(
sjukhuskod = as.integer(sjukhuskod),
sjukhus = dplyr::if_else(
sjukhus %in% c("Enhet utan INCA-rapp", "VC/Tjänsteläkare"), NA_character_, sjukhus
)
)
return(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.