An Interface to DATASUS System

It allows the user to retrieve the data from the systems of DATASUS (SUS IT department related to the Brazilian Ministry of Health, see < http://datasus.saude.gov.br/informacoes-de-saude/tabnet/> for more information) much in the same way that is done in the online portal. For now the package allows access to the SINASC and SIM's (ICD-10) systems, that is, the 'Estatísticas Vitais'.


datasus

CRAN_Status_Badge CRAC_Downloads

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:

install.packages("datasus")

or the development version from github

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:

sim_obt10_mun(linha = "Microrregião IBGE",
              coluna = "Capítulo CID-10")

To more examples, see the vignette "Introduction to datasus".

News

datasus 0.4.0

  • 9 new functions related to he SIM's database.
  • Better filter handling

datasus 0.1.0

  • Initial version

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("datasus")

0.4.1 by Renato Prado Siqueira, a month ago


http://github.com/rpradosiqueira/datasus


Report a bug at http://github.com/rpradosiqueira/datasus/issues


Browse source code at https://github.com/cran/datasus


Authors: Renato Prado Siqueira [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports dplyr, httr, magrittr, RCurl, readr, rvest, stringi, stringr, xml2

Suggests knitr, rmarkdown


See at CRAN