canonical_field

Function canonical_field 

Source
pub fn canonical_field(
    name: &str,
    reference_data: &BTreeMap<&'static str, Variable<'static>>,
) -> Option<&'static str>
Expand description

Resolve a field name as the API does: case-insensitively, accepting synonyms (e.g. ebp_metric_date) and - in place of _.