Learn R Programming

jpndistrict (version 0.3.9)

find_city: Detect city by coordinates

Description

Detect city by coordinates

Usage

find_city(longitude, latitude, geometry = NULL, ...)

Arguments

longitude

longitude

latitude

latitude

geometry

XY sfg object

...

export parameter to other functions

Examples

Run this code
# NOT RUN {
find_city(longitude = 140.1137418, latitude = 36.0533957)

# Referenced by sf geometry
library(sf)
find_city(geometry = st_point(c(136.6833, 35.05)))
# }

Run the code above in your browser using DataLab