Censtatd Get Table
censtatd_get_tableFetch a Hong Kong Census & Statistics Department statistical table as structured JSON (time series of {period, sv (measure), svDesc, figure} plus any dimension code/Desc columns). By default returns the FULL series (full_series=1) — reliable and keyless, no encoded param needed. Use this for HK GDP, employment earnings, trade, prices, money/financial-market stats, etc. Table ids look like '310-31001' (GDP) or '340-46001' (exchange rates); find ids with censtatd_search_tables. Optionally pass param — the opaque lz-string blob copied from the table's API Example box on censtatd.gov.hk — to fetch a filtered subset instead of the full series (we cannot generate this blob for you).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Table id, e.g. '310-31001' (GDP), '340-46001' (exchange rates). | |
| lang | No | Description language: en, tc (traditional), sc (simplified). Default en. | |
| param | No | OPTIONAL opaque lz-string param copied from the C&SD web_table "API Example" box. When provided, full_series is disabled and only the encoded selection is returned. Cannot be hand-constructed; omit it to get the full series. |