jpn_pref: Simple features for prefecture area polygon

Description Usage Arguments Details Examples

Description

Prefecture polygon data.

Usage

1
2
3
4
5
6
7
jpn_pref(
  pref_code,
  admin_name,
  district = TRUE,
  download = FALSE,
  drop_sinkyokyoku = TRUE
)

Arguments

pref_code

jis code from 1 to 47

admin_name

prefecture names (string)

district

logical (default TRUE)

download

logical (default FALSE). IF TRUE, return raw data.

drop_sinkyokyoku

if TRUE, drop sichyo_sinkyokyoku variable (default TRUE)

Details

Collect unit of prefecture simple feature data.frame objects.. If download argument is TRUE, download administrative area data from the National Land Numeral Information Download Service (for law data).

Examples

1
2
3
4
5
## Not run: 
jpn_pref(pref_code = 33, district = FALSE)
jpn_pref(pref_code = 14, district = TRUE)

## End(Not run)

uribo/jpndistrict documentation built on Feb. 14, 2021, 9:48 a.m.