create_output_table | R Documentation |
Currently 'html' and 'xlsx' are supported
create_output_table( comparison_output, output_type = "html", file_name = NULL, limit = 100, color_scheme = c(addition = "#52854C", removal = "#FC4E07", unchanged_cell = "#999999", unchanged_row = "#293352"), headers = NULL, change_col_name = "chng_type", group_col_name = "grp" )
comparison_output |
Output from the comparison Table functions |
output_type |
Type of comparison output. Defaults to 'html' |
file_name |
Where to write the output to. Default to NULL which output to the Rstudio viewer (not supported for 'xlsx') |
limit |
maximum number of rows to show in the diff. >1000 not recommended for HTML |
color_scheme |
What color scheme to use for the output. Should be a vector/list with
named_elements. Default - |
headers |
A character vector of column names to be used in the table. Defaults to |
change_col_name |
Name of the change column to use in the table. Defaults to |
group_col_name |
Name of the group column to be used in the table (if there are multiple grouping vars). Defaults to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.