Skip to content

⚖️ 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

License

Notifications You must be signed in to change notification settings

sustentarea/datasus-gini-index

Repository files navigation

datasus-gini-index

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. OSF DOI License: CC0-1.0

Overview

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.

Data Availability

OSF DOI

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.

How to Use

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:

  1. Clone this repository to your local machine.
  2. Open the project in your preferred IDE.
  3. Restore the R environment by running renv::restore() in the R console. This will install all required software dependencies.
  4. Open index.qmd and run the code as described in the report.

How to Cite

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}
}

License

License: CC0-1.0

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.

Acknowledgments



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).

About

⚖️ 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

Topics

Resources

License

Stars

Watchers

Forks