This article will mainly demonstrate how the riycf
package’s function can apply to calculating minimum diet-related
indicators. According to the new WHO 2021 guideline, there are four
types of complementary feeding practice indicators related to minimum
diet requirements;
Firstly, load the required libraries for data analysis work. We will
use riycf package for the IYCF indicator generation
work.
For this guideline demonstration, we will use the sample dataset provided by the CARE Myanmar team on IYCF modules. A detailed description of the variable’s name and variable labels are mentioned in the documentation. Use the following syntax to check for the dataset description.
iycfData
#> # A tibble: 359 × 46
#> csex calc_age_months child_bf child_eibf child_eibf_hrs child_eibf_days
#> <int> <int> <int> <int> <int> <int>
#> 1 1 5 1 0 NA NA
#> 2 1 4 1 0 NA NA
#> 3 1 2 1 0 NA NA
#> 4 1 0 1 0 NA NA
#> 5 1 2 1 0 NA NA
#> 6 1 2 1 0 NA NA
#> 7 1 2 0 NA NA NA
#> 8 1 1 1 0 NA NA
#> 9 1 5 1 1 2 NA
#> 10 1 5 1 0 NA NA
#> # ℹ 349 more rows
#> # ℹ 40 more variables: bf_2days <int>, child_bfyest <int>, bf_bottle <int>,
#> # child_water <int>, child_bms <int>, child_bms_freq <int>, child_milk <int>,
#> # child_milk_freq <int>, child_milk_sweet <int>, child_mproduct <int>,
#> # child_mproduct_freq <lgl>, child_mproduct_sweet <lgl>,
#> # child_chocolate <int>, child_juice <int>, child_soda <int>,
#> # child_tea <int>, child_tea_sweet <int>, child_broth <int>, …This dataset contains 359 observations and 46 variables, and all variables were organized based on the WHO IYCF sample questionnaire. We tried to mention explicitly matching function inputs parameters and question numbers from the WHO IYCF sample question. If your dataset did not have the same variables as the WHO sample one, please apply the most relevant ones in the respective input parameter.