city_coords: Longitude and Latitude for Cities

Description Usage Arguments Details Value References

Description

The UrlData object provides a resource 'CityCoordinates' that takes a city parameter and returns a two-valued vector with latitude and longitude.

Usage

1
city_coords(country = "DE")

Arguments

country

two-character country code, default 'DE'

Details

Based on Stackoverflow solution by Jochem Donkers.

Value

an object of class UrlData

References

Stackoverflow


datamart documentation built on May 2, 2019, 9:40 a.m.