get_dataset_dimensions
List accepted filter dimensions and geography types for a NOMIS dataset, preventing rejected or ignored filters when fetching data.
Instructions
List the dimensions a dataset accepts as filters, and its geography types.
Essential before fetching. Dimensions vary per dataset: across NOMIS there are over 480 distinct dimension concepts, and only 'measures', 'freq' and 'geography' are near-universal. A filter this tool does not list will be rejected or silently ignored by fetch_data.
The returned 'geography_types' are the vintages available for this dataset, e.g. TYPE424 (local authorities as of April 2023) or TYPE151 (2021 LSOAs). Pick one, then pass it to search_codes to resolve an area name to a code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset_id | Yes | Dataset id from search_datasets, e.g. NM_1_1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||