nearest_city: Gives the closest city and distance to a given location

Description Usage Arguments Value Examples

View source: R/interface-funcs.R

Description

Gives the closest city and distance to a given location

Usage

1
nearest_city(lat, lon)

Arguments

lat

the latitude position to search with

lon

the longitude position to search with

Value

A data frame with closest city name and distance(km)

Examples

1
nearest_city(lat = 37, lon = -120)

DeclanMolony/teleporrrt documentation built on May 12, 2020, 1:02 a.m.