| Title: | Japanese Prefectures |
|---|---|
| Description: | Provides Geometry Data of Japanese Prefectures and Layout Functions in 'ggplot2'. |
| Authors: | Mizuki Uchida [aut, cre] |
| Maintainer: | Mizuki Uchida <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.1.1 |
| Built: | 2026-07-14 04:41:37 UTC |
| Source: | https://github.com/UchidaMizuki/jpmap |
Deprecated functions
layout_islands(plot, ryukyu = TRUE, ogasawara = TRUE)layout_islands(plot, ryukyu = TRUE, ogasawara = TRUE)
plot |
A plot of ggplot2. |
ryukyu |
Include the Ryukyu Islands in the map? By default, 'TRUE'. |
ogasawara |
Include the Ogasawara Islands in the map? By default, 'TRUE'. |
Lay out the Japanese prefectures
layout_japan( plot, ryukyu = TRUE, ogasawara = TRUE, inset_rect = ggplot2::element_rect(fill = "transparent", color = "dimgray", linewidth = 0.5) )layout_japan( plot, ryukyu = TRUE, ogasawara = TRUE, inset_rect = ggplot2::element_rect(fill = "transparent", color = "dimgray", linewidth = 0.5) )
plot |
A plot of ggplot2. |
ryukyu |
Include the Ryukyu Islands in the map? By default, 'TRUE'. |
ogasawara |
Include the Ogasawara Islands in the map? By default, 'TRUE'. |
inset_rect |
An [ggplot2::element_rect()] that styles the border drawn around each inset. By default, a transparent rectangle with a '"dimgray"' border of line width '0.5'. |
A plot of ggplot2.
Japanese prefectures
prefectureprefecture
An object of class sf (inherits from tbl_df, tbl, data.frame) with 47 rows and 4 columns.
<https://CRAN.R-project.org/package=mapdata>