Skip to contents

search geonames

Usage

GNsearch(...)

Arguments

...

search parameters

Value

matched records

Details

general search call

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

Author

Barry Rowlingson

Examples

if (FALSE) { # \dontrun{
# Find places called Lancaster and 'geocode' the result
(lanc_df <- GNsearch(name = "Lancaster", country = "UK"))
lanc_coords <- lanc_df[1, c("lng", "lat")]
} # }