Produce a Matrix of Field inputTypes from the Custom Project Configuration
Source:R/get_configuration.R
get_field_inputtypes.Rd
This function retrieves a matrix containing the inputTypes of all custom fields from a project configuration of an iDAI.field project.
Arguments
- config
A configuration list as returned by
get_configuration()
- 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
remove_config_names()
.)- silent
TRUE/FALSE, default: FALSE. Should messages be suppressed?
See also
This function is used by:
simplify_idaifield()
.
Examples
if (FALSE) {
conn <- connect_idaifield(serverip = "127.0.0.1",
pwd = "hallo",
project = "rtest")
config <- get_configuration(connection = conn)
checkboxes <- get_field_inputtypes(config, inputType = "checkboxes")
}