datacaged: CAGED Microdata Download and Storage in 'DuckDB'

Tools to download, parse, and store Brazilian CAGED (Cadastro Geral de Empregados e Desempregados) microdata using 'DuckDB'. Supports both legacy CAGED (pre-2020), Novo CAGED (2020+), and adjustment files, enabling efficient local storage and analysis workflows. Data is sourced from the HuggingFace repository <https://huggingface.co/datasets/alexsandroprado/caged>.

Version: 0.2.1
Depends: R (≥ 4.2.0)
Imports: archive, cli, DBI, dplyr, duckdb, future, furrr, glue, httr2 (≥ 1.0.0), progressr, purrr, readr (≥ 2.1.0), stringr, tibble, tools, utils
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, dbplyr
Published: 2026-09-09
DOI: 10.32614/CRAN.package.datacaged (may not be active yet)
Author: Alexsandro Prado ORCID iD [aut, cre]
Maintainer: Alexsandro Prado <alexsandro.prado at ufersa.edu.br>
BugReports: https://github.com/gecomt/datacaged/issues
License: MIT + file LICENSE
URL: https://github.com/gecomt/datacaged
NeedsCompilation: no
SystemRequirements: 7-Zip (optional, required for PPMd-compressed files from CAGED antigo and CAGED Ajustes)
Citation: datacaged citation info
Materials: NEWS
CRAN checks: datacaged results

Documentation:

Reference manual: datacaged.html , datacaged.pdf
Vignettes: Casos de Uso: Análise do Mercado de Trabalho (source, R code)
Introdução ao datacaged (source, R code)
Introduction to datacaged (source, R code)
Full Pipeline with DuckDB (source, R code)
Pipeline Completo com DuckDB (source, R code)
Use Cases: Labour Market Analysis (source, R code)

Downloads:

Package source: datacaged_0.2.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=datacaged to link to this page.