extract_input: Extracts html id for data_extract_ui
Description
The data_extract_ui is located under extended html id. We could not use ns("original id")
for reference, as it is extended with specific suffixes.
Usage
extract_input(varname, dataname, filter = FALSE)
Value
a string
Arguments
varname
(character)
the original html id. This should be retrieved with ns("original id") in the UI function
or session$ns("original id")/"original id" in the server function.
dataname
(character) dataname from data_extract input.
This might be retrieved like data_extract_spec(...)[[1]]$dataname.
filter
optional, (logical)
if the connected extract_data_spec has objects passed to its filter argument