riycf
Utilities for Calculating Infant and Young Child Feeding Indicators
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.5%) to scientific vocabulary
Keywords
iycf
nutrition
survey
Last synced: 6 months ago
·
JSON representation
·
Repository
Utilities for Calculating Infant and Young Child Feeding Indicators
Basic Info
- Host: GitHub
- Owner: nutriverse
- License: gpl-3.0
- Language: R
- Default Branch: main
- Homepage: https://nutriverse.io/riycf/
- Size: 6.88 MB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 17
- Releases: 1
Topics
iycf
nutrition
survey
Created over 4 years ago
· Last pushed 12 months ago
Metadata Files
Readme
Changelog
License
Code of conduct
Citation
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# riycf: Utilities for Calculating Infant and Young Child Feeding Indicators
[](https://www.repostatus.org/#wip)
[](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[](https://github.com/nutriverse/riycf/actions/workflows/R-CMD-check.yaml)
[](https://github.com/nutriverse/riycf/actions/workflows/test-coverage.yaml)
[](https://app.codecov.io/gh/nutriverse/riycf?branch=main)
[](https://www.codefactor.io/repository/github/nutriverse/riycf)
[](https://zenodo.org/badge/latestdoi/410309510)
## What are the IYCF Indicators?
The first 1,000 days of life (from pregnancy to a child’s 2nd birthday) are critical for addressing childhood malnutrition, especially stunting. Infant and young child feeding practices (IYCF) largely overlap with this period as they cover breastfeeding and complementary feeding practices for the first two years of a child’s life. They also have a significant impact on childhood health, nutrition outcomes, and child survival. It is, therefore, critical for countries to measure IYCF practices as part of their efforts to monitor their progress toward Sustainable Development Goal 2. It is also important for development agencies to be able to monitor and evaluate their programs aimed at improving infant and young child feeding practices towards improved overall childhood nutrition.
WHO and UNICEF released the first IYCF indicators definition and measurement guidelines in 2008. In 2021, these guidelines were updated along with a revised standard questionnaire to capture the information required to calculate the updated IYCF indicators since the first initial publication. In general, the IYCF indicators can be categorized into three main categories: *(1) breastfeeding indicators*, *(2) complementary indicators*, and *(3) other indicators*.
## Why the {riycf} package?
Although the initial measurement guidelines were published in 2008 with many humanitarian organisations and country health ministries implementing these indicators, no comprehensive statistical programming package to calculate these indicators is yet available. Therefore, every time the researchers (or humanitarian organisations) are required to collect and analyse, they need a considerable amount of time to recode all the syntax (depending on which statistical program they are using). That is time-consuming work.
This `{riycf}` package aims to address that technical gap by providing an easy-to-use package of functions to calculate all IYCF indicators provided in the [WHO guidelines](https://www.who.int/publications/i/item/9789240018389). This include comprehensive guidelines for step-by-step usage of each automated function to analyse individual IYCF indicators using R.
## Installation
The `{riycf}` package is not yet available on [CRAN](https://cran.r-project.org) but can be installed via the [nutriverse R Universe](https://nutriverse.r-universe.dev):
```{r r-universe-install, eval = FALSE}
install.packages(
"riycf",
repos = c('https://nutriverse.r-universe.dev', 'https://cloud.r-project.org')
)
```
Current development version of `{riycf}` can also be installed using the `{pak}` package as follows:
```{r pak-install, eval = FALSE}
if (require("pak")) install.packages("pak")
pak::pak("nutriverse/riycf")
```
## How does the package work?
Based on the WHO guideline’s indicator definition, the `{riycf}` package functions will calculate all the IYCF indicators. Each `{riycf}` function will perform the following tasks.
### (Beneficial in) Data cleaning
Each IYCF package function will perform the data quality check to ensure all the required data (variables) were correctly constructed in the dataset. For example, the minimum meal frequency indicator analysis requires the following variables for data analysis: child age, breastfeeding status, and frequency of child feeding on the previous day. The child age and child meal frequency data should be present in the `numeric - integer` format, and the breastfeeding status should be coded as a binary true/false variable with yes = 1 and no = 0. The `{riycf}` package function will ensure that integer variables are actually integers and variables that need to be recoded into numeric scores are recoded accordingly.
### IYCF indicator generation
The indicator calculation process would continue if there were no issues with the data entry. The new IYCF indicator variables will be generated based on which indicators the user asks to calculate. For example, suppose the user wanted to calculate whether the beneficiaries meet the minimum meal frequency. In this case, the user can use the `get_mmf()` functions to create a new dichotomous variable that indicates whether each child met the minimum meal frequency. More sample codes from this package were present in each function documentation.
## Data collection with computer-assisted personal interviews (CAPI)
This package also provides the already programmed IYCF Questionnaires (based on WHO sample IYCF questionnaires) in XLS programming format. Detailed guidelines for accessing those forms are provided in the vignette article called "WHO IYCF Questionnaire XLS Forms." The different types of XLS programmed IYCF questionnaires can download on [this GitHub page](https://github.com/nicholustintzaw/iycf_xls_forms).
## Citation
If you use `{riycf}` in your work, please cite using the suggested citation provided by a call to the `citation` function as follows:
```{r cite}
citation("riycf")
```
## Community guidelines
Feedback, bug reports, and feature requests are welcome; file issues or seek support [here](https://github.com/nutriverse/riycf/issues). If you would like to contribute to the package, please see our [contributing guidelines](https://nutriverse.io/riycf/CONTRIBUTING.html).
This project is released with a [Contributor Code of Conduct](https://nutriverse.io/riycf/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.
Owner
- Name: nutriverse
- Login: nutriverse
- Kind: organization
- Location: Oxford, United Kingdom
- Website: https://nutriverse.io
- Repositories: 8
- Profile: https://github.com/nutriverse
Citation (CITATION.cff)
# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
cff-version: 1.2.0
message: 'To cite package "riycf" in publications use:'
type: software
license: GPL-3.0-or-later
title: 'riycf: Utilities for Calculating Infant and Young Child Feeding Indicators'
version: 0.1.0.9000
identifiers:
- type: url
value: https://github.com/nutriverse/riycf
abstract: 'This package aims to generate updated indicators to assess infant and young
child feeding (IYCF) practices at the individual under 2 years old children level.
The indicators were developed using the technical guideline from the Indicators
for assessing infant and young child feeding practices: definitions and measurement
methods <https://www.who.int/publications/i/item/9789240018389>.'
authors:
- family-names: Tint Zaw
given-names: Nicholus
email: nicholustintzaw@katilingban.io
- family-names: Guevarra
given-names: Ernest
email: ernest@guevarra.io
orcid: https://orcid.org/0000-0002-4887-4415
repository-code: https://github.com/nutriverse/mwana
url: https://nutriverse.io/riycf/
contact:
- family-names: Tint Zaw
given-names: Nicholus
email: nicholustintzaw@katilingban.io
references:
- type: software
title: 'R: A Language and Environment for Statistical Computing'
notes: Depends
url: https://www.R-project.org/
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2025'
version: '>= 2.10'
- type: software
title: rmarkdown
abstract: 'rmarkdown: Dynamic Documents for R'
notes: Suggests
url: https://pkgs.rstudio.com/rmarkdown/
repository: https://CRAN.R-project.org/package=rmarkdown
authors:
- family-names: Allaire
given-names: JJ
email: jj@posit.co
- family-names: Xie
given-names: Yihui
email: xie@yihui.name
orcid: https://orcid.org/0000-0003-0645-5666
- family-names: Dervieux
given-names: Christophe
email: cderv@posit.co
orcid: https://orcid.org/0000-0003-4474-2498
- family-names: McPherson
given-names: Jonathan
email: jonathan@posit.co
- family-names: Luraschi
given-names: Javier
- family-names: Ushey
given-names: Kevin
email: kevin@posit.co
- family-names: Atkins
given-names: Aron
email: aron@posit.co
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
- family-names: Cheng
given-names: Joe
email: joe@posit.co
- family-names: Chang
given-names: Winston
email: winston@posit.co
- family-names: Iannone
given-names: Richard
email: rich@posit.co
orcid: https://orcid.org/0000-0003-3925-190X
year: '2025'
doi: 10.32614/CRAN.package.rmarkdown
- type: software
title: knitr
abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
notes: Suggests
url: https://yihui.org/knitr/
repository: https://CRAN.R-project.org/package=knitr
authors:
- family-names: Xie
given-names: Yihui
email: xie@yihui.name
orcid: https://orcid.org/0000-0003-0645-5666
year: '2025'
doi: 10.32614/CRAN.package.knitr
- type: software
title: testthat
abstract: 'testthat: Unit Testing for R'
notes: Suggests
url: https://testthat.r-lib.org
repository: https://CRAN.R-project.org/package=testthat
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
year: '2025'
doi: 10.32614/CRAN.package.testthat
version: '>= 3.0.0'
- type: software
title: covr
abstract: 'covr: Test Coverage for Packages'
notes: Suggests
url: https://covr.r-lib.org
repository: https://CRAN.R-project.org/package=covr
authors:
- family-names: Hester
given-names: Jim
email: james.f.hester@gmail.com
year: '2025'
doi: 10.32614/CRAN.package.covr
- type: software
title: spelling
abstract: 'spelling: Tools for Spell Checking in R'
notes: Suggests
url: https://ropensci.r-universe.dev/spelling
repository: https://CRAN.R-project.org/package=spelling
authors:
- family-names: Ooms
given-names: Jeroen
email: jeroen@berkeley.edu
orcid: https://orcid.org/0000-0002-4035-0289
- family-names: Hester
given-names: Jim
email: james.hester@rstudio.com
year: '2025'
identifiers:
- type: url
value: https://docs.ropensci.org/spelling/
doi: 10.32614/CRAN.package.spelling
GitHub Events
Total
- Create event: 2
- Release event: 1
- Issues event: 71
- Issue comment event: 8
- Push event: 26
- Pull request event: 17
Last Year
- Create event: 2
- Release event: 1
- Issues event: 71
- Issue comment event: 8
- Push event: 26
- Pull request event: 17
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 31
- Total pull requests: 11
- Average time to close issues: 3 months
- Average time to close pull requests: 9 days
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.82
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 29
- Pull requests: 11
- Average time to close issues: 28 days
- Average time to close pull requests: 9 days
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.82
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- ernestguevarra (35)
Pull Request Authors
- ernestguevarra (10)
Top Labels
Issue Labels
documentation (15)
infrastructure (6)
ci/cd (4)
testing (3)
question (2)
enhancement (2)
bug (1)
Pull Request Labels
documentation (8)
ci/cd (3)
testing (3)
infrastructure (1)
enhancement (1)
Dependencies
DESCRIPTION
cran
- R >= 2.10 depends
- covr * suggests
- knitr * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v4 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/netlify.yaml
actions
- actions/checkout v4 composite
- nwtgck/actions-netlify v3.0 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- r-lib/actions/setup-tinytex v2 composite
.github/workflows/pkgdown.yaml
actions
- JamesIves/github-pages-deploy-action v4.5.0 composite
- actions/checkout v4 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml
actions
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- codecov/codecov-action v4 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite