﻿---
schema_version: 1
dataset_id: "hk-censtatd-tablechart-170-05017"
title: "Hong Kong Population - Table 170-05017 : Population Census - Median age of population by District Council district"
publisher: {"id":"hk-censtatd","name":"Census and Statistics Department","html_url":"/publishers/hk-censtatd/","markdown_url":"/publishers/hk-censtatd/index.md"}
categories: [{"id":"population","name":"Population","html_url":"/categories/population/","markdown_url":"/categories/population/index.md"}]
tags: []
resource_count: 9
metadata_modified: "2026-10-28T16:32:47.472215"
update_frequency: "As and when needed"
harvest_started: "2026-12-04T22:31:31.715Z"
license: null
source_url: "https://data.gov.hk/en-data/api/3/action/package_show?id=hk-censtatd-tablechart-170-05017"
html_url: "/datasets/hk-censtatd-tablechart-170-05017/"
json_url: "/datasets/hk-censtatd-tablechart-170-05017.json"
markdown_url: "/datasets/hk-censtatd-tablechart-170-05017.md"
---

# Hong Kong Population - Table 170-05017 : Population Census - Median age of population by District Council district

[← Text catalogue home](/index.md)

[HTML](/datasets/hk-censtatd-tablechart-170-05017/) · [JSON](/datasets/hk-censtatd-tablechart-170-05017.json) · [Markdown](/datasets/hk-censtatd-tablechart-170-05017.md)

[API resources](/datasets/hk-censtatd-tablechart-170-05017/resources.md?api=true) · [All resource links](/datasets/hk-censtatd-tablechart-170-05017/resources.md)

[Official metadata record](<https://data.gov.hk/en-data/api/3/action/package_show?id=hk-censtatd-tablechart-170-05017>)

## Description

Hong Kong Population \- Table 170\-05017 : Population Census \- Median age of population by District Council district

## API documentation

[API reference](</reference/?api=c-sd-web-table-api>)

[Source documentation](<https://www.censtatd.gov.hk/en/API_Guide.html>)

<details>
<summary>JSON and YAML</summary>

[JSON](</openapi/c-sd-web-table-api.json>) · [YAML](</openapi/c-sd-web-table-api.yaml>)

</details>

Table ID: ` 170-05017 ` · [Publisher request](<https://www.censtatd.gov.hk/api/get.php?id=170-05017&lang=en&full_series=1>)

[Table index and usage guide](/reference/c-sd-web-table-api/tables.md)


## Publisher documentation

- Data dictionary — [Official PDF](<https://www.censtatd.gov.hk/datagovhk/WT_data_dict_en.pdf>) · [API reference: APIs for C&amp;SD Web Tables](/reference/c-sd-web-table-api/) (Dataset context)

## Resources

These are upstream resource links from metadata. Resource contents and endpoint availability have not been verified here.

Known resource formats (publisher metadata): JSON, XLSX, CSV.

- [Table 170-05017 : Population Census - Median age of population by District Council district \[Simplified Chinese\]](<https://www.censtatd.gov.hk/api/get.php?id=170-05017&lang=sc&full_series=1>)

  Format: JSON

- [Table 170-05017 : Population Census - Median age of population by District Council district \[English\]](<https://www.censtatd.gov.hk/api/get.php?id=170-05017&lang=en&full_series=1>)

  Format: JSON

- [Table 170-05017 : Population Census - Median age of population by District Council district \[Traditional Chinese\]](<https://www.censtatd.gov.hk/tc/web_table.html?id=170-05017&full_series=1&download_excel=1>)

  Format: XLSX

- [Table 170-05017 : Population Census - Median age of population by District Council district \[Traditional Chinese\]](<https://www.censtatd.gov.hk/api/get.php?id=170-05017&lang=tc&full_series=1>)

  Format: JSON

- [Table 170-05017 : Population Census - Median age of population by District Council district \[Simplified Chinese\]](<https://www.censtatd.gov.hk/sc/web_table.html?id=170-05017&full_series=1&download_csv=1>)

  Format: CSV

- [Table 170-05017 : Population Census - Median age of population by District Council district \[English\]](<https://www.censtatd.gov.hk/en/web_table.html?id=170-05017&full_series=1&download_excel=1>)

  Format: XLSX

- [Table 170-05017 : Population Census - Median age of population by District Council district \[English\]](<https://www.censtatd.gov.hk/en/web_table.html?id=170-05017&full_series=1&download_csv=1>)

  Format: CSV

- [Table 170-05017 : Population Census - Median age of population by District Council district \[Traditional Chinese\]](<https://www.censtatd.gov.hk/tc/web_table.html?id=170-05017&full_series=1&download_csv=1>)

  Format: CSV

- [Table 170-05017 : Population Census - Median age of population by District Council district \[Simplified Chinese\]](<https://www.censtatd.gov.hk/sc/web_table.html?id=170-05017&full_series=1&download_excel=1>)

  Format: XLSX
