Description Usage Arguments Value Examples
Create standard compliant variable names.
1 | clean_names_swe(data = df, factor_to_string = TRUE, sep_cols = FALSE)
|
data |
A dataframe with non-standard names. |
factor_to_string |
Convert factors to string. |
sep_cols |
Seperate colums that contain both code and name into two variables. Only for downloaded SCB-data. |
A dataframe df
with standard names.
1 2 | df <- data.frame(ärVar = c(1:3), örÅr = c(4:6), region = c("0 Riket", "12 Skåne", "1280 Lund"))
clean_names_swe(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.