Learn R Programming

geonames (version 0.8)

General: General Queries

Description

Get topographic (height) information.

Usage

GNcountryCode(lat,lng,lang,radius)
GNcountryInfo(country,lang)
GNcities(north,east,south,west,lang,maxRows)
GNtimezone(lat,lng)

Arguments

lat
Decimal latitude. North is positive
lng
Decimal longitude. East is positive
radius
Search radius in km
lang
Language for internationalised returned text
country
Two-character country code
north,east,south,west
Decimal degree bounding box
maxRows
Limit on returned rows

Value

  • List or data frame objects with the query results.

Details

These functions query geonames for information about various things. See http://www.geonames.org/export/ws-overview.html for a full description of valid arguments and return values.