get_code_list
Retrieve a statistical code list by its ID: get valid variable values from valuesets (vs_*) or aggregation mappings from groupings (agg_*), in Norwegian or English. Find available code lists in table metadata.
Instructions
Fetch a code list (valueset or grouping).
Valuesets (vs_*): Lists of valid values for a variable. Groupings (agg_*): Aggregation mappings (e.g., municipality mergers).
Find available code lists in table metadata under 'codeLists'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Language - 'no' for Norwegian (default), 'en' for English. | no |
| code_list_id | Yes | Code list ID (e.g. 'vs_Fylker', 'agg_KommSummer'). |