GNsearch {geonames}R Documentation

search geonames

Description

search geonames

Usage

GNsearch(...)

Arguments

...

search parameters

Details

general search call

API doc for GNsearch is at http://www.geonames.org/export/geonames-search.html

Value

matched records

Author(s)

Barry Rowlingson

Examples

## Not run: 
# Find places called Lancaster and 'geocode' the result
(lanc_df <- GNsearch(name = "Lancaster", country = "UK"))
lanc_coords <- lanc_df[1, c("lng", "lat")]

## End(Not run)

[Package geonames version 0.999 Index]