cbs_save_dataset
Download and save a CBS dataset to a CSV file. Specify dataset ID, file name, and optionally set record limits or fetch all records with translated values.
Instructions
Saves a dataset to a CSV file.
Args: params: SaveDatasetInput containing: - dataset_id (str): Dataset ID (e.g., '85313NED') - file_name (str): File name to save the dataset - top (int): Records per request (default: 1000) - skip (int): Records to skip (default: 0) - fetch_all (bool): Fetch all records with pagination (default: False) - translate (bool): Translate coded values to text (default: True)
Returns: str: Success message with file path and record count
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | Input model for saving datasets. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |