build_table_apply: Convert an input dataframe of string columns into an HTML...

build_table_applyR Documentation

Convert an input dataframe of string columns into an HTML table

Description

Convert an input dataframe of string columns into an HTML table

Usage

build_table_apply(
  df,
  df.names = names(df),
  tableClass = NULL,
  skipHeader = FALSE
)

Arguments

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.

Value

A string with an HTML table

Examples

build_table_apply(tibble::tibble(x=c('hello','world'),y=c('1', '2')) )


capelastegui/sfrpg documentation built on June 13, 2022, 1:38 a.m.