Queria
データセットショーケースAI チャットエリア分析
⌘K
データセット一覧国立社会保障・人口問題研究所 将来推計人口
地域別将来推計人口4
  • 市区町村別 男女・5歳階級別 将来推計人口
  • 元のファイル
  • stg_population
  • stg_source_file
Queriaについて料金ジオコーダー法人名寄せ API利用規約プライバシーポリシー特定商取引法に基づく表記お問い合わせコミュニティ (Discord)オープンデータマップデータを公開・提供する方へ

© 2026 FLOPS

ipss/regional_projection/stg_population

説明

説明はありません

列

列はありません

種別
ビュー
ライセンス
  • 公共データ利用規約(第1.0版)
元データ
https://www.ipss.go.jp/pp-shicyoson/j/shicyoson23/t-page.asp
ソースコード
models/regional_projection/stg/stg_population.sql

SQL定義

select
    lpad(trim("コード"), 5, '0') as city_code,
    case trim("市などの別")
        when 'a' then 'prefecture'
        when '0' then 'ward'
        when '1' then 'designated_city'
        when '2' then 'city'
        when '3' then 'town_village'
        when '9' then 'region'
    end as area_level,
    trim("都道府県") as prefecture,
    nullif(trim("市区町村"), '') as city_and_county,
    cast(regexp_extract(trim("年"), '^([0-9]{4})年$', 1) as integer) as year,
    cast(columns('^(総数|男|女)/') as integer),
    source_sha256,
    source_sheet,
    cast(source_row as integer) as source_row
from "ipss"."regional_projection"."raw_population"
テーブル4ドキュメントレポート4リネージュ履歴イシュー変更リクエスト
queria/ipss国立社会保障・人口問題研究所 将来推計人口
スター1