Prefectures of Japan

From wikipedia

Japan is divided into 47 prefectures (Japanese: 都道府県, todōfuken, [todoːɸɯ̥ꜜkeɴ]), forming the country’s first level of jurisdiction and administrative division. They include 43 prefectures (県, ken, [keꜜɴ]) proper, two urban prefectures (府, fu, [ɸɯꜜ]; Osaka and Kyoto), one “circuit” or “territory” (道, dō, [doꜜː]; Hokkaido) and one “metropolis” (都, to, [toꜜ]; Tokyo). In 1868, the Meiji Fuhanken sanchisei administration created the first prefectures (urban -fu and rural -ken) to replace the urban and rural administrators (bugyō, daikan, etc.) in the parts of the country previously controlled directly by the shogunate and a few territories of rebels/shogunate loyalists who had not submitted to the new government such as Aizu/Wakamatsu. In 1871, all remaining feudal domains (han) were also transformed into prefectures, so that prefectures subdivided the whole country. In several waves of territorial consolidation, today’s 47 prefectures were formed by the turn of the century. In many instances, these are contiguous with the ancient ritsuryō provinces of Japan.[1]

Each prefecture’s chief executive is a directly elected governor (知事, chiji). Ordinances and budgets are enacted by a unicameral assembly (議会, gikai) whose members are elected for four-year terms.

Under a set of 1888–1890 laws on local government[2] until the 1920s, each prefecture (then only 3 -fu and 42 -ken; Hokkai-dō and Okinawa-ken were subject to different laws until the 20th century) was subdivided into cities (市, shi) and districts (郡, gun) and each district into towns (町, chō/machi) and villages (村, son/mura). Hokkaido has 14 subprefectures that act as General Subprefectural Bureaus (総合振興局, sōgō-shinkō-kyoku) and Subprefectural Bureaus (振興局, shinkō-kyoku) of the prefecture. Some other prefectures also have branch offices that carry out prefectural administrative functions outside the capital. Tokyo, the capital of Japan, is a merged city-prefecture; a metropolis, it has features of both cities and prefectures.

The data set is available in this link

www.kaggle.com/corochann/japan-prefecture-latitude-longitude

Load libraries

library(leaflet)
## Warning: package 'leaflet' was built under R version 4.0.3

Load the data set

Japan <- read.csv("C:\\Users\\dsanchezc\\Downloads\\japan_prefecture.csv")

View the data set

Japan
##    prefecture_en Latitude Longitude
## 1       Hokkaido 43.06417  141.3469
## 2         Aomori 40.82444  140.7400
## 3          Iwate 39.70361  141.1525
## 4         Miyagi 38.26889  140.8719
## 5          Akita 39.71861  140.1025
## 6       Yamagata 38.24056  140.3633
## 7      Fukushima 37.75000  140.4678
## 8        Ibaraki 36.34139  140.4467
## 9        Tochigi 36.56583  139.8836
## 10         Gunma 36.39111  139.0608
## 11       Saitama 35.85694  139.6489
## 12         Chiba 35.60472  140.1233
## 13         Tokyo 35.68944  139.6917
## 14      Kanagawa 35.44778  139.6425
## 15       Niigata 37.90222  139.0236
## 16        Toyama 36.69528  137.2114
## 17      Ishikawa 36.59444  136.6256
## 18         Fukui 36.06528  136.2219
## 19     Yamanashi 35.66389  138.5683
## 20        Nagano 36.65139  138.1811
## 21          Gifu 35.39111  136.7222
## 22      Shizuoka 34.97694  138.3831
## 23         Aichi 35.18028  136.9067
## 24           Mie 34.73028  136.5086
## 25         Shiga 35.00444  135.8683
## 26         Kyoto 35.02139  135.7556
## 27         Osaka 34.68639  135.5200
## 28         Hyogo 34.69139  135.1831
## 29          Nara 34.68528  135.8328
## 30      Wakayama 34.22611  135.1675
## 31       Tottori 35.50361  134.2383
## 32       Shimane 35.47222  133.0506
## 33       Okayama 34.66167  133.9350
## 34     Hiroshima 34.39639  132.4594
## 35     Yamaguchi 34.18583  131.4714
## 36     Tokushima 34.06583  134.5594
## 37        Kagawa 34.34028  134.0433
## 38         Ehime 33.84167  132.7661
## 39         Kochi 33.55972  133.5311
## 40       Fukuoka 33.60639  130.4181
## 41          Saga 33.24944  130.2989
## 42      Nagasaki 32.74472  129.8736
## 43      Kumamoto 32.78972  130.7417
## 44          Oita 33.23806  131.6125
## 45      Miyazaki 31.91111  131.4239
## 46     Kagoshima 31.56028  130.5581
## 47       Okinawa 26.21250  127.6811

Show the perfectures of Japan

leaflet() %>% addTiles() %>%
  addAwesomeMarkers(data=Japan, lat = ~Latitude, 
    lng = ~Longitude)