Download Japan prefecture map from e-Stat

download_stat_map(
  prefcode,
  exdir = ".",
  dest = TRUE,
  .survey_id = c("A002005212015")
)

Arguments

prefcode

The JIS-code for prefecture and city identical number. If prefecture, must be from 1 to 47.

exdir

The directory to extract files to (the equivalent of unzip -d). It will be created if necessary.

dest

If TRUE, to unzip downloaded files.

.survey_id

survey id (A00200521YYYY is small area, D00200521YYYY is did area)