make_dl_button: Create HTML Download Button

View source: R/make_dl_button.R

make_dl_buttonR 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")

mlms documentation built on April 4, 2025, 4:43 a.m.