View source: R/indicators_foodsec.R
hhs | R Documentation |
HHS - Household Hunger Scale
hhs(
.tbl,
hhs_lev1_nofoodhh,
hhs_lev2_nofoodhh,
hhs_lev1_sleephungry,
hhs_lev2_sleephungry,
hhs_lev1_alldaynight,
hhs_lev2_alldaynight,
level1_codes,
level2_codes
)
.tbl |
Data |
hhs_lev1_nofoodhh |
Component column: No food of any kind in the house |
hhs_lev2_nofoodhh |
Follow-up frequency column |
hhs_lev1_sleephungry |
Component column: Go to sleep hungry because there was not enough food |
hhs_lev2_sleephungry |
Follow-up frequency column |
hhs_lev1_alldaynight |
Component column: Go a whole day and night without eating |
hhs_lev2_alldaynight |
Follow-up frequency column |
level1_codes |
Character vector of at least "Yes" and "No" codes (in this order), e.g. c("yes", "no") |
level2_codes |
Character vector of at least frequencies codes, in the following order: "Rarely", "Sometimes", "Often", e.g. c("rarely", "sometimes", "often") |
Five new columns: each component recoded hhs_comp1, hhs_comp2, hhs_comp3, the overall score (hhs_score) and categories (hhs_cat).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.