Twinkle HubTwinkle Hub

22 縣市人口排行 (內政部戶政司每月統計)

tw_rt_county_population

氣象水情 · 同一族🇹🇼 台灣唯讀

關鍵字 / Keywords: 縣市人口 人口排名 人口排行 人口最多 人口最少 各縣市人口 人口數 戶政司 county population ranking Taiwan household registration

台灣 22 直轄市 / 縣市現住人口數(戶籍登記,月底),一次全部並依人口排序,附名次、男女、占全國比例與統計年月. 統計期別另附 data_period(與 tw_get_dataset 同格式;latest = 這份資料的統計年月,例 "2026-10").

Args: order: "desc" 人口多到少(預設)· "asc" 少到多. month: 統計年月,民國「11510」或西元「2026-10」. None=最新一個有資料的月份. limit: 回前幾名(預設 22 = 全部).

Source: 內政部戶政司 人口統計資料 API ODRP013(data.gov.tw 77145,村里資料依縣市加總). License: OGDL v1. 5-min cache(整月結果 24h).

參數

參數型別說明
orderstring—
monthstring—
limitinteger—
原始 JSON schema
{
  "properties": {
    "order": {
      "default": "desc",
      "title": "Order",
      "type": "string"
    },
    "month": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Month"
    },
    "limit": {
      "default": 22,
      "title": "Limit",
      "type": "integer"
    }
  },
  "title": "tw_rt_county_populationArguments",
  "type": "object",
  "additionalProperties": false
}

呼叫​方式

起手式——參數見上表
tw_rt_county_population({ order: "…" })