Break down a List from a Checkbox Field to Onehot-Coded Values
Source:R/simplify_utilities.R
convert_to_onehot.RdThis function converts all checkboxes fields (except the ones
listed in the except-param) into "one-hot" coded list items.
Arguments
- resource
The resource to process (from an
idaifield_resources-list).- inputtypes
A matrix of fields with the given inputType as returned by
parse_field_inputtypes()- except
A vector of fieldnames that should be ignored.
See also
Needs output of:
parse_field_inputtypes()