Skip to content

Repository files navigation

population_jp

日本語のREADMEはこちらです: README.ja.md

Population data for Japanese prefectures as of October 1, 2019. Sourced from official government statistics and provided in CSV, JSON, and NDJSON formats.

Data Files

The processed data is available in the root directory:

Data Schema

Each record contains the following fields:

Field Type Description
ISO3166-2 string The ISO 3166-2 code for the prefecture (e.g., "JP-13").
name string Prefecture name in English (e.g., "Tokyo").
name_jp string Prefecture name in Japanese (e.g., "東京都").
population_jp number Total population (including foreign residents).
population_jp_male number Total male population.
population_jp_female number Total female population.
population_jp_ja number Japanese national population.
population_jp_ja_male number Male Japanese national population.
population_jp_ja_female number Female Japanese national population.
lastUpdate string The date the population estimate was recorded (YYYY-MM-DD).

Regenerating Data

The data files are generated from org/05k01-2.csv using a Deno script.

Requirements:

To regenerate the files, run the following command from the project root:

deno run --allow-read --allow-write deno/make.js

This will overwrite the population_jp.csv, population_jp.json, and population_jp.ndjson files.

Data Source

The data is based on the following publication from the Statistics Bureau of Japan:

  • Source: 統計局ホームページ/人口推計/人口推計(2019年(令和元年)10月1日現在)‐全国:年齢(各歳),男女別人口 ・ 都道府県:年齢(5歳階級),男女別人口‐
  • URL: https://www.stat.go.jp/data/jinsui/2019np/index.html

This repository also contains an index.csv file that references data sources for other years.

License

MIT

About

日本の都道府県別人口推計

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages