simpleHtmlTable: Generate a minimal HTML table from a data frame This internal...

Description Usage Arguments Value

Description

Generate a minimal HTML table from a data frame

This internal function is used by as.response() to encode a data frame into its HTML representation. The encoding is intentionally very minimal. Richer encoding would require either a complicated function or importing a heavy-weight package.

Usage

1
simpleHtmlTable(dfrm, class = NULL, id = NULL)

Arguments

dfrm

a data frame

class

an optional CSS class for the table

id

an optional CSS ID for the table

Value

an HTML representation of a table (character)


nteetor/prairie documentation built on May 24, 2019, 9:56 a.m.