This repository provides a reproducible pipeline for processing DATASUS data on the Gini Index of per capita household income by Brazilian municipality for the years 1991, 2000, and 2010 (Instituto de Pesquisas Econômicas e Aplicadas, n.d.). The main goal is to provide an open and reliable workflow for processing these data, supporting research and informed public policy decisions.
You can access the pipeline here.
The processed data are available in both csv
and rds
formats via a dedicated repository on the Open Science Framework (OSF), accessible here. A metadata file is included alongside the validated data. You can also access these files directly from R using the osfr
package.
A backup copy of the raw data is also available in OSF. You can access it here.
The pipeline is fully reproducible. It was developed using the Quarto publishing system and the R programming language. To ensure consistent results, the renv
package is used to manage and restore the R environment.
After installing the three dependencies mentioned above, follow these steps to reproduce the analyses:
- Clone this repository to your local machine.
- Open the project in your preferred IDE.
- Restore the R environment by running
renv::restore()
in the R console. This will install all required software dependencies. - Open
index.qmd
and run the code as described in the report.
To cite this work, please use the following format:
Vartanian, D., & Carvalho, A. M. (2025). A reproducible pipeline for processing DATASUS data on the Gini Index of per capita household income by Brazilian municipality for the years 1991, 2000, and 2010 [Report]. Sustentarea Research and Extension Group at the University of São Paulo. https://sustentarea.github.io/datasus-gini-index
A BibTeX entry for LaTeX users is
@techreport{vartanian2025,
title = {A reproducible pipeline for processing DATASUS data on the Gini Index of per capita household income by Brazilian municipality for the years 1991, 2000, and 2010},
author = {{Daniel Vartanian} and {Aline Martins de Carvalho}},
year = {2025},
address = {São Paulo},
institution = {Sustentarea Research and Extension Group at the University of São Paulo},
langid = {en},
url = {https://sustentarea.github.io/datasus-gini-index}
}
This content is licensed under CC0 1.0 Universal, placing these materials in the public domain. You may freely copy, modify, distribute, and use this work, even for commercial purposes, without permission or attribution.
|
This work is part of the Sustentarea Research and Extension Group project: Global syndemic: The impact of anthropogenic climate change on the health and nutrition of children under five years old attended by Brazil's public health system (SUS). |
|
This work was supported by the Conselho Nacional de Desenvolvimento Científico e Tecnológico - Brazil (CNPq). |