heiscore.data
The heiscore.data package contains the dietary recall data used by the heiscore package. The datasets include National Health and Nutrition Examination Survey (NHANES) data converted to Food Patterns Equivalents Database components. Additionally, this package contains the Healthy Eating Index (HEI) scoring standards that the heiscore package uses to calculate HEI scores using three distinct methods prescribed by the National Cancer Institute.
This package contains the following datasets:
fped_0506: data from the 2005-06 NHANES cyclefped_0708: data from the 2007-08 NHANES cyclefped_0910: data from the 2009-10 NHANES cyclefped_1112: data from the 2011-12 NHANES cyclefped_1314: data from the 2013-14 NHANES cyclefped_1516: data from the 2015-16 NHANES cyclefped_1718: data from the 2017-18 NHANES cyclefped_1720: data from the 2017-March 2020 Pre-pandemic NHANES cycleHEI_scoring_standards: standards to achieve the maximum component HEI scores for individuals ages 2 years or olderHEI_scoring_standards_toddlers: standards to achieve the maximum component HEI scores for individuals ages 12 through 23 months
Installation
# Install the heiscore package from CRAN
install.packages("heiscore.data")Example
Import a dataset from the heiscore.data package.
library(heiscore.data)
data('fped_0708')