Abstract
BackgroundFew standardized and open-source tools exist for calculating multiple dietary pattern indexes from dietary intake data in epidemiological and clinical studies. ObjectivesThe primary aim is to develop and validate dietaryindex, a user-friendly and versatile R package that standardizes the calculation of dietary indexes. MethodsDietaryindex 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. ResultsIn 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. ConclusionsDietaryindex 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).
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.