View source: R/legg_til_sykehusnavn.R
legg_til_sykehusnavn | R Documentation |
Add hospital name as text string based on value of centreid
. New
variable is called sykehusnavn
. sykehusnavn
will overwrite
exising variable of same name.
legg_til_sykehusnavn(df, short = TRUE)
df |
data.frame with AblaNor data. Must contain |
short |
boolean. Short = TRUE gives short names, short = FALSE gives complete names. |
Returns df
with new one new column.
df <- data.frame(centreid = c(102966, 104284, 4214492, 700328, 4219765))
ablanor::legg_til_sykehusnavn(df = df, short = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.