Skip to contents

Map variable names to their canonical names

Usage

canonical_variable(x, rules)

Arguments

x

Character vector of variable names as reported.

rules

Rules from read_rules().

Value

Character vector of canonical names (NA where unknown).