Canonicalise feature names accounting for aliases and character case
Source:R/resolve.R
resolve_feature_names.Rd
Names are resolved by checking for the first match using:
case sensitive match, then
case sensitive match using aliases, then
case insensitive match, then
case insensitive match using aliases.
Arguments
- feature_names
Character vector of feature names in the data.
- feature_type
Type of map feature. See
feature_types()
for a list of registered types.- unmatched
Controls behaviour when
feature_names
contains values that do not match registered feature names. Possible values are"error"
to throw an error or"pass"
to return the original values unaltered.