Get Data
get_dataPull data from a table. Provide tableId and a "variables" map of {variableCode: valueOrValues}, using codes/ids from table_info. Each value may be a single id, an array of ids, or "*" for all. Omitted variables that allow elimination are aggregated to total. format "JSONSTAT" (default, structured JSON-stat) or "BULK"/"CSV" (semicolon-delimited text).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language: "en" (default) or "da". | |
| format | No | "JSONSTAT" (default), "BULK" or "CSV" (both return semicolon CSV). | |
| tableId | Yes | Table id, e.g. "FOLK1C". | |
| variables | Yes | Map of variable code -> value(s). Value is a string, an array of strings, or "*". Example: {"OMRÅDE":"000","Tid":["2024K1","2024K2"],"ALDER":"IALT"}. |