countrify: Calculate the 'country' row.

Description Usage Arguments Value See Also

View source: R/neogeonames.R

Description

The function performs a case-insensitive search for matches to ISO codes or country name. It also performs a fuzzy search using agrep as a fall back.

Usage

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

Arguments

query

The country query.

n

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

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.