View source: R/utils-multi-input.R
find_column_multi | R Documentation |
Get all arguments in a selected column that have multiple
arguments with find_column_multi()
. The output will be a character
type of arguments length. This can then can be used in find_column_multi_input()
function to get the value of the input as a list object. If you are only
interested in a specific argument among these arguments in the column,
then use find_column_multi_input_arg()
function. See example.
find_column_multi(spec = NULL, col = NULL, sep = c(",", "|", ":", ";", "&"))
find_column_multi_input(input = NULL)
find_column_multi_input_arg(input = NULL, arg = NULL)
spec |
Specifications data as a data.frame |
col |
Column name in the database table |
sep |
Symbols that separate these arguments eg. "," or ":" |
input |
Input argument(s) as a character vector |
arg |
Name of a specific argument in the column |
Output:
find_column_multi
gives a character vector of the
arguments that is separated with sep
argument
find_column_multi_input
gives a list of argument names and their values
find_column_multi_input_arg
gives a single object with value from the selected argument
Other input-argument functions:
find_column_input()
Other input-argument functions:
find_column_input()
Other input-argument functions:
find_column_input()
## Not run:
args <- find_column_multi(spec, "INNLESARG")
vals <- find_column_multi_input(args)
val <- find_column_multi_input_arg(args, "header")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.