Learn R Programming

jpndistrict (version 0.3.7)

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)

# Refrenced by sf geometry
library(sf)
find_pref(geometry = st_point(c(136.6833, 35.05)))
# }

Run the code above in your browser using DataLab