Description Usage Arguments Examples
Make an HTML link to a table.
1 | table_link(x, text = "Table", filename = NULL)
|
x |
a dataframe or a character string indicating a file name. |
text |
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.