display_name | R Documentation |
This function provides a user-friendly name for a column based on a mapping table, if available.
display_name(col_name, mapping_table)
col_name |
A string specifying the name of the column. |
mapping_table |
A named list with as name the original colum name and as value the display name |
A string containing the user-friendly name for the column.
mapping <- list(
col1 = "Column 1",
col2 = "Column 2"
)
display_name("col1", mapping)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.