create_508_table: Create a 508-compliant HTML table from tabular data

Description Usage Arguments Value

Description

create_508_table returns an HTML string representing a 508-compliant version of the tabular data .data.

Usage

1
2
create_508_table(.data, table_id = "table", rownames_as_headers = FALSE,
  top_left_cell = NULL, summary_attr = NULL, caption = NULL)

Arguments

.data

A data frame

table_id

A string representing the id attribute of the resulting <table> node

rownames_as_headers

A boolean toggling whether to include row headers based on the rownames(.data)

top_left_cell

A string indicating value of top-left cell; used when rownames_as_headers if TRUE

summary_attr

A string used as the table's summary-attribute

caption

A string used to create a <caption> tag

Value

xml2 node containing <table>


balladeer/table508 documentation built on May 17, 2019, 6:39 p.m.