set.seed(71)
# Select prefecture or city code
administration_mesh(code = 33, type = "prefecture") %>%
sample(5)
## Simple feature collection with 98 features and 4 fields
## geometry type: POLYGON
## dimension: XY
## bbox: xmin: 133.25 ymin: 34.25 xmax: 134.5 ymax: 35.41667
## epsg (SRID): 4326
## proj4string: +proj=longlat +datum=WGS84 +no_defs
## First 10 features:
## lng_center lat_center meshcode lat_error
## 1 133.8125 34.62500 513376 0.04166667
## 2 133.9375 34.62500 513377 0.04166667
## 3 133.6875 34.70833 523305 0.04166667
## 4 133.8125 34.70833 523306 0.04166667
## 5 133.9375 34.70833 523307 0.04166667
## 6 133.6875 34.79167 523315 0.04166667
## 7 133.8125 34.79167 523316 0.04166667
## 8 133.9375 34.79167 523317 0.04166667
## 9 133.8125 34.87500 523326 0.04166667
## 10 133.9375 34.87500 523327 0.04166667
## geometry
## 1 POLYGON ((133.75 34.58333, ...
## 2 POLYGON ((133.875 34.58333,...
## 3 POLYGON ((133.625 34.66667,...
## 4 POLYGON ((133.75 34.66667, ...
## 5 POLYGON ((133.875 34.66667,...
## 6 POLYGON ((133.625 34.75, 13...
## 7 POLYGON ((133.75 34.75, 133...
## 8 POLYGON ((133.875 34.75, 13...
## 9 POLYGON ((133.75 34.83333, ...
## 10 POLYGON ((133.875 34.83333,...