city_coords: Longitude and Latitude for Cities

Description Usage Arguments Details Value References

View source: R/270_CityCoords.R

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


doomhammerhell/test-datamart documentation built on Dec. 20, 2021, 1:09 a.m.