Skip to main content

japandata

PyPI

japandata is a python library that provides easy access to detailed geographic data about Japan.

japandata.maps

National, prefectural, and municipal topojson maps from 1920 to today.

from japandata.maps import load_map

prefecture_map = load_map(date=2022, scale='jp_pref', quality='coarse')

See notebooks/maps.ipynb to understand the different types of maps that can be loaded.

japandata.population

National, prefectural, and municipal demographic data annually from 1967.

from japandata.population.data import japan_pop, pref_pop, city_pop,
                                      japan_age, pref_age, city_age
  • japan_pop, pref_pop, city_pop: Contain data on total population, gender split, number of households, births, deaths, and migrations, for Japanese and non-Japanese residents.
  • japan_age, pref_age, city_age: Contain age distributions split by gender for Japanese and non-Japanese residents.

See notebooks/population.ipynb for example uses of this dataset.

japandata.indices

Fiscal health indices for municipal and prefectural governments annually from 2005. These indices are used to e.g. determine fiscal transfers between municipalities.

from japandata.indices import city, pref, prefmean

city covers municipal governments, pref covers prefectural governments, and prefmean provides weighted means of municipal indices grouped by prefecture.

See notebooks/indices.ipynb for example uses of this dataset.

japandata.readings

Kana and romaji pronunciation information for Japanese place names.

from japandata.readings import city_names, pref_names

See notebooks/readings.ipynb for code to integrate this information with the maps.

Installation

$ pip install japandata

Licenses

  • Code: MIT
  • Data: Noted above

Release files for japandata 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for japandata 0.5.2
File Size Uploaded
japandata-0.5.2.tar.gz 16.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for japandata 0.5.2
File Interpreter ABI Platform
japandata-0.5.2-py3-none-any.whl Python 3 none any Details

Total release size:35.2 kB

Release files / japandata-0.5.2.tar.gz

Download URL japandata-0.5.2.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
09989f5513d53bf19eef26bd296a4db5d99d17908bf12794c9920a6b97a2823d
BLAKE2b-256 checksum
How to use checksums
f6ca4b9bb962fedcb2ca60f73f36abb1b3b22478b8dafe1a1e547b057f65d84f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release files / japandata-0.5.2-py3-none-any.whl

Download URL japandata-0.5.2-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a53bb4f1eecd427850c856693a2cab95a24715e2c323f25f732d6ad4ca866da
BLAKE2b-256 checksum
How to use checksums
259415dcecd1016311b10dd071ab63252f575c93ec87796a772cea9fafb3970b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page