Matches a column header against the internal name lexicon
(.name_lexicon) and returns the best-matching ontology class. This reaches
the metadata-gated classes that value detectors cannot – it reads the name,
not the data – so it is a suggestion, weaker than a value-signature match.
Value
A list with:
- guess
Best-matching class name, or
NA.- ontology
Named vector
c(data_type, data_subtype, data_class, data_format);data_formatis alwaysNA(a name implies no format).- confidence
The matched rule's confidence.
- candidates
Data frame of all matching rules, ranked by confidence.
- normalized
The normalized header actually matched against.