View source: R/make_dl_button.R
make_dl_button | R Documentation |
Create a download button that exports the selected table data to a comma-separated values (CSV) file when clicked.
make_dl_button(table_id, ver = utils::packageVersion("mlms"))
table_id |
'character' string. Element identifier for the table widget. |
ver |
'package_version' or 'character' string. Version identifier inserted into the CSV file name. |
Returns an object of class 'shiny.tag'.
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
html <- make_dl_button("test")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.