Get a Data Frame of Field inputTypes from the Project Configuration
Source:R/get_configuration.R
parse_field_inputtypes.RdExtracts the inputTypes of all fields defined in a project configuration
of an iDAI.field project and
returns them as a data.frame. Both supercategory and subcategory fields
are included. Fields inherited from parent categories without an explicit
inputType will appear as "NULL" in the inputType column.
Subfields of composite fields are currently not recorded here.
Arguments
- config
An
idaifield_configobject as returned byget_configuration().
Value
A data.frame with four columns:
- category
The (sub)category the field belongs to.
- parent
The supercategory, or the category itself if it is a supercategory.
- fieldname
The internal field name.
- inputType
The inputType string (e.g.
"text","checkboxes","dimension").
See also
get_configuration()to retrieve the configuration object.extract_inputtypes()for the underlying extraction logic.
Examples
if (FALSE) { # \dontrun{
conn <- connect_idaifield(pwd = "hallo",
project = "rtest")
config <- get_configuration(connection = conn)
input_type_df <- parse_field_inputtypes(config = config)
} # }