find_variable
Search BPS statistical variables by keyword to locate the correct variable ID, optionally filtered by domain or subject, for subsequent data retrieval.
Instructions
Search BPS data variables by keyword. Searches across all relevant subjects.
Usage examples:
find_variable(keyword="penduduk") → variables related to population
find_variable(keyword="kemiskinan", domain="3500") → poverty variables in East Java
find_variable(keyword="inflasi") → national inflation variables
After getting a var_id from this tool, use get_dynamic_data to retrieve the data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | BPS domain code. '0000'=national. Use resolve_domain if needed. | 0000 |
| keyword | Yes | Search keyword for variables (e.g. penduduk, kemiskinan, inflasi, pengangguran, PDRB) | |
| subject | No | Filter by subject ID (optional, use list_subjects to see available subjects) |