mod_launchModal_srv: launchModal Server Function

View source: R/mod_launchModal.R

mod_launchModal_srvR Documentation

launchModal Server Function

Description

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

Usage

mod_launchModal_srv(id, dat)

Arguments

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.

Value

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).


AARON-CLARK/shinyNewColumns documentation built on May 1, 2022, 8:02 p.m.