Data used by the JapanData package. For more information about these datasets, see that repository. The original data sources and their licensing information are listed below.
Asanobu Kitamoto, ROIS-DS Center for Open Data in the Humanities, CC BY-SA 4.0.
Basic Register of Residents (住民基本台帳) via the Official Statistics Portal Site, CC BY 4.0 International.