gen_input_map: Generate Shiny Inputs for a vector of identifiers

Description Usage Arguments Value Examples

View source: R/generate_inputs.R

Description

Generate Shiny Inputs for a vector of identifiers

Usage

1
gen_input_map(FUN, id_prefix, uid, ...)

Arguments

FUN

a ShinyInput function - should theoretically work for all shinyInput functions that have inputid as the first argument

id_prefix

a string that will be combined with the unique identifier and passed as the inputid

uid

a vector of unique identifiers

...

other arguments to be passed to the FUN

Value

a character vector of shinyInputs

Examples

1
gen_input_map(FUN = numericInput,id_prefix= 'itemprice_',uid = c(1,3,5,7),...)

tanho63/tanmisc documentation built on Aug. 9, 2021, 5:26 p.m.