Macau Indicator
macau_indicatorLatest published value (and, when a reliable match exists, recent history) for one of Macau's 143 DSEC key indicators. Pass either the numeric id from macau_indicators, or a name keyword (English, 中文 or Portuguese, e.g. "gross revenue of games of chance", "population", "turismo"). Always returns the current value with its reference period and unit; periods (default 24) additionally attempts a historical series by matching the indicator against DSEC's general statistics database — this succeeds for many series but not all (some key indicators, notably gaming revenue, exist only as a curated latest-value widget with no general-catalog counterpart), in which case history is null and history_note explains why. Sourced from DSEC's public TimeSeriesDatabase.asmx web service.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Numeric KeyIndicatorID from macau_indicators, e.g. 15 for "Gross revenue of games of chance". | |
| name | No | Indicator name or keyword, English/中文/Portuguese, e.g. "gaming revenue", "population". | |
| periods | No | How many historical periods to attempt to fetch when a general-catalog match is found (default 24). |