adminify_regexes: Calculate administrative division codes using a list of named...

Description Usage Arguments Value See Also

View source: R/neogeonames.R

Description

Only return a result if the all named patterns are found.

Usage

1
adminify_regexes(query, regexes, n = 1, p = list(ignore.case = T))

Arguments

query

The place name query.

regexes

The list of named regular expressions.

n

The number of allowable fuzzy search results before returning the top result, otherwise nothing.

p

The parameters for agrep.

Value

The list with "id" and "ac" atomic vectors consisting of the geonameid and administrative class division values or NA values if missing.

See Also

adminify_regex


dnanto/neogeonames documentation built on Sept. 21, 2020, 7:42 p.m.