Get Data
get_dataPull data for a cube as JSON-stat. Provide one selection per dimension, in the dimension order returned by dataset_dimensions. Each selection is either a single value code, a comma-separated list of codes (e.g. "SEX_M,SEX_F"), or the literal "all" for every value of that dimension. The number of selections must equal the cube's dimension count. Output is JSON-stat: value is the flat data array, dimension/size/id describe its shape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cube | Yes | Cube code, e.g. "as1001rs" (from list_datasets). | |
| lang | No | Label language (default "en"). | |
| selections | Yes | One entry per dimension, in dataset_dimensions order. Each is a value code, a comma-separated list of codes, or "all". Example for as1001rs: ["2024", "UKAZ01", "all"]. |