Package 'jpmap'

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

Help Index


Deprecated functions

Description

Deprecated functions

Usage

layout_islands(plot, ryukyu = TRUE, ogasawara = TRUE)

Arguments

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

Description

Lay out the Japanese prefectures

Usage

layout_japan(
  plot,
  ryukyu = TRUE,
  ogasawara = TRUE,
  inset_rect = ggplot2::element_rect(fill = "transparent", color = "dimgray", linewidth =
    0.5)
)

Arguments

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'.

Value

A plot of ggplot2.


Japanese prefectures

Description

Japanese prefectures

Usage

prefecture

Format

An object of class sf (inherits from tbl_df, tbl, data.frame) with 47 rows and 4 columns.

Source

<https://CRAN.R-project.org/package=mapdata>