{"id":26842230,"url":"https://github.com/danielvartan/r-course-exercise","last_synced_at":"2026-02-12T02:22:45.977Z","repository":{"id":284911856,"uuid":"956357464","full_name":"danielvartan/r-course-exercise","owner":"danielvartan","description":"🏋️‍♂️ Exercise for the Course \"An Introduction to the R Programming Language\"","archived":false,"fork":false,"pushed_at":"2025-03-30T20:27:54.000Z","size":4585,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-22T12:23:05.635Z","etag":null,"topics":["brazil","children","data-report","data-science","misfs","nutrition","r-course","r-programming","rstats","sisvan","ultra-processed-foods"],"latest_commit_sha":null,"homepage":"https://danielvartan.github.io/r-course-exercise/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielvartan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-28T05:47:14.000Z","updated_at":"2025-10-11T17:21:53.000Z","dependencies_parsed_at":"2025-09-11T08:34:53.789Z","dependency_job_id":"2ed85c76-71f6-485c-9ad4-ca4c5b37bfa4","html_url":"https://github.com/danielvartan/r-course-exercise","commit_stats":null,"previous_names":["danielvartan/r-course-exercise"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/danielvartan/r-course-exercise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielvartan%2Fr-course-exercise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielvartan%2Fr-course-exercise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielvartan%2Fr-course-exercise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielvartan%2Fr-course-exercise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielvartan","download_url":"https://codeload.github.com/danielvartan/r-course-exercise/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielvartan%2Fr-course-exercise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29354848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"online","status_checked_at":"2026-02-12T02:00:06.911Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["brazil","children","data-report","data-science","misfs","nutrition","r-course","r-programming","rstats","sisvan","ultra-processed-foods"],"created_at":"2025-03-30T18:18:39.393Z","updated_at":"2026-02-12T02:22:45.970Z","avatar_url":"https://github.com/danielvartan.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# r-course-exercise\n\n\u003c!-- badges: start --\u003e\n[![Project Status: Inactive – The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows.](https://www.repostatus.org/badges/latest/inactive.svg)](https://www.repostatus.org/#inactive)\n[![DOI Badge](https://img.shields.io/badge/doi-10.5281/zenodo.18615610-1284C5.svg)](https://doi.org/10.5281/zenodo.18615610)\n[![FAIR checklist badge](https://img.shields.io/badge/fairsoftwarechecklist.net--00a7d9.png)](https://fairsoftwarechecklist.net/v0.2?f=21\u0026a=32113\u0026i=32300\u0026r=123)\n[![fair-software.eu](https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%E2%97%8F%20%E2%97%8F%20%E2%97%8F%20%E2%97%8B-yellow)](https://fair-software.eu)\n[![License: GPLv3](https://img.shields.io/badge/license-GPLv3-bd0000.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/license-CC_BY--NC--SA_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-sa/4.0/)\n[![Contributor Covenant 3.0 code of conduct badge](https://img.shields.io/badge/Contributor%20Covenant-3.0-4baaaa.svg)](https://www.contributor-covenant.org/version/3/0/code_of_conduct/)\n\u003c!-- badges: end --\u003e\n\n## Overview\n\nThis repository contains a data analysis exercise for the course [An Introduction to the R Programming Language](https://danielvartan.github.io/r-course/).\n\nThe analysis check for potential differences in ultra-processed food consumption among Brazilian children aged 2 to 4 in 2022 between municipalities in clusters B and D of the Revised Multidimensional Index for Sustainable Food Systems ([MISFS-R](https://doi.org/10.1002/sd.2376)).\n\nThe report is available [here](https://danielvartan.github.io/r-course-exercise/).\n\n\u003e [!IMPORTANT]\n\u003e **This exercise is for educational purposes only**.\n\u003e\n\u003e The data used in this exercise requires further cleaning and validation before it can be used in real-world applications. For the purposes of this analysis, the data is assumed to be valid, reliable, and to satisfy all assumptions underlying the statistical tests performed, even though this may not hold in practice.\n\u003e\n\u003e Please note that **the results of the statistical tests may not be valid** due to these simplifications.\n\u003e\n\u003e In real-world scenarios, always ensure that the assumptions of statistical tests are rigorously checked and validated before interpreting the results.\n\n## Usage\n\nThe pipeline was developed using the [Quarto](https://quarto.org/) publishing system, along with the [R](https://www.r-project.org/) programming language. To ensure consistent results, the [`renv`](https://rstudio.github.io/renv/) package was used to manage and restore the R environment.\n\nAfter installing the three dependencies mentioned above, follow these steps to reproduce the results:\n\n1. **Clone** this repository to your local machine.\n2. **Open** the project in your preferred [IDE](https://en.wikipedia.org/wiki/Integrated_development_environment).\n3. **Restore the R environment** by running [`renv::restore()`](https://rstudio.github.io/renv/reference/restore.html) in the R console. This will install all required software dependencies.\n4. **Open** `index.qmd` and run the code as described in the report.\n\n## Rendering\n\nAfter installing all dependencies (see the [Usage](#usage) section), run the following command in the terminal from the project's root directory:\n\n```bash\nquarto render\n```\n\nThis will start the rendering process. Once complete, the [Quarto](https://quarto.org/) document will be available in the [`docs`](docs) folder.\n\n## Contributing\n\n[![Contributor Covenant 3.0 code of conduct badge](https://img.shields.io/badge/Contributor%20Covenant-3.0-4baaaa.svg)](https://www.contributor-covenant.org/version/3/0/code_of_conduct/)\n\nContributions are always welcome! Whether you want to report bugs, suggest new features, or help improve the code or documentation, your input makes a difference.\n\nBefore opening a new issue, please check the [issues tab](https://github.com/danielvartan/r-course-exercise/issues) to see if your topic has already been reported.\n\n## Citation\n\n\u003c!-- [![DOI Badge](https://img.shields.io/badge/doi-10.5281/zenodo.18332665-1284C5.svg)](https://doi.org/10.5281/zenodo.18332665) --\u003e\n\nTo cite this work, please use the following format:\n\nVartanian, D. (2026). *An introduction to the R programming language: Class exercise* \\[Report\\]. Center for Metropolitan Studies, University of São Paulo.\n\nA BibLaTeX entry for LaTeX users is:\n\n```\n@report{vartanian2026,\n  title = {An introduction to the R programming language: Class exercise},\n  author = {{Daniel Vartanian}},\n  year = {2026},\n  address = {São Paulo},\n  institution = {Center for Metropolitan Studies, University of São Paulo},\n  langid = {en}\n```\n\n## License\n\n[![License: GPLv3](https://img.shields.io/badge/license-GPLv3-bd0000.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/license-CC_BY--NC--SA_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-sa/4.0/)\n\n\u003e [!IMPORTANT]\n\u003e The original data sources may be subject to their own licensing terms and conditions.\n\nThe code in this repository is licensed under the [GNU General Public License Version 3](https://www.gnu.org/licenses/gpl-3.0), while the report is available under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n\n```text\nCopyright (C) 2026 Daniel Vartanian\n\nThe code in this report is free software: you can redistribute it and/or\nmodify it under the terms of the GNU General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program. If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n```\n\n## Acknowledgments\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd width=\"30%\" align=\"center\" valign=\"center\"\u003e\n        \u003ca href=\"https://centrodametropole.fflch.usp.br\"\u003e\u003cimg src=\"images/cem-logo.svg\" width=\"190em\"/\u003e\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd width=\"70%\" valign=\"center\"\u003e\n      This work was developed with support from the Center for Metropolitan Studies (\u003ca href=\"https://centrodametropole.fflch.usp.br\"\u003eCEM\u003c/a\u003e) based at the School of Philosophy, Letters and Human Sciences (\u003ca href=\"https://www.fflch.usp.br/\"\u003eFFLCH\u003c/a\u003e) of the University of São Paulo (\u003ca href=\"https://usp.br\"\u003eUSP\u003c/a\u003e) and at the Brazilian Center for Analysis and Planning (\u003ca href=\"https://cebrap.org.br/\"\u003eCEBRAP\u003c/a\u003e).\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd width=\"30%\" align=\"center\" valign=\"center\"\u003e\n      \u003ca href=\"https://fapesp.br/\"\u003e\u003cimg src=\"images/fapesp-logo.svg\" width=\"160em\"/\u003e\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd width=\"70%\" valign=\"center\"\u003e\n      This work was financed, in part, by the São Paulo Research Foundation (\u003ca href=\"https://fapesp.br/\"\u003eFAPESP\u003c/a\u003e), Brazil. Process Number \u003ca href=\"https://bv.fapesp.br/en/bolsas/231507/geospatial-data-science-applied-to-food-policies/\"\u003e2025/17879-2\u003c/a\u003e.\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd width=\"30%\" align=\"center\" valign=\"center\"\u003e\n      \u003ca href=\"https://www.fsp.usp.br/sustentarea/\"\u003e\u003cimg src=\"images/sustentarea-logo.svg\" width=\"100\" alt=\"Sustentarea Logo\"/\u003e\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd width=\"70%\" valign=\"center\"\u003e\n      This work was developed with support from the \u003ca href=\"https://www.fsp.usp.br/sustentarea/\"\u003eSustentarea\u003c/a\u003e Research and Extension Group at the University of São Paulo (\u003ca href=\"https://usp.br/\"\u003eUSP\u003c/a\u003e).\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd width=\"30%\" align=\"center\" valign=\"center\"\u003e\n      \u003ca href=\"https://www.gov.br/cnpq/\"\u003e\u003cimg src=\"images/cnpq-logo.svg\" width=\"150em\"/\u003e\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd width=\"70%\" valign=\"center\"\u003e\n      This work was financed, in part, by the National Council for Scientific and Technological Development (\u003ca href=\"https://www.gov.br/cnpq/\"\u003eCNPq\u003c/a\u003e), Brazil. Process Number 383443/2024-5.\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielvartan%2Fr-course-exercise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielvartan%2Fr-course-exercise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielvartan%2Fr-course-exercise/lists"}