View source: R/create_alias_mapping.R
Column names of data.frame in atable must have syntactically valid colnames,
So no blanks or special characters allowed.
But Reporting in human readable language needs special characters.
These functions here allow atable to handle arbitrary character for pretty printing.
Passed from and to other methods.
attributes here, to assign alternative names to columns.
labelled created by Hmisc's
label is supported.
create_alias_mapping for the function that does the actual work.
If no aliases are found, then underscores in the column names of
DD will be replaced by blanks.
See Examples in
create_alias_mapping returns a data.frame with two columns
as many rows as
DD has columns. Column
old contains the original column names of
DD and column
new their aliases.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.