Applies every rule in polis_geo_name_fixes() whose field matches the
requested field, in table order, to a vector of names. Matching is literal
(not regex). NAs are preserved.
Usage
polis_fix_geo_names(x, field, fixes = polis_geo_name_fixes())Arguments
- x
A character vector of geographic names.
- field
Which rule set to apply:
"adm0_name","adm1_name"or"location".- fixes
The lookup table (default
polis_geo_name_fixes()). Pass a filtered/extended table to customise.
