find_variables
Search variable metadata by semantic English keywords to locate variables across surveys, sections, and levels. Provide several synonyms to match definitions, labels, and value labels.
Instructions
【找变量的主要工具】按语义搜索整个数据库的变量元数据(变量定义、问卷原文、变量标签、值标签)。 ★ 调用前必须把概念展开成多个英文同义词——元数据是英文的,中文关键词搜不到任何东西,而且同一概念在不同调查里叫法不同。 例:使用者问「有没有教育年限相关的变量」,应传 keywords=["education","schooling","grade","attainment","years attended","diploma","degree"],这样才能同时命中 years_attended_school 和 highest_education_level。 宁可多给同义词也不要少给。搜索自带词干还原,不必列单复数词形。第一次结果不理想就换一批同义词再搜,不要直接说没有。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | 限定层级:canonical(协调变量,最可靠)/ question(问卷原文)/ source(原始列) | |
| limit | No | 返回多少条 | |
| survey | No | 限定调查:cses / dhs / mng_hses / mng_lfs | |
| section | No | 限定 section,如 ED / WM / HO | |
| keywords | Yes | 英文同义词列表,3-10 个。必须是英文,可以是词组 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||