nomis_get_data
Retrieve observations from Nomis datasets by specifying dataset ID and dimension codes.
Instructions
Retrieve observations from a Nomis dataset (simple JSON).
dimensions maps conceptref -> code(s), e.g.
{"geography": "2038432081", "sex": "5,6,7", "time": "latest",
"measures": "20100"}. Values may be comma-separated lists or Nomis
time syntax such as "latest" or "latestMINUS12-latest". measures
is usually required (20100 = value).
Returns flat records with named dimension values and the numeric obs_value, plus the record count. Use nomis_get_dataset and nomis_dimension_options / nomis_geography_search first to find the right codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| select | No | ||
| dataset_id | Yes | ||
| dimensions | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||