City area polygon data. When an administrative name (jis_code_city) or code (jis_code_city) is specified as an argument, the target city data is extracted. If neither is given, it becomes the data of the target prefecture.

jpn_cities(jis_code, admin_name)

Arguments

jis_code

jis code for prefecture and city identifical number. If prefecture, must be from 1 to 47. If city, range of 5 digits.

admin_name

administration name

Examples

jpn_cities(jis_code = "08", admin_name = intToUtf8(c(12388, 12367, 12400, 24066)))
#> Simple feature collection with 1 feature and 2 fields #> geometry type: POLYGON #> dimension: XY #> bbox: xmin: 139.9957 ymin: 35.94723 xmax: 140.1732 ymax: 36.23679 #> CRS: EPSG:4326 #> # A tibble: 1 x 3 #> city_code city geometry #> <chr> <chr> <POLYGON [°]> #> 1 08220 つくば市… ((140.06 36.23625, 140.0587 36.2257, 140.0826 36.22817, 140…
jpn_cities(jis_code = 33103)
#> Simple feature collection with 1 feature and 2 fields #> geometry type: MULTIPOLYGON #> dimension: XY #> bbox: xmin: 133.9838 ymin: 34.55698 xmax: 134.1228 ymax: 34.78308 #> CRS: EPSG:4326 #> # A tibble: 1 x 3 #> city_code city geometry #> <chr> <chr> <MULTIPOLYGON [°]> #> 1 33103 岡山市 東区… (((133.9958 34.61301, 133.9902 34.6159, 133.9857 34.6255,…
jpn_cities(jis_code = "33103")
#> Simple feature collection with 1 feature and 2 fields #> geometry type: MULTIPOLYGON #> dimension: XY #> bbox: xmin: 133.9838 ymin: 34.55698 xmax: 134.1228 ymax: 34.78308 #> CRS: EPSG:4326 #> # A tibble: 1 x 3 #> city_code city geometry #> <chr> <chr> <MULTIPOLYGON [°]> #> 1 33103 岡山市 東区… (((133.9958 34.61301, 133.9902 34.6159, 133.9857 34.6255,…
jpn_cities(jis_code = c(33103, 33104, 33205))
#> Simple feature collection with 3 features and 2 fields #> geometry type: MULTIPOLYGON #> dimension: XY #> bbox: xmin: 133.4448 ymin: 34.29839 xmax: 134.1228 ymax: 34.78308 #> CRS: EPSG:4326 #> # A tibble: 3 x 3 #> city_code city geometry #> <chr> <chr> <MULTIPOLYGON [°]> #> 1 33103 岡山市 東区… (((133.9958 34.61301, 133.9902 34.6159, 133.9857 34.6255,… #> 2 33104 岡山市 南区… (((133.9109 34.64388, 133.9131 34.64387, 133.9131 34.6382… #> 3 33205 笠岡市 (((133.5928 34.37392, 133.5942 34.37341, 133.5935 34.3721…
jpn_cities(jis_code = c(33103, 34107))
#> Simple feature collection with 2 features and 2 fields #> geometry type: MULTIPOLYGON #> dimension: XY #> bbox: xmin: 132.5102 ymin: 34.31324 xmax: 134.1228 ymax: 34.78308 #> CRS: EPSG:4326 #> # A tibble: 2 x 3 #> city_code city geometry #> <chr> <chr> <MULTIPOLYGON [°]> #> 1 33103 岡山市 東区… (((133.9958 34.61301, 133.9902 34.6159, 133.9857 34.6255… #> 2 34107 広島市 安芸区… (((132.518 34.36225, 132.5191 34.36498, 132.5152 34.3703…