🧒🏽🇧🇷🍔🍟🍕🍫🍭🍬🍿🥤🍩🍪🍰🧃
This repository contains a data analysis exercise for the course An Introduction to the R Programming Language.
The report investigates differences in ultra-processed food consumption among Brazilian children aged 2 to 4 in 2022. The analysis focuses on clusters B and D of the Revised Multidimensional Index for Sustainable Food Systems (MISFS-R). You can view the full report here.
The analyses contained in the report are fully reproducible. They were made using the R programming language and the Quarto publishing system. The renv package was used to ensure that the R environment used can be restored (see renv.lock).
To reproduce the analyses do the following steps:
- Clone this repository.
- Open the R project in your IDE of choice.
- Run
renv::restore()to install all software dependencies. - Open
index.qmdand run the analyses.
The code in this repository is licensed under the MIT License, while the documents are available under the Creative Commons Attribution 4.0 International License.
To cite this work, please use the following format:
Vartanian, D., & Pereira, J. L. (2025). An introduction to the R programming language: Class exercise [Report]. Sustentarea Research and Extension Group at the University of São Paulo. https://danielvartan.github.io/r-course-exercise/
A BibTeX entry for LaTeX users is
@techreport{vartanian2025,
title = {An introduction to the R programming language: Class exercise},
author = {{Daniel Vartanian} and {Jaqueline Lopes Pereira}},
year = {2025},
address = {São Paulo},
institution = {Sustentarea Research and Extension Group at the University of São Paulo},
langid = {en},
url = {https://danielvartan.github.io/r-course-exercise/}
}
