Boundary Data for Japan Maps

Provides boundary 'GeoPackage' files used by the 'jpmap' package, including Japan prefecture example boundaries and official MLIT N03 administrative area data converted for 'jpmap'. Keeping these data in a separate package lets 'jpmap' update its functionality without repeatedly redistributing large boundary files on CRAN mirrors.


jpmapdata

jpmapdata contains boundary GeoPackage files used by jpmap.

The package is intentionally separate from jpmap so updates to map-drawing functionality do not require CRAN mirrors to store the same boundary data again.

install.packages("jpmapdata")
install.packages("jpmap")

library(jpmap)
plot_jpmap("prefecture")
plot_jpmap("municipality", include = "Okinawa")

The package currently includes:

  • jpmap_boundaries_2021.gpkg: Japan prefecture example boundaries.
  • jpmap_boundaries_2024_47.gpkg: official MLIT N03 2024 municipal boundaries for Okinawa Prefecture.

For all-prefecture municipal boundaries, use jpmap::jpmap_build_data() to build the national MLIT N03 file locally:

jpmap_build_data(year = 2024)

The national 2024 GeoPackage is very large, so it is not bundled in the first CRAN-facing jpmapdata package.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("jpmapdata")

0.1.0 by Yusaku Horiuchi, 3 months ago


https://github.com/yhoriuchi/jpmapdata


Report a bug at https://github.com/yhoriuchi/jpmapdata/issues


Browse source code at https://github.com/cran/jpmapdata


Authors: Yusaku Horiuchi [aut, cre]


Documentation:   PDF Manual  


CC BY 4.0 license


Suggests sf


See at CRAN