get_data
Retrieve municipal data from Chile's SINIM system for specified variable codes and years. Filter by region or municipality, and optionally apply monetary correction to values.
Instructions
Fetch municipal data for one or more SINIM variables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | Yes | SINIM variable codes to fetch (find them with search_variables). | |
| years | Yes | Required years to include (e.g. [2022, 2023]). | |
| region | No | Region id to filter by (see list_municipios). Defaults to all regions. Mutually exclusive with `municipios`. | |
| corrmon | No | Whether to apply monetary correction (real pesos). Defaults to the server's client default (nominal). | |
| municipios | No | Municipality legal codes to keep (e.g. ["13101"]). Defaults to all ~345 municipalities. Mutually exclusive with `region`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |