https://github.com/rpradosiqueira/datasus
A R Interface to the DATASUS's data
https://github.com/rpradosiqueira/datasus
api brasil brazil datasus health-data
Last synced: 6 months ago
JSON representation
A R Interface to the DATASUS's data
- Host: GitHub
- URL: https://github.com/rpradosiqueira/datasus
- Owner: rpradosiqueira
- Created: 2017-06-12T01:52:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-11T11:50:46.000Z (over 1 year ago)
- Last Synced: 2025-04-10T21:13:58.275Z (6 months ago)
- Topics: api, brasil, brazil, datasus, health-data
- Language: R
- Size: 216 KB
- Stars: 30
- Watchers: 6
- Forks: 11
- Open Issues: 4
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
output: github_document
---# datasus
[](https://CRAN.R-project.org/package=datasus)
[](https://CRAN.R-project.org/package=datasus)The "datasus" R package seeks to provide direct access to the data of TABNET/DATASUS
within the R environment much in the same way that is done in the online portal. For now
the package allows access to the systematic record of mortality and survival data
(Vital Statistics - Mortality and Live Births) through SIM and SINASC's systems## Installation
Install the release version from CRAN:
```{r , eval = FALSE}
install.packages("datasus")
```or the development version from github
```{r , eval = FALSE}
# install.packages("devtools")
devtools::install_github("rpradosiqueira/datasus")
````## Example
In this example we will download the last mortality data for the IBGE's micro-region where the micro-regions are in the rows and the ICD-10 chapters in the columns:
```{r, eval = FALSE}
sim_obt10_mun(linha = "Microrregião IBGE",
coluna = "Capítulo CID-10")```
To more examples, see the vignette ["Introduction to datasus"](https://CRAN.R-project.org/package=datasus/vignettes/Introduction_to_datasus.html).