load_dataset
Downloads and caches a CVM dataset or period locally, reusing fresh archives and building only missing partitions so SQL queries have the tables they need.
Instructions
Download and parse a dataset/period into the local cache.
This is the non-destructive counterpart of refresh_cache: it reuses
archives that are still fresh and only builds the partitions that are
missing. Call it before run_query so the SQL layer has the tables (and
periods) it needs, and use describe_dataset(detail=True) for column
meanings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | Optional table; omit for all tables in the dataset. | |
| period | No | Year (YYYY) or month (YYYYMM); comma-separated values are accepted. Defaults to the latest published period. Use '*' for every period. | |
| dataset | Yes | Dataset id from list_datasets, e.g. 'dfp', 'fi_inf_diario'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |