build_table_apply | R Documentation |
Convert an input dataframe of string columns into an HTML table
build_table_apply( df, df.names = names(df), tableClass = NULL, skipHeader = FALSE )
df |
Dataframe with string columns, used as input. |
df.names |
List of dataframe columns to include in output. |
tableClass |
value of class html attribute of table. Use to identify the table, apply CSS format. |
skipHeader |
If FALSE, add df.names as column names in output table. Otherwise, use first row as column names. |
A string with an HTML table
build_table_apply(tibble::tibble(x=c('hello','world'),y=c('1', '2')) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.