Learn R Programming

jpndistrict (version 0.3.9)

find_prefs: Detect prefectures by coordinates

Description

Detect prefectures by coordinates

Usage

find_prefs(longitude, latitude, geometry = NULL)

Arguments

longitude

longitude

latitude

latitude

geometry

XY sfg object

Examples

Run this code
# NOT RUN {
find_prefs(longitude = 122.940625, latitude = 24.4520833334)
find_prefs(longitude = 140.1137418, latitude = 36.0533957)

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

Run the code above in your browser using DataLab