get_datastructure
Retrieve a complete variable table for one analysis data structure, grouped by variable set and listing each variable's name, label, core, and datatype.
Instructions
获取单个分析数据结构的完整变量表:按变量集分组,每个变量一行 (name / label / core / datatype)。这是唯一带 core 与类型的整表来源, 问“ADSL 有哪些变量(含 Required/Permissible)”就用它。
默认返回紧凑表(已去掉每个变量的 description); 整包原始载荷很大,确有必要时再传 raw=true。
示例: standard='adamig', version='latest', datastructure='ADSL'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | true 时返回未经瘦身的原始 API 载荷(含 _links 等超媒体元数据);默认 false,返回已瘦身、更省 token 的响应 | |
| version | Yes | 版本号,支持 '1-3' 或 '1.3' 格式;传 'latest' 自动解析为该产品当前最新版本 | |
| standard | Yes | 标准名称: sdtm, sdtmig, sendig, adam, adamig, cdash, cdashig | |
| datastructure | Yes | 分析数据结构名,如 ADSL(受试者级分析数据集), BDS, OCCDS, TTE。大小写不敏感;不确定时先调 get_datastructures 看可用清单 |