geonamify: Calculate the 'geoname' rows.

Description Usage Arguments Value See Also

View source: R/neogeonames.R

Description

The function performs a case-insensitive search for matches to the asciiname column.

Usage

1
2
3
4
5
6
7
geonamify(
  query,
  dfgeo = neogeonames::geoname,
  where = NULL,
  n = 1,
  p = list(ignore.case = T)
)

Arguments

query

The place name query.

dfgeo

The data frame of geoname data.

where

The named vector of values analogous to the SQL "WHERE" clause.

n

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

p

The parameters for agrep.

Value

The rows or data.frame with 0 rows.

See Also

agrep


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