Skip to contents

Calculate the AHEI dietary index for the Block FFQ (2013) per 1 day

Usage

AHEI_BLOCK(RAW_DATA)

Arguments

RAW_DATA

The raw data file that includes results and raw responses of the dietary assessment

Value

The AHEI and its component scores. Sodium is energy adjusted: sodium_serv/(total kcal / 1000)

Examples

data("BLOCK_exp")
AHEI_BLOCK(BLOCK_exp)
#> # A tibble: 5 × 15
#>   RESPONDENTID GENDER AHEI_ALL AHEI_NOETOH AHEI_VEG AHEI_FRT AHEI_WGRAIN
#>          <dbl>  <dbl>    <dbl>       <dbl>    <dbl>    <dbl>       <dbl>
#> 1            1      1     48.1        45.6    1.58     3.69        5.01 
#> 2            2      1     33.5        31.0    0.695    0.527       0.794
#> 3            3      1     49.1        39.1    3.94     2.63        5.89 
#> 4            4      1     47.1        44.6    1.79     5.39        5.17 
#> 5            5      1     52.5        50.0    6.06     9.18        3.94 
#> # ℹ 8 more variables: AHEI_NUTSLEG <dbl>, AHEI_N3FAT <dbl>, AHEI_PUFA <dbl>,
#> #   AHEI_SSB_FRTJ <dbl>, AHEI_REDPROC_MEAT <dbl>, AHEI_TRANS <dbl>,
#> #   AHEI_SODIUM <dbl>, AHEI_ALCOHOL <dbl>