Update: add Japan prefecture map to jp-household

economics
R
Shiny
Author

Mitsuo Shiota

Published

August 27, 2020

I have added Japan prefecture map to “jp-household” and my Shiny app “City competition to consume”. To make the capital city represent each prefecture, I drop 5 non-capital cities.

I use shape data from NipponMap package, and refer to “13.19 Creating a Map from a Shapefile” in “R Graphics Cookbook, 2nd edition” by Winston Chang.

This kind of visualization helps us understand which region tends to consume more or less of certain items. For example, go to my Shiny app, select item level 5, and select item 282 納豆 (fermented soybeans). You can see the western region consumes less, and the eastern region consumes more in 2019. Select different year between 2007 and 2019, you will see this pattern is pretty consistent.

I am now wondering if and how I can quantify this consistency by each item.