The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Provides fast, in-memory reading of 'DATASUS' 'DBC' files, along with a catalog of public health data sources, 'FTP' file discovery, caching downloads, and a high-level datasus_fetch() function that lists, downloads, and reads files in a single call. The reader is the 'Rust' crate 'datasus-core', bundled with the package: it decodes 'PKWare DCL' compressed 'DBC' files with a port of the 'blast' decompressor from 'zlib' contrib/blast and parses 'DBF' records directly for efficient import into tibbles. See the 'DATASUS' file transfer site <https://datasus.saude.gov.br> and Adler (2003) <https://github.com/madler/zlib/tree/master/contrib/blast> for details on the underlying data and compression format.
| Version: | 0.2.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | cli, curl (≥ 5.0.0), dplyr (≥ 1.1.0), purrr, rlang (≥ 1.0.0), stringr, tibble, tidyr |
| Suggests: | knitr, pkgdown, rmarkdown, testthat (≥ 3.1.7) |
| Published: | 2026-11-18 |
| DOI: | 10.32614/CRAN.package.datasusr |
| Author: | André Leite datasusr author details |
| Maintainer: | André Leite <leite at castlab.org> |
| BugReports: | https://github.com/StrategicProjects/datasusr/issues |
| License: | MIT + file LICENSE |
| URL: | https://strategicprojects.github.io/datasusr/, https://github.com/StrategicProjects/datasusr |
| NeedsCompilation: | yes |
| SystemRequirements: | Cargo (Rust's package manager), rustc >= 1.81 |
| Language: | en-US |
| Materials: | README, NEWS |
| CRAN checks: | datasusr results |
| Reference manual: | datasusr.html , datasusr.pdf |
| Vignettes: |
Cache and downloads (source, R code) Comparison with healthbR and microdatasus (source, R code) Available data sources (source, R code) Getting started with datasusr (source, R code) Performance notes (source, R code) |
| Package source: | datasusr_0.2.0.tar.gz |
| Windows binaries: | r-devel: datasusr_0.2.0.zip, r-release: datasusr_0.2.0.zip, r-oldrel: datasusr_0.2.0.zip |
| macOS binaries: | r-release (arm64): datasusr_0.2.0.tgz, r-oldrel (arm64): datasusr_0.2.0.tgz, r-release (x86_64): datasusr_0.2.0.tgz, r-oldrel (x86_64): datasusr_0.2.0.tgz |
| Old sources: | datasusr archive |
| Reverse imports: | datasus |
Please use the canonical form https://CRAN.R-project.org/package=datasusr to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.