Analyze PNAD Contínua ZIP Entry
ibge_microdata_pnadc_analyze_zipAnalyze PNAD Contínua microdata directly inside a local ZIP archive using a layout file, without extracting the full TXT. Use to summarize predefined variables and identify top-weighted brackets.
Instructions
Analyze a PNAD Contínua fixed-width TXT entry directly inside a local ZIP archive.
This is a PNAD-specific convenience helper for a small predefined set of variables and avoids extracting the full microdata TXT first. For custom public workflows, prefer converting selected variables to Parquet and using the generic query or weighted-distribution tools. Use it after downloading a PNAD ZIP and extracting or otherwise providing the official input layout when this predefined summary matches your task.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"layoutPath": "<layoutPath>",
"zipPath": "<zipPath>"
},
"name": "ibge_microdata_pnadc_analyze_zip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zipPath | Yes | Local path to a PNAD Contínua ZIP archive downloaded from IBGE. | |
| entryName | No | Exact ZIP entry name to analyze. If omitted, the first PNADC .txt entry is used. | |
| layoutPath | Yes | Local path to the PNAD Contínua SAS/TXT input layout file. | |
| topPercents | No | Top weighted-value brackets as fractions, e.g. [0.01, 0.05, 0.1]. |