Nutrition & Health Sciences Doctoral Program, Laney Graduate School, Emory University, Atlanta, GA, United States.
Department of Population Science, American Cancer Society, Kennesaw, GA, United States.
Am J Clin Nutr. 2024 Nov;120(5):1165-1174. doi: 10.1016/j.ajcnut.2024.08.021. Epub 2024 Aug 23.
Few standardized and open-source tools exist for calculating multiple dietary pattern indexes from dietary intake data in epidemiological and clinical studies.
The primary aim is to develop and validate dietaryindex, a user-friendly and versatile R package that standardizes the calculation of dietary indexes.
Dietaryindex can calculate multiple dietary indexes of high interest in research, including the Healthy Eating Index (HEI)-2020, the Alternative HEI 2010, the Dietary Approaches to Stop Hypertension Index, the Alternate Mediterranean Diet Score, the Dietary Inflammatory Index, the American Cancer Society 2020 dietary index, and the Planetary Health Diet Index from the EAT-Lancet Commission. The package includes generic dietary index calculation functions that accept any dietary assessment with preprocessed serving sizes of food groups and nutrients as defined by the research group that developed each index. For ease of use and to eliminate any need for data preprocessing, dietaryindex also offers 1-step functions that directly reference common datasets and tools, including the National Health and Nutrition Examination Survey (NHANES), the Automated Self-Administered 24-h Dietary Assessment Tool (ASA24), the Diet History Questionnaire III (DHQ3), and the Block Food Frequency Questionnaire. At least 2 independent researchers validated the serving size definitions and scoring algorithms of dietaryindex.
In our validation process, dietaryindex demonstrated full accuracy (100%) in all generic functions with 2-decimal rounding precision when compared with hand-calculated results. Similarly, using NHANES 2017-2018 data and ASA24 and DHQ3 example data, the HEI-2015 outputs from dietaryindex aligned (99.95%-100%) with results using the Statistical Analysis System codes from the National Cancer Institute.
Dietaryindex is a user-friendly, versatile, and validated informatics tool for standardized dietary index calculations. We have open-sourced all validation files and codes with detailed tutorials on GitHub (https://github.com/jamesjiadazhan/dietaryindex).
在流行病学和临床研究中,用于从膳食摄入量数据计算多种饮食模式指数的标准化和开源工具很少。
主要目的是开发和验证 dietaryindex,这是一个用户友好且功能多样的 R 包,可标准化饮食指数的计算。
dietaryindex 可以计算多个高研究兴趣的饮食指数,包括健康饮食指数(HEI)-2020、替代 HEI-2010、阻止高血压的饮食方法、替代地中海饮食评分、饮食炎症指数、美国癌症协会 2020 饮食指数和 EAT-Lancet 委员会的行星健康饮食指数。该软件包包括通用饮食指数计算功能,可接受任何饮食评估,其中包含预先处理的食物组和营养素份量,这些份量由每个指数的研究小组定义。为了便于使用并消除任何数据预处理的需求,dietaryindex 还提供了 1 步功能,可直接引用常见的数据集和工具,包括国家健康和营养检查调查(NHANES)、自动自我管理 24 小时饮食评估工具(ASA24)、饮食史问卷 III(DHQ3)和布洛克食物频率问卷。至少有 2 位独立研究人员验证了 dietaryindex 的份量定义和评分算法。
在我们的验证过程中,dietaryindex 在所有通用功能中均具有 2 位小数舍入精度的 100%的完全准确性,与手动计算结果相比。同样,使用 NHANES 2017-2018 数据以及 ASA24 和 DHQ3 示例数据,dietaryindex 输出的 HEI-2015 结果与使用国家癌症研究所的统计分析系统代码的结果(99.95%-100%)一致。
dietaryindex 是一种用户友好、功能多样且经过验证的标准化饮食指数计算信息学工具。我们已在 GitHub(https://github.com/jamesjiadazhan/dietaryindex)上开源了所有验证文件和代码,并附有详细的教程。