extract_input {teal.modules.clinical}R Documentation

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)

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

(logical) optional,
if the connected extract_data_spec has objects passed to its filter argument

Value

a string

Examples

extract_input("ARM", "ADSL")


[Package teal.modules.clinical version 0.9.1 Index]