score_hfias | R Documentation |
This function scores the Household Food Insecurity Access Scale and provides an overall HFIAS Score and Food Insecurity Status
score_hfias(hfias_data, parID)
hfias_data |
a data.frame all items for the Household Food Insecurity Access Scale following the naming conventions described above |
parID |
(optional) name of participant ID column in intake_data. If included the output dataset will be matched by parID, if not included the output dataset will be in the order of intake_data but will have no participant identifier. |
To use this function, the data must be prepared according to the following criteria: 1) The data must include all individual questionnaire items 2) The columns/variables must match the following naming convention: 'hfias#' where # is question number (1-9 and 1a-9a). 3) Questions must have the numeric values for the choices. The options include: 3a) Yes - 1, No - 0, I don't know or Don't want to answer - 99 3b) Rarely - 1, Sometimes - 2, Often - 3, I don't know or Don't want to answer - 99
Note, as long as variable names match those listed, the dataset can include other variables
A dataset with scores for the Household Food Insecurity Access Scale
Coates J, Swindale A, Bilinsky P. Household Food Insecurity Access Scale (HFIAS) for measurement of food access: indicator guide: version 3. Published online 2007.
Raw data from Qualtrics was processed using the following script: util_fbs_parent_v4dat
# scoring for the hfias with IDs
hfias_score_data <- score_hfias(hfias_data, parID = 'ID')
## Not run:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.