make_dl_button {mlms}R Documentation

Create HTML Download Button

Description

Create a download button that exports the selected table data to a comma-separated values (CSV) file when clicked.

Usage

make_dl_button(table_id, ver = utils::packageVersion("mlms"))

Arguments

table_id

'character' string. Element identifier for the table widget.

ver

'package_version' or 'character' string. Version identifier inserted into the CSV file name.

Value

Returns an object of class 'shiny.tag'.

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center

Examples

html <- make_dl_button("test")

[Package mlms version 1.0.2 Index]