Get Indicator
get_indicatorFetch data values for an INE (Statistics Portugal) indicator. Pass the indicator code (varcd) and optionally a dims object mapping dimension slots ("Dim1","Dim2",...) to dimension-value codes to select a slice (codes come from indicator_meta). Omit a Dim slot to return all of its values. Requires varcd — INE has no keyword/search endpoint, so look the code up on https://www.ine.pt first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dims | No | Dimension selections, e.g. {"Dim1":"S7A2021","Dim3":"1"}. Keys are Dim1..DimN (matching the dim_num from indicator_meta); values are dimension-value codes. May also be passed as an array, treated as [Dim1, Dim2, ...]. | |
| lang | No | Response language. Default EN. | |
| varcd | Yes | INE indicator code (varcd), e.g. "0008273". INE has no keyword search API — find the varcd on https://www.ine.pt (BDDXplorer database browser) first. |