table_link: Make an HTML link to a table.

Description Usage Arguments Examples

Description

Make an HTML link to a table.

Usage

1
table_link(x, text = "Table", filename = NULL)

Arguments

x

a dataframe or a character string indicating a file name.

text

Examples

1
2
3
4
5
6
7
8
# embeds iris encoded in base64 and makes a link
table_link(iris, text="Iris")

# saves iris to a file (as tab-separated values) and makes a link
table_link(iris, text="Iris", filename="html_files/iris.tsv")

# includes a link to my_table.tsv
table_link("my_table.tsv", text="My table")

amar00k/UBIquitous documentation built on May 28, 2019, 3:34 p.m.