filter_data
Extract a subset of raw survey data for specific variables with optional filtering, enabling custom analysis and inspection of values.
Instructions
Extract a subset of raw data for specific variables.
Args: variables: List of variable names to include (e.g., ["sexo", "educ", "ingc_pc"]). filter: Optional filter expression (e.g., "sexo == 2 and cohorte == 1"). limit: Maximum number of rows to return (default: 20, max: 100). dataset: Which dataset to use (default: entrevistado).
Returns a markdown table with the requested data. Use this to inspect raw values or extract data for custom analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variables | Yes | ||
| filter | No | ||
| limit | No | ||
| dataset | No | entrevistado |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |