Raw Query
raw_queryRun read-only SQL SELECT queries on Malaysian statistics series data to retrieve raw table rows, including breakdowns not available through curated tools. Use when standard queries cannot access specific divisions or groups.
Instructions
Escape hatch for shapes the curated tools don't cover — e.g. a
division/sector/group breakdown a series' source table carries but no
registry entry filters to (get_series only ever returns the one row
per date the registry's filters picks out). Write a SELECT against
series (aliased to series_id's source Parquet); only read-only
single-statement SELECT/WITH queries are allowed, capped at row_limit
rows. Prefer get_series/compare_series/compute when they cover your
question — this bypasses the caveats, breaks, and warnings those
carry, since it returns raw table rows, not a curated response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| row_limit | No | ||
| series_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||