get_territorial_codes
Look up Thai administrative codes for regions, provinces, or districts by name substring. Obtain codes to use in subsequent data queries.
Instructions
Look up Thai geography codes used by the AREA / CWT dimensions: level='region' (CL_AREA), 'province' (CL_CWT, 77 changwat), or 'district' (CL_AMPHOE). Filter by 'name' (Thai or English substring). Use this to find codes before calling get_data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Place-name substring (Thai or English). | |
| level | No |