score_cchip | R Documentation |
This function scores the Community Childhood Hunger Identification Project and provides an overall CCHIP Score and Food Insecurity Status
score_cchip(cchip_data, parID)
cchip_data |
a data.frame all items for the Community Childhood Hunger Identification Project 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: 'cchip#' where # is question number. For the Food and Brain Study, the 8 primary questions needed are: cchip1, cchip5, cchip9, cchip13, cchip17, cchip21, cchip25, and cchip29. Can be adapted to processes other data/studies in the future. 3) The primary indicatory questions must have the following numeric values: Yes - 1, No - 0
Note, as long as variable names match those listed, the dataset can include other variables
A dataset with scores for the Community Childhood Hunger Identification Project
Wehler CA, Scott RI, Anderson JJ. The community childhood hunger identification project: A model of domestic hunger—Demonstration project in Seattle, Washington. Journal of Nutrition Education. 1992;24(1):29S-35S. doi:10.1016/S0022-3182(12)80135-X
Raw data from Qualtrics was processed using the following script: util_fbs_parent_v4dat
# scoring for the cchip with IDs
cchip_score_data <- score_cchip(cchip_data, parID = 'ID')
## Not run:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.