cbs_query_dataset
Query CBS datasets using OData filters and column selection. Returns CSV data with translated dimension values.
Instructions
Queries data from a dataset with optional filtering and column selection.
Args: params: QueryDatasetInput containing: - dataset_id (str): Dataset ID (e.g., '85313NED') - top (int): Number of records (default: 10) - skip (int): Records to skip (default: 0) - filter (str, optional): OData filter (e.g., "Perioden eq '2023JJ00'") - select (List[str], optional): Column names to return - compact (bool): Return summary for large results (default: True) - translate (bool): Translate coded dimension values to text (default: True)
Returns: str: CSV data with human-readable dimension values
Note: Use cbs_get_metadata with metadata_type="dimensions" to find filter codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | Input model for querying datasets. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |