View source: R/mod_launchModal.R
mod_launchModal_srv | R Documentation |
launchModal Server Function waits for a button click, and then launches a large modal containing a savvy user interface to help users create new columns on the fly
mod_launchModal_srv(id, dat)
id |
standard parameter for shiny modules used to create namespaces and connect the UI module to the server module. |
dat |
a r data.frame you want users to derive a new column from and to. |
a list of reactive objects. The first object is the original data.frame in a reactive state (named 'data()'), which may contain a newly derived column if user successfully created derivation. Secondly, the list will also contain 'expr()' containing the 'dplyr::mutate()' expressions used to create said column(s).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.