View source: R/get_configuration.R
get_field_inputtypes | R Documentation |
This function retrieves a matrix containing the inputTypes of all custom fields from a project configuration of an iDAI.field project.
get_field_inputtypes(
config,
inputType = "all",
remove_config_names = TRUE,
silent = FALSE
)
config |
A configuration list as returned
by |
inputType |
If specified, matrix is filtered to return only the specified type. |
remove_config_names |
TRUE/FALSE: Should the name of the project be
removed from field names of the configuration? (Default is TRUE.)
(Should e.g.: test:amount be renamed to amount,
see |
silent |
TRUE/FALSE, default: FALSE. Should messages be suppressed? |
A matrix of fields (with the given inputType).
get_configuration()
, convert_to_onehot()
This function is used by: simplify_idaifield()
.
## Not run:
conn <- connect_idaifield(serverip = "127.0.0.1",
pwd = "hallo",
project = "rtest")
config <- get_configuration(connection = conn)
checkboxes <- get_field_inputtypes(config, inputType = "checkboxes")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.