adminify_delim: Calculate administrative division codes using a delimiter.

Description Usage Arguments Value See Also

View source: R/neogeonames.R

Description

This function rotates the token vector, returning the result with the most results.

Usage

1
2
3
4
5
6
7
adminify_delim(
  query,
  delim = NA,
  admin = akac,
  n = 1,
  p = list(ignore.case = T)
)

Arguments

query

The place name query.

delim

The delimiter pattern.

admin

The admin codes to search.

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_tokens


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