The diagnostic companion to knbs_county_code(): one row per distinct
value of x, saying which county it matched, how, and — for a value that
matched nothing — the official name it most resembles, if any.
Usage
knbs_match_counties(
x,
vintage = 2019L,
cache = knbs_option("cache"),
refresh = FALSE
)Value
A tibble with columns input, geo_code, geo_name (the
official name), matched_by ("name", "number", "national", or
NA) and suggestion (for unmatched values only).
Examples
if (FALSE) { # interactive()
knbs_match_counties(c("Nairobi City County", "Kakamenga", "12"))
}