Learn R Programming

jpndistrict (version 0.3.9)

find_pref: Detect prefecture by coordinates

Description

Detect prefecture by coordinates

Usage

find_pref(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_pref(longitude = 130.4412895, latitude = 30.2984335)

# Referenced by sf geometry
library(sf)
find_pref(geometry = st_point(c(130.4412895, 30.2984335)))
# }

Run the code above in your browser using DataLab